Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.MoverStages") translateModel(IBPSA.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001563/0.001563, allocations: 100.3 kB / 16.27 MB, free: 5.93 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.001927/0.001928, allocations: 190.7 kB / 17.2 MB, free: 5.574 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.451/1.451, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7882/0.7882, allocations: 126.1 MB / 417.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.91 kB / 0.495 GB, free: 3.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3926, allocations: 78.7 MB / 0.5718 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.MoverStages): time 0.06983/0.4625, allocations: 75.85 MB / 0.6459 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.04127/0.5038, allocations: 26.69 MB / 0.6719 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004948/0.5088, allocations: 123.4 kB / 0.6721 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0208/0.5296, allocations: 12.8 MB / 0.6846 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.5421, allocations: 3.841 MB / 0.6883 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008576/0.5507, allocations: 3.266 MB / 0.6915 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.03511/0.5858, allocations: 23.64 MB / 0.7146 GB, free: 4.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007594/0.5934, allocations: 2.789 MB / 0.7173 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00804/0.6014, allocations: 3.089 MB / 0.7203 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004436/0.6059, allocations: 2.443 MB / 0.7227 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001446/0.6074, allocations: 360 kB / 0.7231 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007472/0.6148, allocations: 3.17 MB / 0.7262 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.6171, allocations: 1.71 MB / 0.7278 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005028/0.6222, allocations: 2.554 MB / 0.7303 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.6351, allocations: 8.159 MB / 0.7383 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.6351, allocations: 0 / 0.7383 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6352, allocations: 0 / 0.7383 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002586/0.6354, allocations: 4 kB / 0.7383 GB, free: 11.77 MB / 0.5762 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.01391/0.6493, allocations: 5.728 MB / 0.7439 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.6494, allocations: 12.03 kB / 0.7439 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008415/0.6578, allocations: 1.527 MB / 0.7454 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3512/1.009, allocations: 6.895 MB / 0.7521 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009347/1.01, allocations: 264.3 kB / 0.7524 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00098/1.011, allocations: 189.8 kB / 0.7526 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007929/1.019, allocations: 2.689 MB / 0.7552 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/1.019, allocations: 9.281 kB / 0.7552 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/1.019, allocations: 68.12 kB / 0.7553 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-05/1.019, allocations: 39.53 kB / 0.7553 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006228/1.026, allocations: 2.13 MB / 0.7574 GB, free: 155.9 MB / 0.5762 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.01643/1.042, allocations: 11.16 MB / 0.7683 GB, free: 148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00533/1.047, allocations: 1.797 MB / 0.77 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/1.049, allocations: 0.8048 MB / 0.7708 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006779/1.056, allocations: 4.108 MB / 0.7748 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002812/1.059, allocations: 1.348 MB / 0.7761 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 3.386e-06/1.059, allocations: 6.938 kB / 0.7761 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.007965/1.067, allocations: 2.671 MB / 0.7788 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/1.067, allocations: 137.1 kB / 0.7789 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007271/1.074, allocations: 5.515 MB / 0.7843 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004812/1.075, allocations: 52.92 kB / 0.7843 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.076, allocations: 1.956 MB / 0.7862 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/1.077, allocations: 277.6 kB / 0.7865 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009146/1.078, allocations: 0.7361 MB / 0.7872 GB, free: 136 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.023e-05/1.078, allocations: 301.1 kB / 0.7875 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003416/1.081, allocations: 2.235 MB / 0.7897 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003636/1.085, allocations: 3.133 MB / 0.7927 GB, free: 131 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006432/1.091, allocations: 4.949 MB / 0.7976 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/1.091, allocations: 4 kB / 0.7976 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.009702/1.101, allocations: 5.762 MB / 0.8032 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/1.101, allocations: 19.03 kB / 0.8032 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/1.101, allocations: 24.03 kB / 0.8032 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.322e-05/1.101, allocations: 36 kB / 0.8033 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.104, allocations: 0.6592 MB / 0.8039 GB, free: 119.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/1.106, allocations: 2.382 MB / 0.8063 GB, free: 116.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/1.11, allocations: 430 kB / 0.8067 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/1.11, allocations: 168 kB / 0.8068 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005133/1.115, allocations: 3.047 MB / 0.8098 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003363/1.119, allocations: 2.915 MB / 0.8126 GB, free: 110 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005711/1.124, allocations: 4.508 MB / 0.817 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.207e-05/1.124, allocations: 4 kB / 0.8171 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=415) (initialization_lambda0): time 0.008558/1.133, allocations: 5.297 MB / 0.8222 GB, free: 99.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.133, allocations: 20.77 kB / 0.8222 GB, free: 99.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/1.133, allocations: 20 kB / 0.8223 GB, free: 99.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/1.133, allocations: 40 kB / 0.8223 GB, free: 99.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/1.136, allocations: 0.6592 MB / 0.8229 GB, free: 99.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.289e-05/1.136, allocations: 47.86 kB / 0.823 GB, free: 99.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/1.14, allocations: 339.8 kB / 0.8233 GB, free: 98.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.14, allocations: 167.2 kB / 0.8235 GB, free: 98.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (290): * Single equations (assignments): 277 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 7 * 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.000686/1.141, allocations: 336.8 kB / 0.8238 GB, free: 98.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009541/1.142, allocations: 430.2 kB / 0.8242 GB, free: 97.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006051/1.148, allocations: 2.425 MB / 0.8266 GB, free: 95.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/1.148, allocations: 20 kB / 0.8266 GB, free: 95.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.148, allocations: 0 / 0.8266 GB, free: 95.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/1.148, allocations: 3.984 kB / 0.8266 GB, free: 95.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/1.158, allocations: 5.097 MB / 0.8316 GB, free: 90.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.158, allocations: 4 kB / 0.8316 GB, free: 90.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.16, allocations: 287.8 kB / 0.8319 GB, free: 89.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/1.16, allocations: 100.8 kB / 0.8319 GB, free: 89.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/1.16, allocations: 35.95 kB / 0.832 GB, free: 89.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009412/1.161, allocations: 2.15 MB / 0.8341 GB, free: 87.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.161, allocations: 4 kB / 0.8341 GB, free: 87.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005357/1.166, allocations: 2.348 MB / 0.8364 GB, free: 85.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.168, allocations: 0.7448 MB / 0.8371 GB, free: 84.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005431/1.168, allocations: 23.17 kB / 0.8371 GB, free: 84.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.17, allocations: 159.7 kB / 0.8373 GB, free: 84.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/1.171, allocations: 68.91 kB / 0.8373 GB, free: 84.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/1.171, allocations: 55.95 kB / 0.8374 GB, free: 84.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004673/1.175, allocations: 3.705 MB / 0.841 GB, free: 80.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3e-07/1.175, allocations: 3.938 kB / 0.841 GB, free: 80.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005195/1.181, allocations: 1.918 MB / 0.8429 GB, free: 78.61 MB / 0.5762 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 (92): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0025/1.183, allocations: 1.141 MB / 0.844 GB, free: 77.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.194, allocations: 6.38 MB / 0.8502 GB, free: 71.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.194, allocations: 0 / 0.8502 GB, free: 71.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002362/1.197, allocations: 0.936 MB / 0.8512 GB, free: 70.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01106/1.208, allocations: 2.254 MB / 0.8534 GB, free: 68.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/1.226, allocations: 7.688 MB / 0.8609 GB, free: 60.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003262/1.23, allocations: 2.637 MB / 0.8634 GB, free: 57.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005987/1.236, allocations: 1.183 MB / 0.8646 GB, free: 56.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.237, allocations: 347.3 kB / 0.8649 GB, free: 56.41 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/1.237, allocations: 0 / 0.8649 GB, free: 56.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.1429/1.38, allocations: 95.73 MB / 0.9584 GB, free: 9.523 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.MoverStages.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.MoverStages.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.MoverStages.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Examples.MoverStages.pipe 2>&1)