Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001123/0.001123, allocations: 116.1 kB / 17.09 MB, free: 5.957 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.001133/0.001133, allocations: 197.5 kB / 18.03 MB, free: 5.043 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7518/0.7518, allocations: 122.9 MB / 414.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 62.72 kB / 0.5692 GB, free: 28.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1288, allocations: 77.94 MB / 0.6453 GB, free: 8.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified4): time 0.6431/0.7719, allocations: 357.8 MB / 0.9947 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.4869/1.259, allocations: 75.84 MB / 1.069 GB, free: 31.93 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01397/1.273, allocations: 433.2 kB / 1.069 GB, free: 31.93 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01656/1.289, allocations: 6.476 MB / 1.075 GB, free: 31.91 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03625/1.326, allocations: 14.29 MB / 1.089 GB, free: 31.47 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02396/1.35, allocations: 9.846 MB / 1.099 GB, free: 31.2 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.08854/1.438, allocations: 71.03 MB / 1.168 GB, free: 16.64 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02601/1.464, allocations: 18.6 MB / 1.187 GB, free: 2.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03457/1.499, allocations: 16.32 MB / 1.203 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02827/1.527, allocations: 15.09 MB / 1.217 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00922/1.536, allocations: 1.758 MB / 1.219 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02108/1.558, allocations: 6.011 MB / 1.225 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.01013/1.568, allocations: 5.832 MB / 1.231 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.02345/1.591, allocations: 10.25 MB / 1.241 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.04678/1.638, allocations: 28.42 MB / 1.268 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/1.638, allocations: 3.984 kB / 1.268 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.703e-06/1.638, allocations: 0 / 1.268 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0007973/1.639, allocations: 0 / 1.268 GB, free: 2.234 MB / 0.8731 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.05995/1.699, allocations: 21.66 MB / 1.289 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.699, allocations: 8.625 kB / 1.289 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/1.717, allocations: 3.199 MB / 1.293 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04253/1.759, allocations: 19.3 MB / 1.311 GB, free: 6.371 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007659/1.76, allocations: 0.5879 MB / 1.312 GB, free: 5.781 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003719/1.764, allocations: 0.7906 MB / 1.313 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0367/1.801, allocations: 15.57 MB / 1.328 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002802/1.801, allocations: 19.88 kB / 1.328 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002775/1.804, allocations: 292 kB / 1.328 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001808/1.804, allocations: 192 kB / 1.328 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03803/1.842, allocations: 19.95 MB / 1.348 GB, free: 0.7305 MB / 0.9512 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.4203/2.262, allocations: 78.55 MB / 1.425 GB, free: 480.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/2.282, allocations: 11.15 MB / 1.436 GB, free: 475.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01315/2.295, allocations: 9.357 MB / 1.445 GB, free: 471.8 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.05862/2.354, allocations: 32.6 MB / 1.477 GB, free: 451.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01299/2.367, allocations: 9.352 MB / 1.486 GB, free: 446.2 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01771/2.384, allocations: 5.733 MB / 1.491 GB, free: 444.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=433): time 2.322e-05/2.384, allocations: 0 / 1.491 GB, free: 444.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=617): time 0.8349/3.219, allocations: 182.8 MB / 1.67 GB, free: 269.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/3.219, allocations: 120.2 kB / 1.67 GB, free: 269.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02305/3.242, allocations: 16.3 MB / 1.686 GB, free: 253.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.002858/3.245, allocations: 182.8 kB / 1.686 GB, free: 253.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.006452/3.252, allocations: 7.113 MB / 1.693 GB, free: 246.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.003521/3.255, allocations: 2.111 MB / 1.695 GB, free: 244 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005532/3.261, allocations: 2.923 MB / 1.698 GB, free: 241.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.479e-05/3.261, allocations: 305.1 kB / 1.698 GB, free: 240.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01818/3.279, allocations: 11.46 MB / 1.709 GB, free: 229.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02065/3.3, allocations: 14.09 MB / 1.723 GB, free: 214.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03929/3.339, allocations: 24.76 MB / 1.747 GB, free: 188.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.533e-05/3.339, allocations: 16 kB / 1.747 GB, free: 188.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.5909/3.93, allocations: 115.8 MB / 1.86 GB, free: 72.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/3.93, allocations: 57.69 kB / 1.86 GB, free: 72.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-05/3.93, allocations: 56.06 kB / 1.86 GB, free: 72.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9789/4.909, allocations: 117.9 MB / 1.976 GB, free: 448.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01234/4.922, allocations: 2.317 MB / 1.978 GB, free: 448.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1443/5.066, allocations: 81.87 MB / 2.058 GB, free: 390.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01827/5.084, allocations: 0.9582 MB / 2.059 GB, free: 389.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003286/5.087, allocations: 0.8114 MB / 2.06 GB, free: 388.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02481/5.112, allocations: 14.29 MB / 2.073 GB, free: 374.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01943/5.132, allocations: 13.59 MB / 2.087 GB, free: 359.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03757/5.169, allocations: 23.73 MB / 2.11 GB, free: 335.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.065e-05/5.169, allocations: 12 kB / 2.11 GB, free: 335.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=1297) (initialization_lambda0): time 0.5945/5.764, allocations: 114.2 MB / 2.221 GB, free: 222 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.44e-05/5.764, allocations: 53.7 kB / 2.222 GB, free: 221.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.905e-05/5.764, allocations: 52 kB / 2.222 GB, free: 221.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6139/6.378, allocations: 117.6 MB / 2.336 GB, free: 104.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/6.39, allocations: 2.293 MB / 2.339 GB, free: 102.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1568/6.546, allocations: 86.08 MB / 2.423 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0181/6.564, allocations: 0.9979 MB / 2.424 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00354/6.568, allocations: 0.7763 MB / 2.424 GB, free: 14.12 MB / 1.014 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.005277/6.573, allocations: 0.6823 MB / 2.425 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005789/6.579, allocations: 1.436 MB / 2.427 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5328/7.112, allocations: 49.03 MB / 2.474 GB, free: 449.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1961/7.308, allocations: 43.28 MB / 2.517 GB, free: 435.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.593e-05/7.308, allocations: 5 kB / 2.517 GB, free: 435.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01022/7.318, allocations: 2.972 MB / 2.52 GB, free: 433.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006036/7.325, allocations: 125.6 kB / 2.52 GB, free: 433.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01631/7.341, allocations: 0.757 MB / 2.52 GB, free: 433.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005604/7.346, allocations: 0.8984 MB / 2.521 GB, free: 432.8 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06689/7.413, allocations: 23.54 MB / 2.544 GB, free: 409.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05467/7.468, allocations: 26.59 MB / 2.57 GB, free: 383.8 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01459/7.483, allocations: 8.241 MB / 2.578 GB, free: 375.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.01872/7.501, allocations: 11.12 MB / 2.589 GB, free: 364.5 MB / 1.014 GB Notification: Performance of Backend: time 1.192e-06/7.502, allocations: 0 / 2.589 GB, free: 364.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.08706/7.589, allocations: 35.66 MB / 2.624 GB, free: 329.3 MB / 1.014 GB Notification: Performance of SimCode: time 0.06579/7.654, allocations: 35.19 MB / 2.658 GB, free: 294.4 MB / 1.014 GB Notification: Performance of Templates: time 1.157/8.812, allocations: 480.8 MB / 3.128 GB, free: 319.9 MB / 1.014 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)