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.SpeedSelect.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, 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.001923/0.001923, allocations: 186.6 kB / 16.25 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 251.7 MB / 0.5089 GB, free: 3.23 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 68.28 kB / 0.6218 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.52/0.5213, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004051/0.5254, allocations: 2.167 MB / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.5284, allocations: 2.438 MB / 0.7285 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.5286, allocations: 4 kB / 0.7285 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.53, allocations: 0.496 MB / 0.729 GB, free: 7.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.5302, allocations: 95.62 kB / 0.7291 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.5308, allocations: 209.6 kB / 0.7293 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.5312, allocations: 374.5 kB / 0.7296 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.5313, allocations: 72.7 kB / 0.7297 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.5315, allocations: 123.3 kB / 0.7298 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.5316, allocations: 151.2 kB / 0.73 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.5317, allocations: 8 kB / 0.73 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.5318, allocations: 67.89 kB / 0.73 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.532, allocations: 127.5 kB / 0.7302 GB, free: 6.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.5321, allocations: 218.5 kB / 0.7304 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.5327, allocations: 0.6657 MB / 0.731 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5327, allocations: 0 / 0.731 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5327, allocations: 7.938 kB / 0.731 GB, free: 5.863 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.5327, allocations: 0 / 0.731 GB, free: 5.863 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001017/0.5338, allocations: 0.868 MB / 0.7319 GB, free: 4.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5338, allocations: 12.03 kB / 0.7319 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/0.5339, allocations: 68.03 kB / 0.732 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.5343, allocations: 428.2 kB / 0.7324 GB, free: 4.402 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.5344, allocations: 4.375 kB / 0.7324 GB, free: 4.398 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.5344, allocations: 8.125 kB / 0.7324 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.5346, allocations: 100.2 kB / 0.7325 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5346, allocations: 0 / 0.7325 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.5346, allocations: 0 / 0.7325 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.5346, allocations: 4 kB / 0.7325 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.5348, allocations: 43.91 kB / 0.7325 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.5355, allocations: 0.5239 MB / 0.733 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.5359, allocations: 98.64 kB / 0.7331 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.033e-05/0.536, allocations: 32.84 kB / 0.7332 GB, free: 3.516 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.536, allocations: 4 kB / 0.7332 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.5362, allocations: 95.39 kB / 0.7332 GB, free: 3.406 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.5363, allocations: 0 / 0.7332 GB, free: 3.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004082/0.5367, allocations: 188.8 kB / 0.7334 GB, free: 3.215 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.5368, allocations: 102.8 kB / 0.7335 GB, free: 3.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009973/0.5378, allocations: 0.8834 MB / 0.7344 GB, free: 2.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.5378, allocations: 33.7 kB / 0.7344 GB, free: 2.156 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.538, allocations: 300 kB / 0.7347 GB, free: 1.859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.5381, allocations: 19.8 kB / 0.7347 GB, free: 1.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.5382, allocations: 25.72 kB / 0.7348 GB, free: 1.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5383, allocations: 317.9 kB / 0.7351 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.5383, allocations: 27.98 kB / 0.7351 GB, free: 1.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.611e-05/0.5384, allocations: 72.22 kB / 0.7351 GB, free: 1.379 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.5386, allocations: 69.69 kB / 0.7352 GB, free: 1.305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5386, allocations: 4 kB / 0.7352 GB, free: 1.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002549/0.5389, allocations: 168.8 kB / 0.7354 GB, free: 1.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5389, allocations: 4 kB / 0.7354 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5389, allocations: 192 / 0.7354 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5389, allocations: 0 / 0.7354 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.539, allocations: 19.92 kB / 0.7354 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.539, allocations: 4 kB / 0.7354 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.5392, allocations: 15.86 kB / 0.7354 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.5392, allocations: 4 kB / 0.7354 GB, free: 1.082 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0003119/0.5395, allocations: 325.6 kB / 0.7357 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.5396, allocations: 63.16 kB / 0.7358 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.5397, allocations: 77.98 kB / 0.7359 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5397, allocations: 0 / 0.7359 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5397, allocations: 0 / 0.7359 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5397, allocations: 7.875 kB / 0.7359 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.5401, allocations: 377.5 kB / 0.7362 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5401, allocations: 0 / 0.7362 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.5401, allocations: 11.98 kB / 0.7363 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5402, allocations: 4 kB / 0.7363 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5402, allocations: 0 / 0.7363 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5402, allocations: 0 / 0.7363 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5402, allocations: 4 kB / 0.7363 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.5405, allocations: 196.5 kB / 0.7364 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.5406, allocations: 132.4 kB / 0.7366 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.5407, allocations: 3.984 kB / 0.7366 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5408, allocations: 8 kB / 0.7366 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.5409, allocations: 11.98 kB / 0.7366 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.5409, allocations: 7.938 kB / 0.7366 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007294/0.5416, allocations: 0.659 MB / 0.7372 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5416, allocations: 0 / 0.7372 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002936/0.5419, allocations: 52 kB / 0.7373 GB, free: 15.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009864/0.5429, allocations: 435.9 kB / 0.7377 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.5432, allocations: 79.89 kB / 0.7378 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5432, allocations: 4 kB / 0.7378 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.433e-05/0.5433, allocations: 35.97 kB / 0.7378 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.5439, allocations: 143.4 kB / 0.738 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.5454, allocations: 1.213 MB / 0.7391 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.546, allocations: 0.9859 MB / 0.7401 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.5461, allocations: 34.59 kB / 0.7401 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.5462, allocations: 19.44 kB / 0.7402 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.5462, allocations: 8 kB / 0.7402 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of Templates: time 0.01077/0.557, allocations: 5.64 MB / 0.7457 GB, free: 6.727 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)