Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001102/0.001107, allocations: 120 kB / 16.42 MB, free: 6.496 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.001144/0.001145, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 64.12 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7361, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.07242/0.8085, allocations: 75.9 MB / 1.241 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0358/0.8444, allocations: 26.68 MB / 1.267 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004155/0.8486, allocations: 127.3 kB / 1.268 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006798/0.8554, allocations: 2.672 MB / 1.27 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.8656, allocations: 4.148 MB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007861/0.8735, allocations: 3.369 MB / 1.278 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03748/0.911, allocations: 27.49 MB / 1.304 GB, free: 7.043 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004991/0.916, allocations: 2.828 MB / 1.307 GB, free: 4.148 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008145/0.9242, allocations: 3.215 MB / 1.31 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004282/0.9285, allocations: 2.503 MB / 1.313 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.9296, allocations: 368 kB / 1.313 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00585/0.9355, allocations: 2.601 MB / 1.316 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002247/0.9378, allocations: 1.729 MB / 1.317 GB, free: 9.719 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005166/0.9429, allocations: 2.561 MB / 1.32 GB, free: 7.145 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.9552, allocations: 7.781 MB / 1.327 GB, free: 15.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9552, allocations: 4 kB / 1.327 GB, free: 15.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9552, allocations: 4 kB / 1.327 GB, free: 15.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002043/0.9554, allocations: 0 / 1.327 GB, free: 15.33 MB / 1.061 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.01392/0.9694, allocations: 5.712 MB / 1.333 GB, free: 9.516 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.9694, allocations: 12.92 kB / 1.333 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009068/0.9785, allocations: 1.531 MB / 1.335 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01447/0.993, allocations: 7.341 MB / 1.342 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.9932, allocations: 147.2 kB / 1.342 GB, free: 420 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000561/0.9937, allocations: 184 kB / 1.342 GB, free: 236 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006161/0.9999, allocations: 2.673 MB / 1.345 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/1, allocations: 11.88 kB / 1.345 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002806/1, allocations: 67.98 kB / 1.345 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/1, allocations: 40 kB / 1.345 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005951/1.006, allocations: 2.096 MB / 1.347 GB, free: 11.25 MB / 1.076 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.01868/1.025, allocations: 11.07 MB / 1.358 GB, free: 15.69 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005301/1.03, allocations: 1.741 MB / 1.359 GB, free: 13.94 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/1.032, allocations: 0.7757 MB / 1.36 GB, free: 13.16 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006839/1.039, allocations: 4.108 MB / 1.364 GB, free: 8.785 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002859/1.042, allocations: 1.338 MB / 1.365 GB, free: 7.426 MB / 1.092 GB Notification: Performance of pre-optimization done (n=74): time 4.278e-06/1.042, allocations: 0 / 1.365 GB, free: 7.426 MB / 1.092 GB Notification: Performance of matching and sorting (n=74): time 0.007685/1.05, allocations: 2.616 MB / 1.368 GB, free: 4.801 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/1.05, allocations: 133.2 kB / 1.368 GB, free: 4.641 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009919/1.06, allocations: 5.736 MB / 1.374 GB, free: 14.93 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003374/1.06, allocations: 49.7 kB / 1.374 GB, free: 14.88 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002114/1.062, allocations: 1.968 MB / 1.376 GB, free: 12.89 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000455/1.063, allocations: 272.3 kB / 1.376 GB, free: 12.62 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/1.064, allocations: 0.7008 MB / 1.377 GB, free: 11.91 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/1.064, allocations: 301.1 kB / 1.377 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/1.068, allocations: 2.051 MB / 1.379 GB, free: 9.555 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004242/1.072, allocations: 2.932 MB / 1.382 GB, free: 6.273 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007136/1.079, allocations: 4.573 MB / 1.386 GB, free: 1.422 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/1.079, allocations: 4 kB / 1.386 GB, free: 1.418 MB / 1.107 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.009813/1.089, allocations: 5.363 MB / 1.391 GB, free: 12.04 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/1.089, allocations: 16 kB / 1.391 GB, free: 12.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/1.089, allocations: 20 kB / 1.391 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/1.089, allocations: 35.94 kB / 1.391 GB, free: 11.97 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003539/1.093, allocations: 0.636 MB / 1.392 GB, free: 11.33 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/1.095, allocations: 2.386 MB / 1.394 GB, free: 8.875 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/1.099, allocations: 417 kB / 1.395 GB, free: 8.465 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/1.099, allocations: 155.9 kB / 1.395 GB, free: 8.312 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005018/1.104, allocations: 2.859 MB / 1.398 GB, free: 5.445 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003922/1.108, allocations: 2.709 MB / 1.4 GB, free: 2.391 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006408/1.114, allocations: 4.122 MB / 1.404 GB, free: 13.98 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.82e-05/1.114, allocations: 8 kB / 1.404 GB, free: 13.97 MB / 1.139 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.009558/1.124, allocations: 4.897 MB / 1.409 GB, free: 9.051 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.124, allocations: 16 kB / 1.409 GB, free: 9.035 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/1.124, allocations: 24.03 kB / 1.409 GB, free: 9.012 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/1.124, allocations: 35.94 kB / 1.409 GB, free: 8.977 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002885/1.127, allocations: 0.6436 MB / 1.41 GB, free: 8.332 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.091e-05/1.127, allocations: 43.86 kB / 1.41 GB, free: 8.289 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003536/1.131, allocations: 318.2 kB / 1.41 GB, free: 7.977 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/1.131, allocations: 148 kB / 1.41 GB, free: 7.832 MB / 1.139 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.0006014/1.132, allocations: 325.7 kB / 1.411 GB, free: 7.512 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/1.133, allocations: 434.2 kB / 1.411 GB, free: 7.082 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006398/1.139, allocations: 2.402 MB / 1.414 GB, free: 4.66 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.139, allocations: 3.984 kB / 1.414 GB, free: 4.656 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.139, allocations: 0 / 1.414 GB, free: 4.656 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/1.141, allocations: 0.741 MB / 1.414 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009975/1.142, allocations: 20 kB / 1.414 GB, free: 3.871 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002508/1.145, allocations: 143.8 kB / 1.414 GB, free: 3.73 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/1.145, allocations: 68.91 kB / 1.414 GB, free: 3.664 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006039/1.151, allocations: 2.085 MB / 1.416 GB, free: 1.562 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00777/1.159, allocations: 3.328 MB / 1.42 GB, free: 14.21 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002159/1.161, allocations: 0.8432 MB / 1.421 GB, free: 13.37 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.006572/1.167, allocations: 3.893 MB / 1.424 GB, free: 9.5 MB / 1.154 GB Notification: Performance of Backend: time 9.21e-07/1.167, allocations: 0 / 1.424 GB, free: 9.5 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01377/1.181, allocations: 6.189 MB / 1.43 GB, free: 3.469 MB / 1.154 GB Notification: Performance of SimCode: time 0.01815/1.199, allocations: 9.562 MB / 1.44 GB, free: 9.883 MB / 1.17 GB Notification: Performance of Templates: time 0.1625/1.362, allocations: 101.3 MB / 1.539 GB, free: 5.777 MB / 1.264 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)