Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_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.001097/0.001097, allocations: 110 kB / 16.42 MB, free: 6.488 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.001013/0.001013, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6957/0.697, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump_m_flow.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump_dp.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.09534/0.7923, allocations: 95.11 MB / 1.181 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04408/0.8364, allocations: 30.62 MB / 1.211 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005675/0.8421, allocations: 156.6 kB / 1.212 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0059/0.8481, allocations: 2.084 MB / 1.214 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01212/0.8602, allocations: 4.749 MB / 1.218 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00891/0.8691, allocations: 3.83 MB / 1.222 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01206/0.8812, allocations: 9.062 MB / 1.231 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005788/0.887, allocations: 3.476 MB / 1.234 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009103/0.8961, allocations: 3.954 MB / 1.238 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004622/0.9008, allocations: 2.875 MB / 1.241 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001092/0.9019, allocations: 412 kB / 1.241 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006162/0.908, allocations: 2.738 MB / 1.244 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.9099, allocations: 1.675 MB / 1.246 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004005/0.9139, allocations: 2.608 MB / 1.248 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.9246, allocations: 7.946 MB / 1.256 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9246, allocations: 4 kB / 1.256 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9246, allocations: 4 kB / 1.256 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.878e-05/0.9247, allocations: 0 / 1.256 GB, free: 2.527 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01018/0.9349, allocations: 5.792 MB / 1.262 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.935, allocations: 8.031 kB / 1.262 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008657/0.9436, allocations: 1.575 MB / 1.263 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.954, allocations: 5.32 MB / 1.268 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.9542, allocations: 176.1 kB / 1.268 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004081/0.9546, allocations: 232 kB / 1.269 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005937/0.9605, allocations: 3.176 MB / 1.272 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.9606, allocations: 4 kB / 1.272 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.9608, allocations: 84 kB / 1.272 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.9609, allocations: 51.94 kB / 1.272 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005936/0.9668, allocations: 2.447 MB / 1.274 GB, free: 15.35 MB / 1.014 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.01837/0.9852, allocations: 12.92 MB / 1.287 GB, free: 1.805 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005627/0.9908, allocations: 1.965 MB / 1.289 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/0.9931, allocations: 0.8742 MB / 1.29 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006363/0.9995, allocations: 4.487 MB / 1.294 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002965/1.002, allocations: 1.437 MB / 1.295 GB, free: 8.691 MB / 1.029 GB Notification: Performance of pre-optimization done (n=83): time 2.374e-06/1.002, allocations: 0 / 1.295 GB, free: 8.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=83): time 0.007579/1.01, allocations: 2.88 MB / 1.298 GB, free: 5.801 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/1.01, allocations: 115.8 kB / 1.298 GB, free: 5.664 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006132/1.016, allocations: 5.004 MB / 1.303 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/1.016, allocations: 53.7 kB / 1.303 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/1.018, allocations: 2.128 MB / 1.305 GB, free: 14.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/1.019, allocations: 292 kB / 1.306 GB, free: 14.19 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007115/1.019, allocations: 499.1 kB / 1.306 GB, free: 13.7 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/1.019, allocations: 305.1 kB / 1.306 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/1.023, allocations: 1.679 MB / 1.308 GB, free: 11.71 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003733/1.026, allocations: 2.617 MB / 1.311 GB, free: 8.652 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006697/1.033, allocations: 4.163 MB / 1.315 GB, free: 4.094 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/1.033, allocations: 8 kB / 1.315 GB, free: 4.086 MB / 1.045 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00845/1.041, allocations: 4.57 MB / 1.319 GB, free: 15.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/1.042, allocations: 16 kB / 1.319 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/1.042, allocations: 40.02 kB / 1.319 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.02e-05/1.042, allocations: 40 kB / 1.319 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003647/1.045, allocations: 0.6085 MB / 1.32 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/1.048, allocations: 2.984 MB / 1.323 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/1.051, allocations: 350 kB / 1.323 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/1.051, allocations: 179.9 kB / 1.323 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004236/1.055, allocations: 2.339 MB / 1.326 GB, free: 8.855 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003292/1.058, allocations: 2.326 MB / 1.328 GB, free: 6.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00591/1.064, allocations: 3.593 MB / 1.331 GB, free: 2.105 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-05/1.064, allocations: 8 kB / 1.331 GB, free: 2.098 MB / 1.061 GB Notification: Performance of matching and sorting (n=253) (initialization_lambda0): time 0.007543/1.072, allocations: 3.972 MB / 1.335 GB, free: 14.11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/1.072, allocations: 18.19 kB / 1.335 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/1.072, allocations: 28.06 kB / 1.335 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/1.072, allocations: 44 kB / 1.335 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/1.075, allocations: 0.6436 MB / 1.336 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.467e-05/1.075, allocations: 55.73 kB / 1.336 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/1.078, allocations: 259.2 kB / 1.336 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/1.078, allocations: 176 kB / 1.336 GB, free: 12.9 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * 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 (222): * Single equations (assignments): 214 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005592/1.079, allocations: 333.7 kB / 1.337 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007988/1.079, allocations: 426.4 kB / 1.337 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007041/1.086, allocations: 2.745 MB / 1.34 GB, free: 9.383 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/1.087, allocations: 11.97 kB / 1.34 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.087, allocations: 0 / 1.34 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/1.088, allocations: 0.6981 MB / 1.341 GB, free: 8.648 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006968/1.089, allocations: 16 kB / 1.341 GB, free: 8.633 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/1.091, allocations: 139.7 kB / 1.341 GB, free: 8.496 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/1.091, allocations: 80.89 kB / 1.341 GB, free: 8.418 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006681/1.098, allocations: 2.32 MB / 1.343 GB, free: 6.078 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00836/1.106, allocations: 3.686 MB / 1.347 GB, free: 2.371 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002422/1.109, allocations: 0.9409 MB / 1.348 GB, free: 1.426 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005363/1.114, allocations: 3.423 MB / 1.351 GB, free: 14.02 MB / 1.092 GB Notification: Performance of Backend: time 4.31e-07/1.114, allocations: 0 / 1.351 GB, free: 14.02 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.129, allocations: 5.449 MB / 1.356 GB, free: 8.75 MB / 1.092 GB Notification: Performance of SimCode: time 0.01736/1.146, allocations: 9.471 MB / 1.365 GB, free: 15.25 MB / 1.107 GB Notification: Performance of Templates: time 0.1532/1.3, allocations: 101.1 MB / 1.464 GB, free: 11.29 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)