Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 195.9 kB / 16.53 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.1 MB / 222.4 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.518/1.518, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 72.52 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1834, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003597/0.1871, allocations: 2.098 MB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002719/0.1898, allocations: 2.477 MB / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.711e-05/0.1899, allocations: 0 / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.191, allocations: 0.4941 MB / 0.7884 GB, free: 8.25 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1913, allocations: 119.4 kB / 0.7886 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.1918, allocations: 209.3 kB / 0.7888 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1921, allocations: 350.4 kB / 0.7891 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1923, allocations: 68.7 kB / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1924, allocations: 119.5 kB / 0.7893 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1926, allocations: 139.2 kB / 0.7894 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.1926, allocations: 8 kB / 0.7894 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1928, allocations: 67.89 kB / 0.7895 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1929, allocations: 123.5 kB / 0.7896 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1931, allocations: 222.5 kB / 0.7898 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.1936, allocations: 0.6695 MB / 0.7905 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1936, allocations: 7.938 kB / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1937, allocations: 0 / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1937, allocations: 0 / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009931/0.1947, allocations: 0.8641 MB / 0.7913 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1947, allocations: 8.031 kB / 0.7913 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.1947, allocations: 42.67 kB / 0.7914 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.1948, allocations: 68.09 kB / 0.7914 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.1952, allocations: 428 kB / 0.7918 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1953, allocations: 11.94 kB / 0.7918 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.1953, allocations: 4 kB / 0.7918 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1955, allocations: 100.2 kB / 0.7919 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1955, allocations: 0 / 0.7919 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1955, allocations: 7.984 kB / 0.7919 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1955, allocations: 0 / 0.7919 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1956, allocations: 43.92 kB / 0.792 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.1963, allocations: 0.5044 MB / 0.7925 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.1966, allocations: 106.6 kB / 0.7926 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.62e-05/0.1967, allocations: 36.88 kB / 0.7926 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1967, allocations: 0 / 0.7926 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.1969, allocations: 87.36 kB / 0.7927 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1969, allocations: 0 / 0.7927 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003684/0.1973, allocations: 196.8 kB / 0.7929 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.1973, allocations: 106.8 kB / 0.793 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008955/0.1982, allocations: 0.8872 MB / 0.7939 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1983, allocations: 29.7 kB / 0.7939 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.1985, allocations: 300.1 kB / 0.7942 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.1985, allocations: 23.64 kB / 0.7942 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.1986, allocations: 25.72 kB / 0.7942 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.1987, allocations: 310 kB / 0.7945 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.1988, allocations: 31.98 kB / 0.7945 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.1989, allocations: 72.27 kB / 0.7946 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.199, allocations: 73.94 kB / 0.7947 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.199, allocations: 3.938 kB / 0.7947 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002383/0.1993, allocations: 160.9 kB / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1993, allocations: 8.031 kB / 0.7948 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1993, allocations: 0 / 0.7948 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1993, allocations: 4 kB / 0.7949 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.1994, allocations: 28.05 kB / 0.7949 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1994, allocations: 4 kB / 0.7949 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1995, allocations: 15.83 kB / 0.7949 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1995, allocations: 0 / 0.7949 GB, free: 1.344 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002596/0.1998, allocations: 317.4 kB / 0.7952 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.1999, allocations: 63.28 kB / 0.7953 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-05/0.2, allocations: 81.98 kB / 0.7953 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2, allocations: 3.938 kB / 0.7953 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2, allocations: 0 / 0.7953 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2, allocations: 0 / 0.7953 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.2003, allocations: 385.3 kB / 0.7957 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2003, allocations: 0 / 0.7957 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/0.2004, allocations: 11.98 kB / 0.7957 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2004, allocations: 0 / 0.7957 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2004, allocations: 0 / 0.7957 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2004, allocations: 3.938 kB / 0.7957 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2004, allocations: 11.94 kB / 0.7957 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.2007, allocations: 188.3 kB / 0.7959 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.2008, allocations: 140.2 kB / 0.7961 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.2009, allocations: 0 / 0.7961 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.201, allocations: 7.938 kB / 0.7961 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.201, allocations: 11.98 kB / 0.7961 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.201, allocations: 4 kB / 0.7961 GB, free: 44 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006759/0.2017, allocations: 0.6629 MB / 0.7967 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2017, allocations: 0 / 0.7967 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002619/0.202, allocations: 52 kB / 0.7968 GB, free: 15.33 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/0.2033, allocations: 1.055 MB / 0.7978 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.2035, allocations: 79.91 kB / 0.7979 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2035, allocations: 0 / 0.7979 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.812e-05/0.2036, allocations: 43.97 kB / 0.7979 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/0.2042, allocations: 145.5 kB / 0.7981 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/0.209, allocations: 4.817 MB / 0.8028 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.2094, allocations: 0.9743 MB / 0.8037 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.2096, allocations: 46.27 kB / 0.8038 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.2098, allocations: 175.3 kB / 0.8039 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2098, allocations: 0 / 0.8039 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.898/2.108, allocations: 12.32 MB / 0.816 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/14.34, allocations: 12 kB / 0.816 GB, free: 11.96 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)