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.001246/0.001247, allocations: 112.5 kB / 17.09 MB, free: 5.984 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.00131/0.00131, allocations: 193.6 kB / 18.02 MB, free: 5.07 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.207/1.207, 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.6747/0.6747, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 65.94 kB / 0.5585 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1106, allocations: 76.17 MB / 0.6328 GB, free: 4.293 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified4): time 0.568/0.6787, allocations: 357.8 MB / 0.9822 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.4867/1.165, allocations: 75.86 MB / 1.056 GB, free: 28.95 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01409/1.18, allocations: 438.9 kB / 1.057 GB, free: 28.95 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01735/1.197, allocations: 6.338 MB / 1.063 GB, free: 28.95 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03475/1.232, allocations: 13.65 MB / 1.076 GB, free: 28.76 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02265/1.254, allocations: 9.837 MB / 1.086 GB, free: 28.48 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.08476/1.339, allocations: 70.96 MB / 1.155 GB, free: 21 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02521/1.364, allocations: 18.61 MB / 1.173 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0326/1.397, allocations: 16.28 MB / 1.189 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02732/1.424, allocations: 15.1 MB / 1.204 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.007141/1.431, allocations: 1.758 MB / 1.206 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01973/1.451, allocations: 6.01 MB / 1.212 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.008839/1.46, allocations: 5.828 MB / 1.217 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.01954/1.48, allocations: 10.25 MB / 1.227 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.03831/1.518, allocations: 28.42 MB / 1.255 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.518, allocations: 4 kB / 1.255 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.873e-06/1.518, allocations: 0 / 1.255 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0007832/1.519, allocations: 0 / 1.255 GB, free: 14.87 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.05504/1.574, allocations: 21.65 MB / 1.276 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.574, allocations: 11.88 kB / 1.276 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/1.591, allocations: 3.206 MB / 1.279 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03911/1.63, allocations: 19.29 MB / 1.298 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006352/1.63, allocations: 0.5891 MB / 1.299 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003598/1.634, allocations: 0.7908 MB / 1.299 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03342/1.667, allocations: 15.56 MB / 1.315 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002447/1.668, allocations: 19.78 kB / 1.315 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00248/1.67, allocations: 293.6 kB / 1.315 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/1.67, allocations: 188 kB / 1.315 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03505/1.705, allocations: 19.96 MB / 1.335 GB, free: 13.36 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.1205/1.826, allocations: 78.56 MB / 1.411 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01993/1.846, allocations: 11.15 MB / 1.422 GB, free: 1.066 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5357/2.382, allocations: 9.354 MB / 1.431 GB, free: 0.5023 GB / 1.029 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.04686/2.428, allocations: 32.59 MB / 1.463 GB, free: 498 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01121/2.44, allocations: 9.354 MB / 1.472 GB, free: 492.6 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01635/2.456, allocations: 5.727 MB / 1.478 GB, free: 490.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=433): time 1.366e-05/2.456, allocations: 3.938 kB / 1.478 GB, free: 490.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=617): time 0.7833/3.239, allocations: 182.8 MB / 1.656 GB, free: 320.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/3.24, allocations: 116.2 kB / 1.657 GB, free: 320.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01808/3.258, allocations: 16.3 MB / 1.672 GB, free: 304.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.002698/3.26, allocations: 181.7 kB / 1.673 GB, free: 304 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.004374/3.265, allocations: 7.116 MB / 1.68 GB, free: 296.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.002785/3.267, allocations: 2.104 MB / 1.682 GB, free: 294.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004015/3.272, allocations: 2.936 MB / 1.685 GB, free: 291.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.146e-05/3.272, allocations: 301.1 kB / 1.685 GB, free: 291.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01491/3.286, allocations: 11.46 MB / 1.696 GB, free: 280.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01623/3.303, allocations: 14.09 MB / 1.71 GB, free: 264.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03279/3.336, allocations: 24.77 MB / 1.734 GB, free: 239.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.062e-05/3.336, allocations: 16 kB / 1.734 GB, free: 239.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.5689/3.904, allocations: 115.8 MB / 1.847 GB, free: 123.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.594e-05/3.905, allocations: 61.69 kB / 1.847 GB, free: 123.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.683e-05/3.905, allocations: 48 kB / 1.847 GB, free: 123.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9019/4.807, allocations: 117.9 MB / 1.962 GB, free: 471.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/4.818, allocations: 2.322 MB / 1.965 GB, free: 471.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1302/4.949, allocations: 81.87 MB / 2.044 GB, free: 444.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01545/4.964, allocations: 0.9589 MB / 2.045 GB, free: 444.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/4.966, allocations: 0.8073 MB / 2.046 GB, free: 444 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01911/4.985, allocations: 14.29 MB / 2.06 GB, free: 434.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01625/5.001, allocations: 13.58 MB / 2.073 GB, free: 420.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03268/5.034, allocations: 23.73 MB / 2.097 GB, free: 396 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.706e-05/5.034, allocations: 16 kB / 2.097 GB, free: 396 MB / 1.029 GB Notification: Performance of matching and sorting (n=1297) (initialization_lambda0): time 0.563/5.597, allocations: 114.2 MB / 2.208 GB, free: 283.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/5.597, allocations: 61.69 kB / 2.208 GB, free: 283.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.406e-05/5.597, allocations: 52 kB / 2.208 GB, free: 283.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5947/6.192, allocations: 117.6 MB / 2.323 GB, free: 165.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/6.202, allocations: 2.304 MB / 2.325 GB, free: 163.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1317/6.334, allocations: 86.07 MB / 2.409 GB, free: 77.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01644/6.35, allocations: 0.9981 MB / 2.41 GB, free: 76.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/6.352, allocations: 0.7841 MB / 2.411 GB, free: 75.59 MB / 1.029 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.00276/6.355, allocations: 0.6721 MB / 2.412 GB, free: 74.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003953/6.359, allocations: 1.433 MB / 2.413 GB, free: 74.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1832/6.542, allocations: 49.03 MB / 2.461 GB, free: 25.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4713/7.013, allocations: 43.28 MB / 2.503 GB, free: 463.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-05/7.014, allocations: 3.938 kB / 2.503 GB, free: 463.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00773/7.021, allocations: 2.972 MB / 2.506 GB, free: 463.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003971/7.025, allocations: 127.7 kB / 2.506 GB, free: 463.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01236/7.038, allocations: 0.7556 MB / 2.507 GB, free: 463.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004587/7.042, allocations: 0.8993 MB / 2.508 GB, free: 463.2 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05659/7.099, allocations: 23.55 MB / 2.531 GB, free: 457.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04238/7.141, allocations: 26.59 MB / 2.557 GB, free: 448.3 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01167/7.153, allocations: 8.243 MB / 2.565 GB, free: 445.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.01369/7.167, allocations: 11.12 MB / 2.576 GB, free: 439.6 MB / 1.029 GB Notification: Performance of Backend: time 1.503e-06/7.167, allocations: 0 / 2.576 GB, free: 439.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.06993/7.237, allocations: 35.65 MB / 2.611 GB, free: 405 MB / 1.029 GB Notification: Performance of SimCode: time 0.0527/7.289, allocations: 35.18 MB / 2.645 GB, free: 370.3 MB / 1.029 GB Notification: Performance of Templates: time 0.7991/8.088, allocations: 480.8 MB / 3.115 GB, free: 404.4 MB / 1.029 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)