Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008767, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005516/0.005516, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003992, allocations: 10.59 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002499/0.3451, allocations: 1.756 MB / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003255/0.3484, allocations: 2.578 MB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.3485, allocations: 0 / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.3498, allocations: 0.5137 MB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.3499, allocations: 59.66 kB / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.3507, allocations: 211 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.3511, allocations: 310.4 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.3513, allocations: 101 kB / 1.08 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.3514, allocations: 91.48 kB / 1.08 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.3516, allocations: 135.2 kB / 1.08 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.3516, allocations: 4 kB / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004652/0.3521, allocations: 303.5 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3522, allocations: 103.5 kB / 1.08 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.3525, allocations: 228.2 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008973/0.3534, allocations: 0.7864 MB / 1.081 GB, free: 336 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3534, allocations: 8 kB / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3534, allocations: 0 / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.3534, allocations: 0 / 1.081 GB, free: 328 kB / 0.8262 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.001076/0.3545, allocations: 0.7988 MB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3546, allocations: 8.031 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3547, allocations: 64.09 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.3551, allocations: 392.3 kB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3551, allocations: 4.375 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.3552, allocations: 12.38 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.3554, allocations: 135.8 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.3554, allocations: 0 / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3554, allocations: 4 kB / 1.083 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3555, allocations: 4 kB / 1.083 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.3556, allocations: 95.94 kB / 1.083 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007401/0.3564, allocations: 0.5471 MB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.3566, allocations: 106.5 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/0.3567, allocations: 60.97 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.3567, allocations: 16.11 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.357, allocations: 129 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.357, allocations: 0 / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0004935/0.3575, allocations: 310.5 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.3575, allocations: 85.11 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000904/0.3584, allocations: 0.7934 MB / 1.085 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3585, allocations: 25.7 kB / 1.085 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.3587, allocations: 288.3 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.3588, allocations: 31.58 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.3588, allocations: 17.72 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.359, allocations: 313.9 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.3591, allocations: 51.97 kB / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.3591, allocations: 47.97 kB / 1.085 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.3593, allocations: 156.6 kB / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3593, allocations: 0 / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003283/0.3597, allocations: 270.4 kB / 1.086 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.3597, allocations: 37.69 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3597, allocations: 0 / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3598, allocations: 0 / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.218e-05/0.3598, allocations: 8 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3599, allocations: 160 / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.36, allocations: 27.83 kB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.36, allocations: 4 kB / 1.086 GB, free: 11.25 MB / 0.8419 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.0003324/0.3604, allocations: 343.3 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/0.3604, allocations: 67.19 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.3609, allocations: 297 kB / 1.086 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3609, allocations: 7.984 kB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3609, allocations: 0 / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3609, allocations: 3.984 kB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.3614, allocations: 385.5 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.3614, allocations: 3.938 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.3614, allocations: 4 kB / 1.087 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3614, allocations: 4 kB / 1.087 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3615, allocations: 0 / 1.087 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.3615, allocations: 7.984 kB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3615, allocations: 0 / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.3619, allocations: 313.8 kB / 1.087 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.3621, allocations: 148.3 kB / 1.087 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.3622, allocations: 8 kB / 1.087 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3623, allocations: 4 kB / 1.087 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.3623, allocations: 7.984 kB / 1.087 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3624, allocations: 8 kB / 1.087 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000817/0.3632, allocations: 0.5848 MB / 1.088 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3632, allocations: 0 / 1.088 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005197/0.3637, allocations: 124 kB / 1.088 GB, free: 8.844 MB / 0.8419 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.0004381/0.3642, allocations: 195.1 kB / 1.088 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.3645, allocations: 203.3 kB / 1.088 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3645, allocations: 4 kB / 1.088 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.3647, allocations: 147.3 kB / 1.089 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.3653, allocations: 120.2 kB / 1.089 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.367, allocations: 1.217 MB / 1.09 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/0.3677, allocations: 0.9784 MB / 1.091 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.433e-05/0.3678, allocations: 21.95 kB / 1.091 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.3678, allocations: 19.44 kB / 1.091 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3678, allocations: 4 kB / 1.091 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of Templates: time 0.01162/0.3794, allocations: 5.312 MB / 1.096 GB, free: 0.6289 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1)