Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 116.2 kB / 16.42 MB, free: 6.02 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.001331/0.001331, allocations: 187.2 kB / 17.35 MB, free: 5.633 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002102, allocations: 288.8 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9155/0.9155, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 99.83 kB / 0.6822 GB, free: 6.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.385, allocations: 86.97 MB / 0.7672 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified5): time 0.6542/1.039, allocations: 357.8 MB / 1.117 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.1036/1.143, allocations: 75.88 MB / 1.191 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01549/1.158, allocations: 433.5 kB / 1.191 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01576/1.174, allocations: 5.755 MB / 1.197 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.02947/1.204, allocations: 11.67 MB / 1.208 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01849/1.222, allocations: 8.319 MB / 1.216 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.08265/1.305, allocations: 65.91 MB / 1.281 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02294/1.328, allocations: 17.4 MB / 1.298 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02895/1.357, allocations: 14.84 MB / 1.312 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4506/1.808, allocations: 13.99 MB / 1.326 GB, free: 71.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.005762/1.813, allocations: 1.614 MB / 1.327 GB, free: 71.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/1.828, allocations: 5.122 MB / 1.332 GB, free: 71.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.006545/1.834, allocations: 5.474 MB / 1.338 GB, free: 71.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01574/1.85, allocations: 9.444 MB / 1.347 GB, free: 69.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02973/1.88, allocations: 25.97 MB / 1.372 GB, free: 66.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/1.88, allocations: 2.375 kB / 1.372 GB, free: 66.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.72e-07/1.88, allocations: 0 / 1.372 GB, free: 66.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0006193/1.88, allocations: 0 / 1.372 GB, free: 66.94 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1537 * Number of variables: 1537 Notification: Performance of Generate backend data structure: time 0.05152/1.932, allocations: 20.29 MB / 1.392 GB, free: 59.56 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.932, allocations: 15.14 kB / 1.392 GB, free: 59.56 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/1.95, allocations: 3.226 MB / 1.395 GB, free: 58.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0324/1.982, allocations: 17.93 MB / 1.413 GB, free: 56.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000426/1.983, allocations: 0.5257 MB / 1.413 GB, free: 56.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002795/1.986, allocations: 0.6916 MB / 1.414 GB, free: 56.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02616/2.012, allocations: 14.67 MB / 1.428 GB, free: 53.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/2.012, allocations: 2.625 kB / 1.428 GB, free: 53.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001344/2.013, allocations: 251.7 kB / 1.429 GB, free: 53.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.178e-05/2.013, allocations: 151 kB / 1.429 GB, free: 53.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03028/2.044, allocations: 19.54 MB / 1.448 GB, free: 50.48 MB / 0.9356 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.1109/2.155, allocations: 74.37 MB / 1.52 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02032/2.175, allocations: 11.13 MB / 1.531 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01525/2.19, allocations: 9.323 MB / 1.54 GB, free: 10.28 MB / 0.9825 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 evalFunc (simulation): time 0.06476/2.255, allocations: 31.7 MB / 1.571 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01678/2.272, allocations: 9.349 MB / 1.58 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02091/2.293, allocations: 5.83 MB / 1.586 GB, free: 11.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=399): time 2.337e-05/2.293, allocations: 0 / 1.586 GB, free: 11.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=585): time 1.36/3.653, allocations: 202.5 MB / 1.784 GB, free: 0.5272 GB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/3.653, allocations: 114.8 kB / 1.784 GB, free: 0.5271 GB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02119/3.674, allocations: 15.5 MB / 1.799 GB, free: 0.5197 GB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.003144/3.677, allocations: 177.5 kB / 1.799 GB, free: 0.5196 GB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00467/3.682, allocations: 6.486 MB / 1.806 GB, free: 0.5151 GB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.003404/3.685, allocations: 1.987 MB / 1.808 GB, free: 0.5146 GB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004552/3.69, allocations: 2.849 MB / 1.81 GB, free: 0.5132 GB / 1.154 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/3.69, allocations: 301.1 kB / 1.811 GB, free: 0.5129 GB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01672/3.706, allocations: 11.45 MB / 1.822 GB, free: 0.5049 GB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01874/3.725, allocations: 13.91 MB / 1.835 GB, free: 0.4904 GB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03749/3.763, allocations: 24.48 MB / 1.859 GB, free: 477 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.823e-05/3.763, allocations: 12 kB / 1.859 GB, free: 477 MB / 1.154 GB Notification: Performance of matching and sorting (n=1226) (initialization): time 0.6701/4.433, allocations: 129.1 MB / 1.985 GB, free: 348.2 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/4.433, allocations: 49.7 kB / 1.986 GB, free: 348.2 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.51e-05/4.433, allocations: 48 kB / 1.986 GB, free: 348.1 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7027/5.136, allocations: 136.4 MB / 2.119 GB, free: 211.9 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01185/5.148, allocations: 2.177 MB / 2.121 GB, free: 209.7 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2068/5.355, allocations: 99.92 MB / 2.218 GB, free: 109.4 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01802/5.373, allocations: 0.9702 MB / 2.219 GB, free: 108.4 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00309/5.376, allocations: 0.7997 MB / 2.22 GB, free: 107.6 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02531/5.401, allocations: 14.07 MB / 2.234 GB, free: 93.54 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02159/5.423, allocations: 13.4 MB / 2.247 GB, free: 79.21 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03873/5.461, allocations: 23.46 MB / 2.27 GB, free: 55.05 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.385e-05/5.462, allocations: 12 kB / 2.27 GB, free: 55.04 MB / 1.154 GB Notification: Performance of matching and sorting (n=1226) (initialization_lambda0): time 1.039/6.501, allocations: 127.6 MB / 2.394 GB, free: 0.4987 GB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/6.501, allocations: 48.73 kB / 2.395 GB, free: 0.4987 GB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-05/6.501, allocations: 46.34 kB / 2.395 GB, free: 0.4987 GB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6948/7.196, allocations: 136.1 MB / 2.527 GB, free: 379.2 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/7.206, allocations: 2.147 MB / 2.53 GB, free: 377.1 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1805/7.387, allocations: 104.6 MB / 2.632 GB, free: 272.4 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01814/7.405, allocations: 1.011 MB / 2.633 GB, free: 271.4 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002938/7.408, allocations: 0.7721 MB / 2.633 GB, free: 270.7 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 801 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(34,41,81.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.004382/7.412, allocations: 0.6315 MB / 2.634 GB, free: 270.1 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005037/7.417, allocations: 1.358 MB / 2.635 GB, free: 269.4 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2202/7.638, allocations: 53.14 MB / 2.687 GB, free: 216.5 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2044/7.842, allocations: 47.41 MB / 2.734 GB, free: 169 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.557e-05/7.842, allocations: 7.938 kB / 2.734 GB, free: 169 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008746/7.851, allocations: 2.852 MB / 2.736 GB, free: 166.9 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003448/7.854, allocations: 120 kB / 2.736 GB, free: 166.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01124/7.866, allocations: 0.78 MB / 2.737 GB, free: 166 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004585/7.87, allocations: 0.9377 MB / 2.738 GB, free: 165.1 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06103/7.931, allocations: 24.04 MB / 2.762 GB, free: 141.3 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04628/7.977, allocations: 26.4 MB / 2.787 GB, free: 114.8 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01353/7.991, allocations: 8.232 MB / 2.795 GB, free: 106.6 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0148/8.006, allocations: 10.58 MB / 2.806 GB, free: 96.07 MB / 1.154 GB Notification: Performance of Backend: time 1.243e-06/8.006, allocations: 4 kB / 2.806 GB, free: 96.07 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.07881/8.085, allocations: 36.05 MB / 2.841 GB, free: 60.24 MB / 1.154 GB Notification: Performance of SimCode: time 0.05178/8.137, allocations: 32.99 MB / 2.873 GB, free: 27.48 MB / 1.154 GB Notification: Performance of Templates: time 1.135/9.271, allocations: 466.7 MB / 3.329 GB, free: 147.2 MB / 1.154 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)