Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.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.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 108.8 kB / 16.41 MB, free: 6.496 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.002234/0.002234, allocations: 189.2 kB / 17.34 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8129/0.8129, allocations: 126.1 MB / 417.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 75.23 kB / 0.5731 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1725, allocations: 78.7 MB / 0.6499 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.02865/0.2012, allocations: 30.03 MB / 0.6792 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01693/0.2182, allocations: 11.73 MB / 0.6907 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.2213, allocations: 47.75 kB / 0.6907 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006475/0.2279, allocations: 1.492 MB / 0.6922 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005557/0.2335, allocations: 1.622 MB / 0.6938 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.2374, allocations: 1.463 MB / 0.6952 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009149/0.2466, allocations: 6.732 MB / 0.7018 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.2489, allocations: 1.404 MB / 0.7032 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003481/0.2524, allocations: 1.478 MB / 0.7046 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.2545, allocations: 1.113 MB / 0.7057 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004702/0.2549, allocations: 128 kB / 0.7058 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.2582, allocations: 1.314 MB / 0.7071 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007383/0.2589, allocations: 0.5295 MB / 0.7076 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.2606, allocations: 0.9716 MB / 0.7086 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004469/0.265, allocations: 3.051 MB / 0.7115 GB, free: 4.812 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2651, allocations: 0 / 0.7115 GB, free: 4.812 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2651, allocations: 0 / 0.7115 GB, free: 4.812 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.12e-05/0.2651, allocations: 0 / 0.7115 GB, free: 4.812 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003805/0.2689, allocations: 2.434 MB / 0.7139 GB, free: 2.305 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.269, allocations: 12.03 kB / 0.7139 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.2707, allocations: 390.4 kB / 0.7143 GB, free: 1.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/0.2744, allocations: 2.412 MB / 0.7167 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.2745, allocations: 70 kB / 0.7167 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.2746, allocations: 91.94 kB / 0.7168 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.2764, allocations: 1.009 MB / 0.7178 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.2764, allocations: 0 / 0.7178 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/0.2765, allocations: 35.94 kB / 0.7178 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.2765, allocations: 20 kB / 0.7179 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.2782, allocations: 0.7532 MB / 0.7186 GB, free: 13.41 MB / 0.5606 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.006118/0.2843, allocations: 5.248 MB / 0.7237 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.2856, allocations: 0.5614 MB / 0.7243 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/0.2863, allocations: 324.6 kB / 0.7246 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002281/0.2886, allocations: 1.654 MB / 0.7262 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007263/0.2893, allocations: 334.6 kB / 0.7265 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003001/0.2896, allocations: 59.52 kB / 0.7266 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.424e-06/0.2896, allocations: 0 / 0.7266 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.003207/0.2928, allocations: 1.235 MB / 0.7278 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.2929, allocations: 55.41 kB / 0.7278 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.2954, allocations: 1.869 MB / 0.7296 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.2954, allocations: 41.7 kB / 0.7297 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006675/0.2961, allocations: 0.7882 MB / 0.7305 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.2963, allocations: 162.7 kB / 0.7306 GB, free: 500 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/0.2966, allocations: 270.4 kB / 0.7309 GB, free: 224 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2968, allocations: 361.8 kB / 0.7312 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008305/0.2976, allocations: 460.9 kB / 0.7317 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.2988, allocations: 0.8315 MB / 0.7325 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.3005, allocations: 1.165 MB / 0.7336 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3005, allocations: 0 / 0.7336 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002971/0.3035, allocations: 1.605 MB / 0.7352 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.3036, allocations: 35.27 kB / 0.7352 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.3036, allocations: 8 kB / 0.7352 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006432/0.3042, allocations: 189.2 kB / 0.7354 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/0.3049, allocations: 195.7 kB / 0.7356 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007446/0.3057, allocations: 0.7668 MB / 0.7363 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.3069, allocations: 80.38 kB / 0.7364 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-05/0.307, allocations: 47.98 kB / 0.7364 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001381/0.3084, allocations: 0.8613 MB / 0.7373 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009849/0.3094, allocations: 0.8184 MB / 0.7381 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001488/0.3109, allocations: 1.124 MB / 0.7392 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.621e-06/0.3109, allocations: 4 kB / 0.7392 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002633/0.3135, allocations: 1.597 MB / 0.7408 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.3136, allocations: 33.77 kB / 0.7408 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3136, allocations: 12 kB / 0.7408 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.3138, allocations: 112.8 kB / 0.7409 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.3145, allocations: 187.7 kB / 0.7411 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.3166, allocations: 2.368 MB / 0.7434 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.3178, allocations: 71.95 kB / 0.7435 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.3179, allocations: 43.98 kB / 0.7435 GB, free: 2.449 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002863/0.3182, allocations: 247.9 kB / 0.7437 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.3184, allocations: 174.8 kB / 0.7439 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.3204, allocations: 0.904 MB / 0.7448 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3204, allocations: 4 kB / 0.7448 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3204, allocations: 7.922 kB / 0.7448 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001431/0.3219, allocations: 0.8843 MB / 0.7457 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3572/0.6791, allocations: 1.989 MB / 0.7476 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6792, allocations: 4.75 kB / 0.7476 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.6797, allocations: 81.89 kB / 0.7477 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003196/0.68, allocations: 126.2 kB / 0.7478 GB, free: 90.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.68, allocations: 13.78 kB / 0.7478 GB, free: 90.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005636/0.6806, allocations: 0.7502 MB / 0.7486 GB, free: 90.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6806, allocations: 1.938 kB / 0.7486 GB, free: 90.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.6831, allocations: 1.245 MB / 0.7498 GB, free: 89.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/0.6836, allocations: 320.1 kB / 0.7501 GB, free: 89.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.6838, allocations: 12.27 kB / 0.7501 GB, free: 89.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/0.6845, allocations: 42.31 kB / 0.7501 GB, free: 89.67 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.95e-05/0.6846, allocations: 40.92 kB / 0.7502 GB, free: 89.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/0.6846, allocations: 26.62 kB / 0.7502 GB, free: 89.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002148/0.6868, allocations: 1.266 MB / 0.7514 GB, free: 89.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6868, allocations: 0 / 0.7514 GB, free: 89.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002844/0.6897, allocations: 0.8244 MB / 0.7522 GB, free: 89.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.6909, allocations: 0.5077 MB / 0.7527 GB, free: 89.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00417/0.6951, allocations: 1.866 MB / 0.7546 GB, free: 88.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.6951, allocations: 0.9062 kB / 0.7546 GB, free: 88.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008182/0.6959, allocations: 339.3 kB / 0.7549 GB, free: 88.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/0.6992, allocations: 0.8107 MB / 0.7557 GB, free: 87.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.7051, allocations: 3.033 MB / 0.7586 GB, free: 86.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.7062, allocations: 1.439 MB / 0.76 GB, free: 85.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001806/0.708, allocations: 444.2 kB / 0.7605 GB, free: 85.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/0.7084, allocations: 136.3 kB / 0.7606 GB, free: 85.77 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.7085, allocations: 0 / 0.7606 GB, free: 85.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.04612/0.7546, allocations: 33.59 MB / 0.7934 GB, free: 62.52 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)