Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 168.9 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 91.3 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.129e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.197, allocations: 106.4 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7183/0.9154, allocations: 138.9 MB / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.9157, allocations: 100.8 kB / 1.021 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03246/0.9482, allocations: 12.77 MB / 1.034 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9482, allocations: 0 / 1.034 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.9482, allocations: 8 kB / 1.034 GB, free: 3.73 MB / 0.6511 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.0008602/0.9491, allocations: 0.7029 MB / 1.034 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.9492, allocations: 16.03 kB / 1.034 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/0.9493, allocations: 59.25 kB / 1.034 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.9497, allocations: 345 kB / 1.035 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.9497, allocations: 4 kB / 1.035 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.9498, allocations: 4 kB / 1.035 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001846/0.95, allocations: 97.06 kB / 1.035 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.9502, allocations: 120.9 kB / 1.035 GB, free: 2.379 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.9502, allocations: 3.938 kB / 1.035 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.9502, allocations: 0 / 1.035 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.9502, allocations: 4 kB / 1.035 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.9509, allocations: 0.5004 MB / 1.035 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.9511, allocations: 113.1 kB / 1.035 GB, free: 1.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/0.9512, allocations: 69.47 kB / 1.036 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.9513, allocations: 7.938 kB / 1.036 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.9515, allocations: 149.1 kB / 1.036 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.9515, allocations: 0 / 1.036 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0004714/0.9519, allocations: 250.9 kB / 1.036 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.952, allocations: 81.11 kB / 1.036 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006819/0.9527, allocations: 0.608 MB / 1.037 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.9527, allocations: 25.7 kB / 1.037 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.9529, allocations: 284.1 kB / 1.037 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.953, allocations: 23.08 kB / 1.037 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.953, allocations: 0 / 1.037 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.9532, allocations: 370.3 kB / 1.037 GB, free: 272 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-05/0.9532, allocations: 57.41 kB / 1.037 GB, free: 228 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.9533, allocations: 49.22 kB / 1.037 GB, free: 192 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.9534, allocations: 55.14 kB / 1.037 GB, free: 148 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9535, allocations: 4 kB / 1.037 GB, free: 144 kB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003472/0.9538, allocations: 239.6 kB / 1.038 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.9539, allocations: 33.69 kB / 1.038 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.9539, allocations: 0 / 1.038 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.9539, allocations: 7.953 kB / 1.038 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.954, allocations: 7.938 kB / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.954, allocations: 4 kB / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.9541, allocations: 11.92 kB / 1.038 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.9541, allocations: 11.44 kB / 1.038 GB, free: 15.86 MB / 0.6667 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.0001126/0.9542, allocations: 146.3 kB / 1.038 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003692/0.9546, allocations: 266.9 kB / 1.038 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.9547, allocations: 63.2 kB / 1.038 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004423/0.9551, allocations: 280.5 kB / 1.038 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9552, allocations: 0 / 1.038 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9552, allocations: 0 / 1.038 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.9552, allocations: 3.984 kB / 1.038 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.9555, allocations: 346.2 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9555, allocations: 0 / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.9556, allocations: 8 kB / 1.039 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.9556, allocations: 4 kB / 1.039 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.9556, allocations: 7.5 kB / 1.039 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.9556, allocations: 7.938 kB / 1.039 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9556, allocations: 0 / 1.039 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.956, allocations: 286.8 kB / 1.039 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.9562, allocations: 147 kB / 1.039 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.9562, allocations: 0 / 1.039 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.9563, allocations: 12 kB / 1.039 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.9564, allocations: 11.94 kB / 1.039 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.9564, allocations: 6.688 kB / 1.039 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005377/0.957, allocations: 0.4947 MB / 1.04 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/0.957, allocations: 0 / 1.04 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005435/0.9575, allocations: 154 kB / 1.04 GB, free: 13.87 MB / 0.6667 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.001156/0.9587, allocations: 1.053 MB / 1.041 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.959, allocations: 199 kB / 1.041 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.959, allocations: 0 / 1.041 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.9591, allocations: 139.8 kB / 1.041 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.9596, allocations: 99.69 kB / 1.041 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.9611, allocations: 0.9946 MB / 1.042 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.9616, allocations: 0.9698 MB / 1.043 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 7.888e-05/0.9617, allocations: 21.27 kB / 1.043 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.9619, allocations: 152.6 kB / 1.043 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of SimCode: time 3.236e-06/0.9619, allocations: 0 / 1.043 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.9939, allocations: 10.71 MB / 1.054 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/0.9943, allocations: 171.9 kB / 1.054 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.202, allocations: 0 / 1.054 GB, free: 15.79 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)