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.00109/0.00109, allocations: 115.2 kB / 16.42 MB, free: 6.492 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.001042/0.001042, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.283/1.283, allocations: 222.9 MB / 241.1 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.002091/0.002091, allocations: 284.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9161/0.9161, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 95.86 kB / 0.6822 GB, free: 6.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3765, allocations: 86.99 MB / 0.7672 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified4): time 0.6537/1.03, allocations: 357.8 MB / 1.117 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.1045/1.135, allocations: 75.88 MB / 1.191 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01408/1.149, allocations: 433.5 kB / 1.191 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01719/1.166, allocations: 6.342 MB / 1.197 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03468/1.201, allocations: 13.66 MB / 1.211 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02195/1.223, allocations: 9.831 MB / 1.22 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.09375/1.317, allocations: 70.96 MB / 1.289 GB, free: 10.49 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02889/1.345, allocations: 18.61 MB / 1.308 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8743/2.22, allocations: 16.28 MB / 1.324 GB, free: 64.61 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02543/2.245, allocations: 15.09 MB / 1.338 GB, free: 64.25 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.01123/2.257, allocations: 1.752 MB / 1.34 GB, free: 64.25 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02025/2.277, allocations: 6.013 MB / 1.346 GB, free: 64.24 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.009679/2.287, allocations: 5.828 MB / 1.352 GB, free: 63.58 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02078/2.307, allocations: 10.25 MB / 1.362 GB, free: 60.93 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.03546/2.343, allocations: 28.42 MB / 1.389 GB, free: 58 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/2.343, allocations: 3.094 kB / 1.389 GB, free: 58 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.633e-06/2.343, allocations: 0 / 1.389 GB, free: 58 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0007489/2.344, allocations: 0 / 1.389 GB, free: 58 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: 1791 * Number of variables: 1791 Notification: Performance of Generate backend data structure: time 0.05792/2.402, allocations: 21.66 MB / 1.41 GB, free: 50.09 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/2.402, allocations: 10.75 kB / 1.41 GB, free: 50.09 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01857/2.42, allocations: 3.195 MB / 1.414 GB, free: 49.13 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03703/2.457, allocations: 19.3 MB / 1.432 GB, free: 46.42 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004906/2.458, allocations: 0.5938 MB / 1.433 GB, free: 46.4 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/2.461, allocations: 0.7997 MB / 1.434 GB, free: 46.4 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02618/2.488, allocations: 15.56 MB / 1.449 GB, free: 42.3 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/2.488, allocations: 11.81 kB / 1.449 GB, free: 42.3 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001325/2.489, allocations: 290.8 kB / 1.449 GB, free: 42.3 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/2.489, allocations: 192.5 kB / 1.449 GB, free: 42.29 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03156/2.521, allocations: 19.94 MB / 1.469 GB, free: 31.2 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.1232/2.644, allocations: 78.57 MB / 1.546 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01992/2.664, allocations: 11.17 MB / 1.557 GB, free: 7.742 MB / 0.9982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01506/2.679, allocations: 9.349 MB / 1.566 GB, free: 14.39 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.06276/2.742, allocations: 32.59 MB / 1.598 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01682/2.759, allocations: 9.356 MB / 1.607 GB, free: 4.02 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0215/2.78, allocations: 5.723 MB / 1.612 GB, free: 14.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=433): time 1.877e-05/2.78, allocations: 0 / 1.612 GB, free: 14.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=617): time 1.239/4.019, allocations: 182.9 MB / 1.791 GB, free: 0.5237 GB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/4.019, allocations: 116 kB / 1.791 GB, free: 0.5236 GB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02522/4.044, allocations: 16.3 MB / 1.807 GB, free: 0.5128 GB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.003516/4.048, allocations: 189.7 kB / 1.807 GB, free: 0.5126 GB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.007763/4.056, allocations: 7.119 MB / 1.814 GB, free: 0.507 GB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.004285/4.06, allocations: 2.104 MB / 1.816 GB, free: 0.5061 GB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01066/4.071, allocations: 2.927 MB / 1.819 GB, free: 0.5033 GB / 1.154 GB Notification: Performance of setup shared object (initialization): time 3.851e-05/4.071, allocations: 305.1 kB / 1.819 GB, free: 0.503 GB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01949/4.09, allocations: 11.45 MB / 1.83 GB, free: 0.4918 GB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02259/4.113, allocations: 14.11 MB / 1.844 GB, free: 488.5 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04037/4.153, allocations: 24.75 MB / 1.868 GB, free: 463 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.744e-05/4.153, allocations: 16 kB / 1.868 GB, free: 462.9 MB / 1.154 GB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.6022/4.755, allocations: 115.8 MB / 1.981 GB, free: 347.6 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/4.756, allocations: 53.7 kB / 1.981 GB, free: 347.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-05/4.756, allocations: 52 kB / 1.982 GB, free: 347.5 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6121/5.368, allocations: 117.9 MB / 2.097 GB, free: 229.6 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01248/5.38, allocations: 2.317 MB / 2.099 GB, free: 227.3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1373/5.518, allocations: 81.86 MB / 2.179 GB, free: 145.1 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01939/5.537, allocations: 0.9568 MB / 2.18 GB, free: 144.1 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003531/5.541, allocations: 0.8216 MB / 2.181 GB, free: 143.3 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02534/5.566, allocations: 14.3 MB / 2.195 GB, free: 129 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0206/5.587, allocations: 13.58 MB / 2.208 GB, free: 114.4 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0385/5.625, allocations: 23.73 MB / 2.231 GB, free: 89.86 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.631e-05/5.625, allocations: 16 kB / 2.231 GB, free: 89.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=1297) (initialization_lambda0): time 0.9797/6.605, allocations: 114.2 MB / 2.343 GB, free: 0.5148 GB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/6.605, allocations: 57.8 kB / 2.343 GB, free: 0.5148 GB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-05/6.605, allocations: 49.91 kB / 2.343 GB, free: 0.5148 GB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6254/7.23, allocations: 117.6 MB / 2.458 GB, free: 439.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01103/7.242, allocations: 2.296 MB / 2.46 GB, free: 436.9 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1377/7.379, allocations: 86.06 MB / 2.544 GB, free: 350.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01809/7.397, allocations: 0.9984 MB / 2.545 GB, free: 349.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00307/7.4, allocations: 0.7864 MB / 2.546 GB, free: 349 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.00304/7.404, allocations: 0.6697 MB / 2.546 GB, free: 348.3 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004502/7.408, allocations: 1.44 MB / 2.548 GB, free: 347.7 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1962/7.604, allocations: 49.04 MB / 2.596 GB, free: 299 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1811/7.785, allocations: 43.31 MB / 2.638 GB, free: 255.7 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.993e-05/7.785, allocations: 3.938 kB / 2.638 GB, free: 255.7 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009137/7.795, allocations: 2.97 MB / 2.641 GB, free: 253.5 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004797/7.799, allocations: 126.9 kB / 2.641 GB, free: 253.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01376/7.813, allocations: 0.7568 MB / 2.642 GB, free: 252.6 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004814/7.818, allocations: 0.9067 MB / 2.642 GB, free: 251.7 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06562/7.884, allocations: 23.53 MB / 2.665 GB, free: 228.4 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05255/7.936, allocations: 26.59 MB / 2.691 GB, free: 201.9 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01415/7.95, allocations: 8.248 MB / 2.699 GB, free: 193.6 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01748/7.968, allocations: 11.12 MB / 2.71 GB, free: 182.6 MB / 1.154 GB Notification: Performance of Backend: time 1.553e-06/7.968, allocations: 0 / 2.71 GB, free: 182.6 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.08324/8.051, allocations: 35.66 MB / 2.745 GB, free: 147.2 MB / 1.154 GB Notification: Performance of SimCode: time 0.06246/8.114, allocations: 35.19 MB / 2.78 GB, free: 112.3 MB / 1.154 GB Notification: Performance of Templates: time 0.8864/9, allocations: 481 MB / 3.249 GB, free: 212.3 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)