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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001544/0.001544, allocations: 112.4 kB / 16.42 MB, free: 6.465 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.001775/0.001775, allocations: 189.5 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.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.6/2.6, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.89 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6828/0.6841, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.06833/0.7525, allocations: 75.89 MB / 1.3 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03515/0.7877, allocations: 26.69 MB / 1.327 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004054/0.7918, allocations: 123.4 kB / 1.327 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.007008/0.7988, allocations: 2.693 MB / 1.329 GB, free: 3.742 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.8091, allocations: 4.142 MB / 1.333 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.008603/0.8177, allocations: 3.365 MB / 1.337 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.04106/0.8587, allocations: 27.5 MB / 1.363 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005504/0.8643, allocations: 2.82 MB / 1.366 GB, free: 13.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007165/0.8715, allocations: 3.212 MB / 1.369 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005394/0.8769, allocations: 2.499 MB / 1.372 GB, free: 8.074 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002016/0.8789, allocations: 364 kB / 1.372 GB, free: 7.719 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007936/0.8869, allocations: 2.609 MB / 1.375 GB, free: 5.105 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002218/0.8891, allocations: 1.725 MB / 1.376 GB, free: 3.375 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004827/0.894, allocations: 2.565 MB / 1.379 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.9059, allocations: 7.803 MB / 1.387 GB, free: 8.965 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.9059, allocations: 3.938 kB / 1.387 GB, free: 8.961 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9059, allocations: 0 / 1.387 GB, free: 8.961 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001914/0.9061, allocations: 0 / 1.387 GB, free: 8.961 MB / 1.107 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.0115/0.9176, allocations: 5.911 MB / 1.392 GB, free: 2.941 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.9177, allocations: 12.03 kB / 1.392 GB, free: 2.93 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008143/0.9258, allocations: 1.558 MB / 1.394 GB, free: 1.367 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.9376, allocations: 7.384 MB / 1.401 GB, free: 9.918 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.9377, allocations: 139.2 kB / 1.401 GB, free: 9.781 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.938, allocations: 188 kB / 1.401 GB, free: 9.598 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004879/0.9429, allocations: 2.672 MB / 1.404 GB, free: 6.836 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.943, allocations: 7.938 kB / 1.404 GB, free: 6.828 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.9431, allocations: 68 kB / 1.404 GB, free: 6.762 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.9432, allocations: 40 kB / 1.404 GB, free: 6.723 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005303/0.9485, allocations: 2.1 MB / 1.406 GB, free: 4.617 MB / 1.123 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.01491/0.9634, allocations: 11.09 MB / 1.417 GB, free: 9.047 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005043/0.9685, allocations: 1.754 MB / 1.419 GB, free: 7.289 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.9705, allocations: 0.7801 MB / 1.419 GB, free: 6.504 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005319/0.9758, allocations: 4.099 MB / 1.423 GB, free: 2.133 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00261/0.9784, allocations: 1.338 MB / 1.425 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of pre-optimization done (n=74): time 2.214e-06/0.9785, allocations: 0 / 1.425 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of matching and sorting (n=74): time 0.006727/0.9852, allocations: 2.646 MB / 1.427 GB, free: 14.12 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.9853, allocations: 137.2 kB / 1.427 GB, free: 13.96 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007001/0.9923, allocations: 5.732 MB / 1.433 GB, free: 8.254 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.9924, allocations: 49.7 kB / 1.433 GB, free: 8.199 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.9941, allocations: 1.994 MB / 1.435 GB, free: 6.191 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.9943, allocations: 289.7 kB / 1.435 GB, free: 5.906 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009243/0.9953, allocations: 0.7011 MB / 1.436 GB, free: 5.195 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.9954, allocations: 301.1 kB / 1.436 GB, free: 4.898 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003337/0.9987, allocations: 2.054 MB / 1.438 GB, free: 2.832 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003951/1.003, allocations: 2.924 MB / 1.441 GB, free: 15.56 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006661/1.009, allocations: 4.582 MB / 1.446 GB, free: 10.69 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/1.009, allocations: 8 kB / 1.446 GB, free: 10.68 MB / 1.17 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.008794/1.018, allocations: 5.376 MB / 1.451 GB, free: 5.293 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/1.018, allocations: 12 kB / 1.451 GB, free: 5.281 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.201e-05/1.018, allocations: 20 kB / 1.451 GB, free: 5.262 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.671e-05/1.018, allocations: 32.78 kB / 1.451 GB, free: 5.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/1.022, allocations: 0.6551 MB / 1.452 GB, free: 4.574 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/1.024, allocations: 2.383 MB / 1.454 GB, free: 2.121 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/1.027, allocations: 409.6 kB / 1.454 GB, free: 1.719 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/1.027, allocations: 155.9 kB / 1.454 GB, free: 1.566 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004646/1.032, allocations: 2.867 MB / 1.457 GB, free: 14.69 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00368/1.036, allocations: 2.701 MB / 1.46 GB, free: 11.64 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006032/1.042, allocations: 4.137 MB / 1.464 GB, free: 7.215 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.358e-05/1.042, allocations: 4 kB / 1.464 GB, free: 7.211 MB / 1.186 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.008415/1.05, allocations: 4.927 MB / 1.469 GB, free: 2.27 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.05, allocations: 12 kB / 1.469 GB, free: 2.258 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/1.05, allocations: 24 kB / 1.469 GB, free: 2.234 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/1.05, allocations: 35.94 kB / 1.469 GB, free: 2.199 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/1.053, allocations: 0.6362 MB / 1.469 GB, free: 1.562 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-05/1.053, allocations: 47.8 kB / 1.469 GB, free: 1.516 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.057, allocations: 326.6 kB / 1.47 GB, free: 1.195 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/1.057, allocations: 148 kB / 1.47 GB, free: 1.051 MB / 1.186 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.000563/1.058, allocations: 315.5 kB / 1.47 GB, free: 0.7344 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.059, allocations: 456.8 kB / 1.471 GB, free: 292 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006282/1.065, allocations: 2.413 MB / 1.473 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/1.065, allocations: 3.984 kB / 1.473 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.065, allocations: 0 / 1.473 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/1.067, allocations: 0.767 MB / 1.474 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009583/1.068, allocations: 19.94 kB / 1.474 GB, free: 13.04 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/1.071, allocations: 147.8 kB / 1.474 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/1.071, allocations: 68.84 kB / 1.474 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008135/1.079, allocations: 2.077 MB / 1.476 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007549/1.087, allocations: 3.358 MB / 1.479 GB, free: 7.363 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002075/1.089, allocations: 0.8393 MB / 1.48 GB, free: 6.52 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00645/1.095, allocations: 3.893 MB / 1.484 GB, free: 2.652 MB / 1.201 GB Notification: Performance of Backend: time 6.61e-07/1.095, allocations: 0 / 1.484 GB, free: 2.652 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0135/1.109, allocations: 6.189 MB / 1.49 GB, free: 12.63 MB / 1.217 GB Notification: Performance of SimCode: time 0.01692/1.126, allocations: 9.684 MB / 1.499 GB, free: 2.949 MB / 1.217 GB Notification: Performance of Templates: time 0.6992/1.825, allocations: 101.2 MB / 1.598 GB, free: 311.9 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)