Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages") translateModel(BuildingSystems.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8112/0.8112, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001759/0.001759, allocations: 180.7 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 426.3 MB, free: 8.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008885/0.0008883, allocations: 94.34 kB / 0.4945 GB, free: 8.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001657/0.001657, allocations: 272 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005411/0.0005412, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4478, allocations: 79.29 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7265/1.174, allocations: 415.5 MB / 1.145 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.175, allocations: 101.2 kB / 1.145 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.243/9.417, allocations: 2.321 GB / 3.467 GB, free: 87.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.004e-06/9.417, allocations: 3.969 kB / 3.467 GB, free: 87.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0009747/9.418, allocations: 106.2 kB / 3.467 GB, free: 87.07 MB / 0.7448 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.02634/9.445, allocations: 7.778 MB / 3.474 GB, free: 84.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/9.445, allocations: 9.875 kB / 3.474 GB, free: 84.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007569/9.452, allocations: 1.188 MB / 3.476 GB, free: 84.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06852/9.521, allocations: 30.02 MB / 3.505 GB, free: 81.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/9.521, allocations: 182.3 kB / 3.505 GB, free: 81.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/9.522, allocations: 238.4 kB / 3.505 GB, free: 81.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008091/9.531, allocations: 2.913 MB / 3.508 GB, free: 81.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.051e-05/9.531, allocations: 7.5 kB / 3.508 GB, free: 81.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006327/9.531, allocations: 83.78 kB / 3.508 GB, free: 81.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/9.531, allocations: 51.19 kB / 3.508 GB, free: 81.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005524/9.537, allocations: 2.122 MB / 3.51 GB, free: 81.25 MB / 0.7448 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.02646/9.563, allocations: 13.17 MB / 3.523 GB, free: 73.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004799/9.568, allocations: 1.634 MB / 3.525 GB, free: 72.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/9.57, allocations: 0.714 MB / 3.525 GB, free: 72.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/9.583, allocations: 5.196 MB / 3.531 GB, free: 69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002464/9.585, allocations: 1.219 MB / 3.532 GB, free: 68.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002788/9.588, allocations: 233.2 kB / 3.532 GB, free: 68.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 9.097e-06/9.588, allocations: 0 / 3.532 GB, free: 68.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.01172/9.6, allocations: 3.446 MB / 3.535 GB, free: 66.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/9.6, allocations: 115.4 kB / 3.535 GB, free: 66.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01456/9.615, allocations: 5.767 MB / 3.541 GB, free: 63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0007637/9.615, allocations: 61.42 kB / 3.541 GB, free: 62.94 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.003444/9.619, allocations: 2.139 MB / 3.543 GB, free: 60.96 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008779/9.62, allocations: 319.4 kB / 3.544 GB, free: 60.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004858/9.62, allocations: 40 kB / 3.544 GB, free: 60.6 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002291/9.62, allocations: 389.6 kB / 3.544 GB, free: 60.22 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/9.623, allocations: 0.8667 MB / 3.545 GB, free: 59.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/9.626, allocations: 1.935 MB / 3.547 GB, free: 56.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005329/9.631, allocations: 2.671 MB / 3.549 GB, free: 53.83 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.125e-05/9.632, allocations: 8 kB / 3.549 GB, free: 53.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008885/9.64, allocations: 3.2 MB / 3.552 GB, free: 50.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006444/9.641, allocations: 0.9665 MB / 3.553 GB, free: 49.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.959e-05/9.641, allocations: 28 kB / 3.553 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/9.643, allocations: 393.8 kB / 3.554 GB, free: 48.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/9.646, allocations: 0.5443 MB / 3.554 GB, free: 48.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/9.649, allocations: 5.263 MB / 3.559 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004437/9.654, allocations: 191.8 kB / 3.56 GB, free: 42.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000834/9.655, allocations: 211.9 kB / 3.56 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/9.655, allocations: 8.625 kB / 3.56 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006839/9.661, allocations: 2.902 MB / 3.563 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.883e-05/9.662, allocations: 28 kB / 3.563 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/9.663, allocations: 391 kB / 3.563 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/9.665, allocations: 0.585 MB / 3.564 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/9.667, allocations: 2.572 MB / 3.566 GB, free: 35.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004237/9.671, allocations: 179.8 kB / 3.566 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006629/9.672, allocations: 207.9 kB / 3.566 GB, free: 35.45 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003774/9.676, allocations: 1.168 MB / 3.568 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/9.677, allocations: 434.3 kB / 3.568 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008435/9.686, allocations: 2.765 MB / 3.571 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.648e-05/9.686, allocations: 15.98 kB / 3.571 GB, free: 31.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/9.686, allocations: 0 / 3.571 GB, free: 31.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/9.686, allocations: 7.984 kB / 3.571 GB, free: 31.08 MB / 0.7448 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 postOpt removeSimpleEquations (simulation): time 0.01729/9.703, allocations: 6.109 MB / 3.577 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/9.703, allocations: 0 / 3.577 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/9.704, allocations: 215.8 kB / 3.577 GB, free: 24.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/9.706, allocations: 416.3 kB / 3.577 GB, free: 24.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/9.706, allocations: 47.95 kB / 3.577 GB, free: 24.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/9.709, allocations: 4.962 MB / 3.582 GB, free: 19.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/9.709, allocations: 0 / 3.582 GB, free: 19.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006156/9.715, allocations: 2.478 MB / 3.585 GB, free: 16.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003058/9.718, allocations: 0.9324 MB / 3.586 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001736/9.72, allocations: 24 kB / 3.586 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003425/9.723, allocations: 163.7 kB / 3.586 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/9.723, allocations: 88.88 kB / 3.586 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/9.724, allocations: 75.94 kB / 3.586 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.009094/9.733, allocations: 3.955 MB / 3.59 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.72e-07/9.733, allocations: 3.938 kB / 3.59 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01004/9.743, allocations: 1.962 MB / 3.592 GB, free: 9.332 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005266/9.748, allocations: 2.387 MB / 3.594 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01006/9.758, allocations: 3.844 MB / 3.598 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/9.758, allocations: 4.188 kB / 3.598 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002339/9.761, allocations: 0.9348 MB / 3.599 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01393/9.775, allocations: 2.148 MB / 3.601 GB, free: 416 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02201/9.797, allocations: 8.333 MB / 3.609 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006034/9.803, allocations: 2.601 MB / 3.611 GB, free: 5.406 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.008482/9.811, allocations: 1.221 MB / 3.613 GB, free: 4.355 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/9.813, allocations: 362.7 kB / 3.613 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of SimCode: time 9.12e-07/9.813, allocations: 3.938 kB / 3.613 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of Templates: time 0.7191/10.53, allocations: 107.1 MB / 3.718 GB, free: 92.3 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe 2>&1)