Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.607/1.607, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 180.8 kB / 361.4 MB, free: 6.867 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008463/0.0008461, allocations: 92.16 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.669e-05, allocations: 4 kB / 0.8519 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7909/0.7909, allocations: 115.3 MB / 0.9645 GB, free: 78.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/1.005, allocations: 144.2 MB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/1.006, allocations: 91.94 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03402/1.04, allocations: 12.76 MB / 1.118 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.854e-06/1.04, allocations: 0 / 1.118 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.008e-05/1.04, allocations: 8 kB / 1.118 GB, free: 14.79 MB / 0.7292 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.00128/1.041, allocations: 0.7093 MB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.041, allocations: 11.97 kB / 1.119 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/1.041, allocations: 68.28 kB / 1.119 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006741/1.042, allocations: 343.8 kB / 1.119 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/1.042, allocations: 4 kB / 1.119 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/1.042, allocations: 4 kB / 1.119 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002221/1.042, allocations: 92.14 kB / 1.119 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/1.043, allocations: 124.8 kB / 1.119 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.043, allocations: 3.984 kB / 1.119 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/1.043, allocations: 0 / 1.119 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/1.043, allocations: 10.75 kB / 1.119 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009191/1.044, allocations: 0.5148 MB / 1.12 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/1.044, allocations: 102.5 kB / 1.12 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/1.044, allocations: 72.97 kB / 1.12 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/1.044, allocations: 7.984 kB / 1.12 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/1.044, allocations: 133.1 kB / 1.12 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/1.044, allocations: 0 / 1.12 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0005949/1.045, allocations: 244.9 kB / 1.12 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/1.045, allocations: 81.11 kB / 1.12 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00091/1.046, allocations: 0.6088 MB / 1.121 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/1.046, allocations: 33.64 kB / 1.121 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/1.046, allocations: 279.9 kB / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/1.046, allocations: 23.72 kB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/1.046, allocations: 0 / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002111/1.046, allocations: 374.8 kB / 1.122 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/1.046, allocations: 47.97 kB / 1.122 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/1.047, allocations: 51.98 kB / 1.122 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/1.047, allocations: 55.78 kB / 1.122 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.047, allocations: 0 / 1.122 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004105/1.047, allocations: 248.8 kB / 1.122 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/1.047, allocations: 38.27 kB / 1.122 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.047, allocations: 0 / 1.122 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.047, allocations: 3.984 kB / 1.122 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/1.047, allocations: 11.95 kB / 1.122 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.047, allocations: 0 / 1.122 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/1.047, allocations: 15.84 kB / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/1.047, allocations: 8 kB / 1.122 GB, free: 10.29 MB / 0.7292 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 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/1.048, allocations: 144.7 kB / 1.122 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000444/1.048, allocations: 264.9 kB / 1.122 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/1.048, allocations: 60.56 kB / 1.123 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/1.049, allocations: 286.8 kB / 1.123 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.049, allocations: 0 / 1.123 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.049, allocations: 0 / 1.123 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.049, allocations: 0 / 1.123 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/1.049, allocations: 343.8 kB / 1.123 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.049, allocations: 0 / 1.123 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/1.049, allocations: 11.98 kB / 1.123 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/1.049, allocations: 0 / 1.123 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/1.049, allocations: 9.688 kB / 1.123 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.049, allocations: 0 / 1.123 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.049, allocations: 3.953 kB / 1.123 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/1.05, allocations: 292.3 kB / 1.123 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/1.05, allocations: 144.3 kB / 1.124 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/1.05, allocations: 4 kB / 1.124 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/1.05, allocations: 11.98 kB / 1.124 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/1.05, allocations: 7.953 kB / 1.124 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/1.05, allocations: 13.88 kB / 1.124 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006325/1.051, allocations: 0.499 MB / 1.124 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/1.051, allocations: 0 / 1.124 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005748/1.052, allocations: 139.9 kB / 1.124 GB, free: 7.992 MB / 0.7292 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,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/1.053, allocations: 1.057 MB / 1.125 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002915/1.053, allocations: 199.4 kB / 1.125 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/1.053, allocations: 0 / 1.125 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/1.054, allocations: 139.3 kB / 1.126 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/1.054, allocations: 105.2 kB / 1.126 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/1.056, allocations: 1.002 MB / 1.127 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/1.056, allocations: 0.9816 MB / 1.128 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.983e-05/1.057, allocations: 13.33 kB / 1.128 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/1.057, allocations: 151.4 kB / 1.128 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/1.057, allocations: 0 / 1.128 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/1.087, allocations: 10.68 MB / 1.138 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/1.087, allocations: 175.7 kB / 1.138 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/3.322, allocations: 3.453 kB / 1.138 GB, free: 9.656 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)