Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001202/0.001202, allocations: 177 kB / 377.1 MB, free: 1.527 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.75/1.75, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.001094/0.001094, allocations: 93.77 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.000375, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2663, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.772/1.038, allocations: 145.9 MB / 1.131 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.039, allocations: 93.77 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03242/1.071, allocations: 12.94 MB / 1.144 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.294e-06/1.071, allocations: 0 / 1.144 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.071e-05/1.071, allocations: 8 kB / 1.144 GB, free: 21.04 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.001025/1.072, allocations: 0.8145 MB / 1.145 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.072, allocations: 16.02 kB / 1.145 GB, free: 20.19 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/1.072, allocations: 45.08 kB / 1.145 GB, free: 20.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/1.072, allocations: 63.03 kB / 1.145 GB, free: 20.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/1.073, allocations: 346.6 kB / 1.145 GB, free: 19.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/1.073, allocations: 4 kB / 1.145 GB, free: 19.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/1.073, allocations: 12.14 kB / 1.145 GB, free: 19.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/1.073, allocations: 134.2 kB / 1.145 GB, free: 19.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/1.073, allocations: 4.562 kB / 1.145 GB, free: 19.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/1.073, allocations: 0.6094 kB / 1.145 GB, free: 19.59 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.073, allocations: 4 kB / 1.145 GB, free: 19.58 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/1.073, allocations: 106.8 kB / 1.145 GB, free: 19.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/1.074, allocations: 0.5554 MB / 1.146 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/1.074, allocations: 111.6 kB / 1.146 GB, free: 18.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/1.074, allocations: 6.469 kB / 1.146 GB, free: 18.87 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/1.075, allocations: 145.5 kB / 1.146 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/1.075, allocations: 0 / 1.146 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0005222/1.075, allocations: 418 kB / 1.146 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/1.075, allocations: 85.67 kB / 1.146 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/1.076, allocations: 0.6714 MB / 1.147 GB, free: 17.65 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/1.076, allocations: 30.36 kB / 1.147 GB, free: 17.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/1.076, allocations: 274 kB / 1.147 GB, free: 17.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/1.076, allocations: 26.33 kB / 1.147 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-06/1.076, allocations: 4 kB / 1.147 GB, free: 17.33 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.233e-05/1.076, allocations: 311.9 kB / 1.148 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/1.076, allocations: 53.19 kB / 1.148 GB, free: 16.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/1.076, allocations: 64.05 kB / 1.148 GB, free: 16.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.111e-05/1.077, allocations: 81.39 kB / 1.148 GB, free: 16.85 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.077, allocations: 0 / 1.148 GB, free: 16.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003076/1.077, allocations: 281.2 kB / 1.148 GB, free: 16.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/1.077, allocations: 41.08 kB / 1.148 GB, free: 16.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.077, allocations: 3.953 kB / 1.148 GB, free: 16.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.077, allocations: 0 / 1.148 GB, free: 16.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/1.077, allocations: 9.688 kB / 1.148 GB, free: 16.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/1.077, allocations: 0.7812 kB / 1.148 GB, free: 16.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/1.077, allocations: 22.14 kB / 1.148 GB, free: 16.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/1.077, allocations: 5.734 kB / 1.148 GB, free: 16.51 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003206/1.078, allocations: 333.5 kB / 1.149 GB, free: 16.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/1.078, allocations: 59.91 kB / 1.149 GB, free: 16.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/1.078, allocations: 321.5 kB / 1.149 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.078, allocations: 3.953 kB / 1.149 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.078, allocations: 4.562 kB / 1.149 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.078, allocations: 0.9375 kB / 1.149 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/1.078, allocations: 366.4 kB / 1.149 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.078, allocations: 9.125 kB / 1.149 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/1.078, allocations: 5.406 kB / 1.149 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.078, allocations: 0 / 1.149 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.078, allocations: 4.703 kB / 1.149 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.078, allocations: 0.6094 kB / 1.149 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.079, allocations: 3.953 kB / 1.149 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/1.079, allocations: 336.5 kB / 1.15 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/1.079, allocations: 146.8 kB / 1.15 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/1.079, allocations: 9.531 kB / 1.15 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.079, allocations: 6.156 kB / 1.15 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/1.079, allocations: 13.41 kB / 1.15 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/1.079, allocations: 10.25 kB / 1.15 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005657/1.08, allocations: 0.5617 MB / 1.15 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.08, allocations: 0 / 1.15 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006143/1.08, allocations: 143.4 kB / 1.151 GB, free: 14.38 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) * 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 (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.0009858/1.081, allocations: 1.094 MB / 1.152 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002449/1.082, allocations: 207.3 kB / 1.152 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.082, allocations: 0 / 1.152 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/1.082, allocations: 147.7 kB / 1.152 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/1.082, allocations: 105.6 kB / 1.152 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/1.086, allocations: 3.311 MB / 1.155 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/1.086, allocations: 0.9714 MB / 1.156 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001059/1.086, allocations: 24.83 kB / 1.156 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/1.087, allocations: 153.7 kB / 1.156 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of SimCode: time 9.82e-07/1.087, allocations: 1.031 kB / 1.156 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/1.111, allocations: 12.35 MB / 1.168 GB, free: 14 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.111, allocations: 196.8 kB / 1.169 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.605, allocations: 0 / 1.169 GB, free: 13.77 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)