Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 110 kB / 16.41 MB, free: 6.457 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.001585/0.001585, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.479/2.479, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.84 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6817/0.6829, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.07221/0.7552, allocations: 75.88 MB / 1.283 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03629/0.7915, allocations: 26.69 MB / 1.309 GB, free: 6.703 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004124/0.7956, allocations: 123.4 kB / 1.309 GB, free: 6.582 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006912/0.8026, allocations: 2.655 MB / 1.311 GB, free: 3.918 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009691/0.8123, allocations: 3.977 MB / 1.315 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007405/0.8197, allocations: 3.361 MB / 1.318 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03555/0.8553, allocations: 27.5 MB / 1.345 GB, free: 1.043 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004526/0.8598, allocations: 2.824 MB / 1.348 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006441/0.8663, allocations: 3.208 MB / 1.351 GB, free: 10.94 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/0.8701, allocations: 2.515 MB / 1.354 GB, free: 8.418 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0009291/0.8711, allocations: 372 kB / 1.354 GB, free: 8.055 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005171/0.8763, allocations: 2.597 MB / 1.357 GB, free: 5.453 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001693/0.878, allocations: 1.729 MB / 1.358 GB, free: 3.719 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003339/0.8813, allocations: 2.565 MB / 1.361 GB, free: 1.141 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008715/0.89, allocations: 7.773 MB / 1.368 GB, free: 9.344 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8901, allocations: 0 / 1.368 GB, free: 9.344 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8901, allocations: 0 / 1.368 GB, free: 9.344 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.913e-05/0.8902, allocations: 4 kB / 1.368 GB, free: 9.34 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.01007/0.9002, allocations: 5.724 MB / 1.374 GB, free: 3.508 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.9003, allocations: 8.031 kB / 1.374 GB, free: 3.5 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008483/0.9088, allocations: 1.531 MB / 1.375 GB, free: 1.961 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.9213, allocations: 7.345 MB / 1.383 GB, free: 10.55 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.9214, allocations: 139.2 kB / 1.383 GB, free: 10.41 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000378/0.9218, allocations: 188 kB / 1.383 GB, free: 10.23 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005004/0.9268, allocations: 2.676 MB / 1.386 GB, free: 7.461 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.9269, allocations: 3.938 kB / 1.386 GB, free: 7.457 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.9271, allocations: 64 kB / 1.386 GB, free: 7.395 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.9271, allocations: 40 kB / 1.386 GB, free: 7.355 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005345/0.9325, allocations: 2.104 MB / 1.388 GB, free: 5.246 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01618/0.9486, allocations: 11.07 MB / 1.399 GB, free: 9.691 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005142/0.9538, allocations: 1.74 MB / 1.4 GB, free: 7.945 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.9558, allocations: 0.7887 MB / 1.401 GB, free: 7.152 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006239/0.9621, allocations: 4.091 MB / 1.405 GB, free: 2.789 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002742/0.9648, allocations: 1.331 MB / 1.406 GB, free: 1.441 MB / 1.123 GB Notification: Performance of pre-optimization done (n=74): time 2.474e-06/0.9649, allocations: 0 / 1.406 GB, free: 1.441 MB / 1.123 GB Notification: Performance of matching and sorting (n=74): time 0.007209/0.9721, allocations: 2.616 MB / 1.409 GB, free: 14.81 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.9722, allocations: 145.1 kB / 1.409 GB, free: 14.64 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008805/0.981, allocations: 5.732 MB / 1.415 GB, free: 8.938 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.9812, allocations: 53.69 kB / 1.415 GB, free: 8.879 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001941/0.9831, allocations: 1.964 MB / 1.417 GB, free: 6.898 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.9835, allocations: 272.3 kB / 1.417 GB, free: 6.629 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.9846, allocations: 0.7047 MB / 1.417 GB, free: 5.914 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.9847, allocations: 301.1 kB / 1.418 GB, free: 5.617 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003492/0.9882, allocations: 2.047 MB / 1.42 GB, free: 3.559 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004201/0.9924, allocations: 2.938 MB / 1.423 GB, free: 280 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007157/0.9996, allocations: 4.574 MB / 1.427 GB, free: 11.41 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/0.9996, allocations: 8 kB / 1.427 GB, free: 11.4 MB / 1.154 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.009336/1.009, allocations: 5.358 MB / 1.432 GB, free: 6.027 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/1.009, allocations: 12 kB / 1.432 GB, free: 6.016 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.009, allocations: 20 kB / 1.432 GB, free: 5.996 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.207e-05/1.009, allocations: 32 kB / 1.432 GB, free: 5.965 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003566/1.013, allocations: 0.6396 MB / 1.433 GB, free: 5.324 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/1.015, allocations: 2.382 MB / 1.435 GB, free: 2.871 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/1.018, allocations: 413.5 kB / 1.436 GB, free: 2.465 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/1.018, allocations: 155.9 kB / 1.436 GB, free: 2.312 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004716/1.023, allocations: 2.855 MB / 1.439 GB, free: 15.45 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00366/1.027, allocations: 2.709 MB / 1.441 GB, free: 12.4 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006218/1.033, allocations: 4.133 MB / 1.445 GB, free: 7.977 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.264e-05/1.033, allocations: 4 kB / 1.445 GB, free: 7.973 MB / 1.17 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.008506/1.042, allocations: 4.901 MB / 1.45 GB, free: 3.055 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.042, allocations: 12 kB / 1.45 GB, free: 3.043 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/1.042, allocations: 24.78 kB / 1.45 GB, free: 3.02 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.032e-05/1.042, allocations: 35.94 kB / 1.45 GB, free: 2.984 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002928/1.045, allocations: 0.6436 MB / 1.451 GB, free: 2.34 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.485e-05/1.045, allocations: 47.8 kB / 1.451 GB, free: 2.293 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/1.048, allocations: 326.3 kB / 1.451 GB, free: 1.977 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/1.048, allocations: 144 kB / 1.451 GB, free: 1.836 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 265 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005425/1.049, allocations: 317.6 kB / 1.452 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009186/1.05, allocations: 430.2 kB / 1.452 GB, free: 1.094 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006159/1.056, allocations: 2.406 MB / 1.454 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.056, allocations: 3.984 kB / 1.454 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.056, allocations: 0 / 1.454 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/1.058, allocations: 0.7449 MB / 1.455 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008245/1.058, allocations: 16 kB / 1.455 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/1.061, allocations: 151.8 kB / 1.455 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.061, allocations: 64.91 kB / 1.455 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005968/1.067, allocations: 2.089 MB / 1.457 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007529/1.074, allocations: 3.336 MB / 1.461 GB, free: 8.211 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002078/1.077, allocations: 0.8392 MB / 1.461 GB, free: 7.367 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.006393/1.083, allocations: 3.889 MB / 1.465 GB, free: 3.504 MB / 1.186 GB Notification: Performance of Backend: time 2.8e-07/1.083, allocations: 4 kB / 1.465 GB, free: 3.5 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.096, allocations: 6.179 MB / 1.471 GB, free: 13.49 MB / 1.201 GB Notification: Performance of SimCode: time 0.01754/1.114, allocations: 9.563 MB / 1.481 GB, free: 3.934 MB / 1.201 GB Notification: Performance of Templates: time 0.6499/1.764, allocations: 103.2 MB / 1.581 GB, free: 330.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)