Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001628/0.001628, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 290.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9227/0.9227, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 96.22 kB / 0.6822 GB, free: 6.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3683, allocations: 86.97 MB / 0.7672 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified4): time 0.6434/1.012, allocations: 357.8 MB / 1.117 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.1083/1.12, allocations: 75.87 MB / 1.191 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01475/1.135, allocations: 433.5 kB / 1.191 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01768/1.152, allocations: 6.474 MB / 1.197 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03687/1.189, allocations: 14.29 MB / 1.211 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02295/1.212, allocations: 9.853 MB / 1.221 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.09618/1.309, allocations: 71.04 MB / 1.29 GB, free: 9.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02765/1.336, allocations: 18.6 MB / 1.308 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4733/1.81, allocations: 16.31 MB / 1.324 GB, free: 64.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02505/1.835, allocations: 15.08 MB / 1.339 GB, free: 63.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.007252/1.842, allocations: 1.76 MB / 1.341 GB, free: 63.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01914/1.861, allocations: 6.011 MB / 1.347 GB, free: 63.61 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.009034/1.87, allocations: 5.831 MB / 1.352 GB, free: 62.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0182/1.888, allocations: 10.25 MB / 1.362 GB, free: 60.3 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.03474/1.923, allocations: 28.42 MB / 1.39 GB, free: 57.36 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.923, allocations: 3.344 kB / 1.39 GB, free: 57.36 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/1.923, allocations: 0 / 1.39 GB, free: 57.36 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0006309/1.924, allocations: 0 / 1.39 GB, free: 57.36 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: 1791 * Number of variables: 1791 Notification: Performance of Generate backend data structure: time 0.05046/1.974, allocations: 21.66 MB / 1.411 GB, free: 49.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.974, allocations: 7.188 kB / 1.411 GB, free: 49.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/1.99, allocations: 3.199 MB / 1.414 GB, free: 48.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03393/2.024, allocations: 19.31 MB / 1.433 GB, free: 45.78 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/2.024, allocations: 0.59 MB / 1.434 GB, free: 45.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002873/2.027, allocations: 0.7975 MB / 1.435 GB, free: 45.76 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02484/2.052, allocations: 15.57 MB / 1.45 GB, free: 41.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/2.052, allocations: 14.84 kB / 1.45 GB, free: 41.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001269/2.053, allocations: 288.7 kB / 1.45 GB, free: 41.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/2.053, allocations: 191.5 kB / 1.45 GB, free: 41.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03/2.083, allocations: 19.95 MB / 1.47 GB, free: 30.02 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.1191/2.202, allocations: 78.56 MB / 1.547 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/2.223, allocations: 11.16 MB / 1.557 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01433/2.237, allocations: 9.355 MB / 1.567 GB, free: 13.23 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 evalFunc (simulation): time 0.06202/2.299, allocations: 32.59 MB / 1.598 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01561/2.315, allocations: 9.353 MB / 1.608 GB, free: 2.871 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02042/2.335, allocations: 5.723 MB / 1.613 GB, free: 13.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=433): time 2.358e-05/2.335, allocations: 11.94 kB / 1.613 GB, free: 13.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=617): time 1.234/3.569, allocations: 182.9 MB / 1.792 GB, free: 0.523 GB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/3.569, allocations: 123.4 kB / 1.792 GB, free: 0.5229 GB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02368/3.593, allocations: 16.29 MB / 1.808 GB, free: 0.5117 GB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.003364/3.596, allocations: 185.7 kB / 1.808 GB, free: 0.5115 GB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.005186/3.601, allocations: 7.109 MB / 1.815 GB, free: 0.5059 GB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.003559/3.605, allocations: 2.11 MB / 1.817 GB, free: 0.505 GB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004561/3.609, allocations: 2.923 MB / 1.82 GB, free: 0.5022 GB / 1.154 GB Notification: Performance of setup shared object (initialization): time 4.094e-05/3.609, allocations: 305.1 kB / 1.82 GB, free: 0.5019 GB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01629/3.626, allocations: 11.45 MB / 1.831 GB, free: 0.4907 GB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02127/3.647, allocations: 14.11 MB / 1.845 GB, free: 487.4 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03985/3.687, allocations: 24.75 MB / 1.869 GB, free: 461.8 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.624e-05/3.687, allocations: 12 kB / 1.869 GB, free: 461.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.5974/4.284, allocations: 115.8 MB / 1.982 GB, free: 346.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/4.285, allocations: 53.92 kB / 1.982 GB, free: 346.4 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.477e-05/4.285, allocations: 56 kB / 1.982 GB, free: 346.3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6203/4.905, allocations: 117.9 MB / 2.098 GB, free: 228.5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/4.918, allocations: 2.317 MB / 2.1 GB, free: 226.2 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1397/5.057, allocations: 81.87 MB / 2.18 GB, free: 143.9 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01756/5.075, allocations: 0.9539 MB / 2.181 GB, free: 143 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/5.077, allocations: 0.8075 MB / 2.181 GB, free: 142.2 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02154/5.099, allocations: 14.31 MB / 2.195 GB, free: 127.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01707/5.116, allocations: 13.59 MB / 2.209 GB, free: 113.3 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03419/5.15, allocations: 23.73 MB / 2.232 GB, free: 88.75 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.571e-05/5.15, allocations: 16 kB / 2.232 GB, free: 88.73 MB / 1.154 GB Notification: Performance of matching and sorting (n=1297) (initialization_lambda0): time 0.9646/6.115, allocations: 114.2 MB / 2.343 GB, free: 0.5156 GB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.365e-05/6.115, allocations: 55.61 kB / 2.344 GB, free: 0.5155 GB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-05/6.115, allocations: 50.59 kB / 2.344 GB, free: 0.5155 GB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6174/6.732, allocations: 117.6 MB / 2.458 GB, free: 438 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/6.743, allocations: 2.3 MB / 2.461 GB, free: 435.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.15/6.893, allocations: 86.06 MB / 2.545 GB, free: 349.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01842/6.912, allocations: 1.005 MB / 2.546 GB, free: 348.7 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002835/6.915, allocations: 0.7824 MB / 2.546 GB, free: 347.9 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * 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 (909): * Single equations (assignments): 891 * 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 {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.003054/6.918, allocations: 0.6684 MB / 2.547 GB, free: 347.3 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004591/6.922, allocations: 1.439 MB / 2.548 GB, free: 346.6 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2025/7.125, allocations: 49.06 MB / 2.596 GB, free: 297.9 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1897/7.315, allocations: 43.31 MB / 2.639 GB, free: 254.6 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.329e-05/7.315, allocations: 4 kB / 2.639 GB, free: 254.6 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009727/7.324, allocations: 2.963 MB / 2.642 GB, free: 252.4 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005235/7.33, allocations: 124 kB / 2.642 GB, free: 252.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0135/7.343, allocations: 0.7548 MB / 2.642 GB, free: 251.5 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004456/7.348, allocations: 0.9028 MB / 2.643 GB, free: 250.6 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06022/7.408, allocations: 23.54 MB / 2.666 GB, free: 227.4 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04789/7.456, allocations: 26.59 MB / 2.692 GB, free: 200.9 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01413/7.47, allocations: 8.248 MB / 2.7 GB, free: 192.6 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01715/7.487, allocations: 11.13 MB / 2.711 GB, free: 181.6 MB / 1.154 GB Notification: Performance of Backend: time 8.51e-07/7.487, allocations: 0 / 2.711 GB, free: 181.6 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.07377/7.561, allocations: 35.65 MB / 2.746 GB, free: 146.2 MB / 1.154 GB Notification: Performance of SimCode: time 0.05322/7.614, allocations: 35.2 MB / 2.78 GB, free: 111.2 MB / 1.154 GB Notification: Performance of Templates: time 1.142/8.756, allocations: 481 MB / 3.25 GB, free: 211.5 MB / 1.154 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)