Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, 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.001178/0.001178, 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.284/1.284, 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.002064/0.002065, allocations: 293.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9228/0.9228, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 99.84 kB / 0.6823 GB, free: 6.797 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.365, allocations: 86.96 MB / 0.7672 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified6): time 0.6468/1.012, allocations: 357.9 MB / 1.117 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.103/1.115, allocations: 75.88 MB / 1.191 GB, free: 148 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01398/1.129, allocations: 429.7 kB / 1.191 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01531/1.144, allocations: 5.763 MB / 1.197 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03003/1.174, allocations: 11.66 MB / 1.208 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0185/1.193, allocations: 8.317 MB / 1.216 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.08294/1.276, allocations: 65.9 MB / 1.281 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02255/1.298, allocations: 16.31 MB / 1.297 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0251/1.323, allocations: 13.2 MB / 1.309 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8053/2.129, allocations: 10.34 MB / 1.32 GB, free: 72.09 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.005764/2.135, allocations: 1.146 MB / 1.321 GB, free: 72.09 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/2.15, allocations: 4.651 MB / 1.325 GB, free: 72.09 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.008454/2.159, allocations: 4.34 MB / 1.329 GB, free: 72.09 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.01681/2.175, allocations: 8.311 MB / 1.338 GB, free: 71.53 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.03077/2.206, allocations: 21.78 MB / 1.359 GB, free: 68.77 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/2.206, allocations: 3.125 kB / 1.359 GB, free: 68.77 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.643e-06/2.206, allocations: 0 / 1.359 GB, free: 68.77 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.000784/2.207, allocations: 0 / 1.359 GB, free: 68.77 MB / 0.9357 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.0465/2.254, allocations: 17.54 MB / 1.376 GB, free: 61.41 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/2.254, allocations: 9.25 kB / 1.376 GB, free: 61.41 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0158/2.269, allocations: 3.088 MB / 1.379 GB, free: 60.53 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03336/2.303, allocations: 16.91 MB / 1.396 GB, free: 57.98 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005569/2.303, allocations: 0.5228 MB / 1.396 GB, free: 57.97 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002668/2.306, allocations: 0.6913 MB / 1.397 GB, free: 57.97 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02025/2.326, allocations: 9.603 MB / 1.406 GB, free: 56.83 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/2.327, allocations: 23.38 kB / 1.406 GB, free: 56.83 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00135/2.328, allocations: 255.7 kB / 1.406 GB, free: 56.83 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/2.328, allocations: 162.5 kB / 1.407 GB, free: 56.83 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/2.343, allocations: 7.972 MB / 1.414 GB, free: 56.79 MB / 0.9357 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.05599/2.399, allocations: 51.51 MB / 1.465 GB, free: 25.21 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009769/2.409, allocations: 6.029 MB / 1.47 GB, free: 24.2 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006181/2.415, allocations: 4.202 MB / 1.475 GB, free: 23.52 MB / 0.9357 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.02271/2.438, allocations: 14.3 MB / 1.489 GB, free: 13.4 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006096/2.444, allocations: 4.203 MB / 1.493 GB, free: 10.37 MB / 0.9357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005426/2.449, allocations: 1.137 MB / 1.494 GB, free: 9.402 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=332): time 6.653e-06/2.449, allocations: 0 / 1.494 GB, free: 9.402 MB / 0.9357 GB Notification: Performance of matching and sorting (n=518): time 0.1743/2.623, allocations: 56.25 MB / 1.549 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/2.624, allocations: 103.5 kB / 1.549 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02523/2.649, allocations: 15.74 MB / 1.564 GB, free: 0.8633 MB / 0.9982 GB Notification: Performance of collectPreVariables (initialization): time 0.001289/2.65, allocations: 165.7 kB / 1.564 GB, free: 0.6953 MB / 0.9982 GB Notification: Performance of collectInitialEqns (initialization): time 0.005866/2.656, allocations: 6.7 MB / 1.571 GB, free: 10.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00185/2.658, allocations: 1.77 MB / 1.573 GB, free: 8.258 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003431/2.661, allocations: 2.205 MB / 1.575 GB, free: 6.039 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.092e-05/2.661, allocations: 301.1 kB / 1.575 GB, free: 5.742 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01338/2.675, allocations: 7.271 MB / 1.582 GB, free: 14.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01536/2.69, allocations: 10.1 MB / 1.592 GB, free: 3.277 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02799/2.718, allocations: 16.21 MB / 1.608 GB, free: 2.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.93e-05/2.718, allocations: 16 kB / 1.608 GB, free: 2.414 MB / 1.045 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.04853/2.767, allocations: 22.19 MB / 1.63 GB, free: 12.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/2.767, allocations: 61.7 kB / 1.63 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.421e-05/2.767, allocations: 63.98 kB / 1.63 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01624/2.783, allocations: 4.985 MB / 1.635 GB, free: 7.492 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01202/2.795, allocations: 2.303 MB / 1.637 GB, free: 5.293 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/2.813, allocations: 14.84 MB / 1.651 GB, free: 6.062 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/2.827, allocations: 0.952 MB / 1.652 GB, free: 5.113 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/2.828, allocations: 0.5192 MB / 1.653 GB, free: 4.594 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01961/2.848, allocations: 9.883 MB / 1.662 GB, free: 10.7 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01513/2.863, allocations: 9.573 MB / 1.672 GB, free: 28 kB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02676/2.89, allocations: 15.18 MB / 1.687 GB, free: 192 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.313e-05/2.89, allocations: 20 kB / 1.687 GB, free: 172 kB / 1.123 GB Notification: Performance of matching and sorting (n=1222) (initialization_lambda0): time 0.04509/2.935, allocations: 20.61 MB / 1.707 GB, free: 11.89 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.997e-05/2.935, allocations: 57.7 kB / 1.707 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-05/2.935, allocations: 66.88 kB / 1.707 GB, free: 11.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01322/2.948, allocations: 4.625 MB / 1.711 GB, free: 7.133 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01076/2.959, allocations: 2.281 MB / 1.714 GB, free: 4.957 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3474/3.307, allocations: 19.17 MB / 1.732 GB, free: 0.5341 GB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01439/3.321, allocations: 0.9958 MB / 1.733 GB, free: 0.5341 GB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009933/3.322, allocations: 499.4 kB / 1.734 GB, free: 0.5341 GB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (883): * Single equations (assignments): 864 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,78), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.001868/3.324, allocations: 0.6655 MB / 1.734 GB, free: 0.5339 GB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002327/3.326, allocations: 1.347 MB / 1.736 GB, free: 0.5339 GB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03329/3.36, allocations: 15.84 MB / 1.751 GB, free: 0.5318 GB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02623/3.386, allocations: 12.76 MB / 1.764 GB, free: 0.5279 GB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/3.386, allocations: 1.875 kB / 1.764 GB, free: 0.5279 GB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006089/3.392, allocations: 2.438 MB / 1.766 GB, free: 0.5273 GB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002288/3.394, allocations: 109.8 kB / 1.766 GB, free: 0.5272 GB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008697/3.403, allocations: 0.7652 MB / 1.767 GB, free: 0.5271 GB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/3.404, allocations: 0.5746 MB / 1.767 GB, free: 0.5271 GB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03169/3.436, allocations: 13.9 MB / 1.781 GB, free: 0.5235 GB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03243/3.468, allocations: 18.07 MB / 1.799 GB, free: 0.5181 GB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009126/3.477, allocations: 5.199 MB / 1.804 GB, free: 0.5142 GB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01375/3.491, allocations: 10.73 MB / 1.814 GB, free: 0.5049 GB / 1.154 GB Notification: Performance of Backend: time 5.61e-07/3.491, allocations: 0 / 1.814 GB, free: 0.5049 GB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.04186/3.533, allocations: 21.63 MB / 1.835 GB, free: 495.9 MB / 1.154 GB Notification: Performance of SimCode: time 0.04591/3.579, allocations: 31.67 MB / 1.866 GB, free: 464.6 MB / 1.154 GB Notification: Performance of Templates: time 0.3817/3.961, allocations: 337.4 MB / 2.196 GB, free: 129.6 MB / 1.154 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)