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.005686/0.005686, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.001293/0.001293, allocations: 196 kB / 16.68 MB, free: 5.969 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.5 MB, free: 12.22 MB / 190.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.422/1.422, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.001467/0.001467, allocations: 76.11 kB / 0.7258 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6328/0.6343, allocations: 104.7 MB / 0.8281 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004554/0.6389, allocations: 2.107 MB / 0.8301 GB, free: 432 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003755/0.6427, allocations: 2.485 MB / 0.8326 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.6429, allocations: 0 / 0.8326 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.6443, allocations: 0.4989 MB / 0.8331 GB, free: 13.43 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.6447, allocations: 111.4 kB / 0.8332 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.6455, allocations: 212.7 kB / 0.8334 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.646, allocations: 354.4 kB / 0.8337 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.6462, allocations: 68.23 kB / 0.8338 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.6464, allocations: 119.4 kB / 0.8339 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.6466, allocations: 147.2 kB / 0.834 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.6466, allocations: 8 kB / 0.834 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.6469, allocations: 63.97 kB / 0.8341 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.6471, allocations: 127.5 kB / 0.8342 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.6473, allocations: 214.5 kB / 0.8344 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000793/0.6481, allocations: 0.6846 MB / 0.8351 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6481, allocations: 3.938 kB / 0.8351 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6481, allocations: 0 / 0.8351 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.6481, allocations: 0 / 0.8351 GB, free: 11.34 MB / 0.6387 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.001403/0.6495, allocations: 0.899 MB / 0.836 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.6496, allocations: 12.03 kB / 0.836 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.6497, allocations: 64.52 kB / 0.836 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.6502, allocations: 440.8 kB / 0.8365 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.6503, allocations: 4.375 kB / 0.8365 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.6503, allocations: 12.11 kB / 0.8365 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.6505, allocations: 96.23 kB / 0.8366 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.6506, allocations: 0 / 0.8366 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.6506, allocations: 4 kB / 0.8366 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6506, allocations: 0 / 0.8366 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.6507, allocations: 47.91 kB / 0.8366 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.6515, allocations: 0.5083 MB / 0.8371 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.6519, allocations: 114.7 kB / 0.8372 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.652, allocations: 32.84 kB / 0.8373 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.652, allocations: 4 kB / 0.8373 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.6522, allocations: 79.38 kB / 0.8373 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.6522, allocations: 0 / 0.8373 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004329/0.6526, allocations: 201.2 kB / 0.8375 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.6527, allocations: 102.8 kB / 0.8376 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.6539, allocations: 0.8873 MB / 0.8385 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.6539, allocations: 29.7 kB / 0.8385 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.6542, allocations: 300.1 kB / 0.8388 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.6542, allocations: 19.83 kB / 0.8388 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.6543, allocations: 29.7 kB / 0.8389 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.6545, allocations: 309.9 kB / 0.8391 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.6546, allocations: 31.98 kB / 0.8392 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.6547, allocations: 80.14 kB / 0.8393 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.6549, allocations: 73.62 kB / 0.8393 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.6549, allocations: 0 / 0.8393 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002942/0.6552, allocations: 165.2 kB / 0.8395 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6552, allocations: 8.031 kB / 0.8395 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6552, allocations: 3.938 kB / 0.8395 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.6552, allocations: 8 kB / 0.8395 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.6553, allocations: 19.98 kB / 0.8395 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6553, allocations: 400 / 0.8395 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.6555, allocations: 7.938 kB / 0.8395 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.6555, allocations: 0 / 0.8395 GB, free: 6.516 MB / 0.6387 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.0003032/0.6558, allocations: 317.7 kB / 0.8398 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.6559, allocations: 67.53 kB / 0.8399 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.656, allocations: 78 kB / 0.84 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.656, allocations: 0 / 0.84 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.656, allocations: 0 / 0.84 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.656, allocations: 7.922 kB / 0.84 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.6564, allocations: 381.4 kB / 0.8403 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6564, allocations: 0 / 0.8403 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.6564, allocations: 11.94 kB / 0.8404 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6564, allocations: 0 / 0.8404 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.6565, allocations: 3.984 kB / 0.8404 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6565, allocations: 7.984 kB / 0.8404 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6565, allocations: 0 / 0.8404 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.6568, allocations: 196.6 kB / 0.8406 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.6569, allocations: 144.6 kB / 0.8407 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.6569, allocations: 0 / 0.8407 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.6571, allocations: 7.984 kB / 0.8407 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.6571, allocations: 11.98 kB / 0.8407 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.6572, allocations: 7.938 kB / 0.8407 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008783/0.658, allocations: 0.659 MB / 0.8414 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.658, allocations: 0 / 0.8414 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002842/0.6583, allocations: 55.98 kB / 0.8414 GB, free: 4.488 MB / 0.6387 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.001015/0.6594, allocations: 439.4 kB / 0.8418 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.6596, allocations: 67.97 kB / 0.8419 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6596, allocations: 0 / 0.8419 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 9.37e-05/0.6597, allocations: 39.92 kB / 0.8419 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/0.6603, allocations: 154.3 kB / 0.8421 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.6618, allocations: 1.091 MB / 0.8431 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.6624, allocations: 0.9819 MB / 0.8441 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.6625, allocations: 42.59 kB / 0.8441 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.6626, allocations: 23.42 kB / 0.8442 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.6626, allocations: 0 / 0.8442 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of Templates: time 0.0111/0.6737, allocations: 5.708 MB / 0.8497 GB, free: 12.2 MB / 0.6544 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)