Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SpeedShift,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",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.001527/0.001527, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.5703, allocations: 140.4 MB / 0.9493 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003433/0.5738, allocations: 2.032 MB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00255/0.5763, allocations: 2.477 MB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/0.5764, allocations: 2.312 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009772/0.5774, allocations: 481.2 kB / 0.9541 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.5775, allocations: 49.67 kB / 0.9542 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.5784, allocations: 249.6 kB / 0.9544 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.5787, allocations: 332.8 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.5789, allocations: 104.2 kB / 0.9548 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.579, allocations: 98.5 kB / 0.9549 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.5792, allocations: 134.8 kB / 0.955 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.5792, allocations: 8.281 kB / 0.9551 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.5796, allocations: 322.8 kB / 0.9554 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.5797, allocations: 102.3 kB / 0.9555 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.5799, allocations: 198 kB / 0.9557 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.5805, allocations: 0.7694 MB / 0.9564 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5805, allocations: 1.75 kB / 0.9564 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5805, allocations: 0 / 0.9564 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.5805, allocations: 7.938 kB / 0.9564 GB, free: 3.836 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008285/0.5814, allocations: 0.8362 MB / 0.9572 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5814, allocations: 9.625 kB / 0.9572 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.5815, allocations: 42.86 kB / 0.9573 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.5815, allocations: 59.69 kB / 0.9573 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.5818, allocations: 361 kB / 0.9577 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.5818, allocations: 4.5 kB / 0.9577 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.5819, allocations: 13.34 kB / 0.9577 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.5821, allocations: 132.5 kB / 0.9578 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5821, allocations: 0 / 0.9578 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.5821, allocations: 5.344 kB / 0.9578 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.5821, allocations: 6.859 kB / 0.9578 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.5823, allocations: 94.53 kB / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006377/0.583, allocations: 0.5396 MB / 0.9585 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.5832, allocations: 109.6 kB / 0.9586 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.5833, allocations: 61.81 kB / 0.9586 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.5834, allocations: 8.875 kB / 0.9586 GB, free: 2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.5836, allocations: 140.2 kB / 0.9588 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.5836, allocations: 1.062 kB / 0.9588 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004415/0.584, allocations: 305.3 kB / 0.959 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.5841, allocations: 83.67 kB / 0.9591 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007809/0.5849, allocations: 0.7611 MB / 0.9599 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.5849, allocations: 26.77 kB / 0.9599 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.5851, allocations: 275.6 kB / 0.9602 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.5851, allocations: 24.8 kB / 0.9602 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.5852, allocations: 35.14 kB / 0.9602 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.5852, allocations: 311.3 kB / 0.9605 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.5853, allocations: 44.98 kB / 0.9606 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.5854, allocations: 51.28 kB / 0.9606 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.5855, allocations: 159.5 kB / 0.9608 GB, free: 424 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5855, allocations: 1.344 kB / 0.9608 GB, free: 424 kB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003672/0.5859, allocations: 258.7 kB / 0.961 GB, free: 276 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.5859, allocations: 36.59 kB / 0.961 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.5859, allocations: 1.125 kB / 0.961 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.586, allocations: 0 / 0.961 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.586, allocations: 11.38 kB / 0.9611 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.5861, allocations: 1.062 kB / 0.9611 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.5862, allocations: 16.36 kB / 0.9611 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.5862, allocations: 12.59 kB / 0.9611 GB, free: 216 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.000272/0.5865, allocations: 338.8 kB / 0.9614 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.5866, allocations: 58.94 kB / 0.9615 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.587, allocations: 293.8 kB / 0.9617 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.587, allocations: 0 / 0.9617 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.587, allocations: 1.188 kB / 0.9617 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.587, allocations: 0 / 0.9617 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.5874, allocations: 373.5 kB / 0.9621 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5874, allocations: 3.938 kB / 0.9621 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.5875, allocations: 10.25 kB / 0.9621 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5875, allocations: 0 / 0.9621 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.5875, allocations: 7.688 kB / 0.9621 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.5875, allocations: 0 / 0.9621 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5875, allocations: 1.125 kB / 0.9621 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.5879, allocations: 313.2 kB / 0.9624 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.5881, allocations: 144.6 kB / 0.9626 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/0.5882, allocations: 3.688 kB / 0.9626 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.5884, allocations: 10.78 kB / 0.9626 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.5885, allocations: 7.766 kB / 0.9626 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.5885, allocations: 4.438 kB / 0.9626 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007468/0.5893, allocations: 0.5637 MB / 0.9631 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.884e-06/0.5893, allocations: 1.125 kB / 0.9631 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004299/0.5897, allocations: 125.1 kB / 0.9633 GB, free: 14.74 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0009192/0.5906, allocations: 0.9402 MB / 0.9642 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.5909, allocations: 212.2 kB / 0.9644 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5909, allocations: 1.156 kB / 0.9644 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.5911, allocations: 145 kB / 0.9645 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.5916, allocations: 97.72 kB / 0.9646 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.5969, allocations: 4.695 MB / 0.9692 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.5976, allocations: 0.9695 MB / 0.9701 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.348e-05/0.5977, allocations: 19.28 kB / 0.9702 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.5978, allocations: 151.4 kB / 0.9703 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of SimCode: time 2.034e-06/0.5978, allocations: 0 / 0.9703 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04036/0.6382, allocations: 11.05 MB / 0.9811 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.6384, allocations: 219.8 kB / 0.9813 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.613, allocations: 0 / 0.9813 GB, free: 0.8477 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)