Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008787/0.0008787, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009096/0.0009097, allocations: 174.2 kB / 16.57 MB, free: 6.859 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.285/1.285, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6634/0.6634, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 8 kB / 493 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1309, allocations: 77.15 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4675/0.5984, allocations: 160.7 MB / 0.7138 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008626/0.6071, allocations: 5.038 MB / 0.7187 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.6084, allocations: 39.69 kB / 0.7188 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.6105, allocations: 0.7743 MB / 0.7195 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005466/0.616, allocations: 1.788 MB / 0.7213 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.6195, allocations: 1.175 MB / 0.7224 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00337/0.6229, allocations: 1.686 MB / 0.7241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.6244, allocations: 0.8208 MB / 0.7249 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.6266, allocations: 0.9734 MB / 0.7258 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.6279, allocations: 0.6967 MB / 0.7265 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.628, allocations: 48 kB / 0.7265 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.6309, allocations: 0.9359 MB / 0.7275 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000429/0.6314, allocations: 390.8 kB / 0.7278 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.6317, allocations: 265 kB / 0.7281 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.6338, allocations: 1.331 MB / 0.7294 GB, free: 9.168 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.6338, allocations: 0 / 0.7294 GB, free: 9.168 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.534e-06/0.6338, allocations: 0 / 0.7294 GB, free: 9.168 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.6338, allocations: 0 / 0.7294 GB, free: 9.168 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005147/0.639, allocations: 1.703 MB / 0.731 GB, free: 7.414 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.6391, allocations: 8.031 kB / 0.7311 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005698/0.6448, allocations: 0.9345 MB / 0.732 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.6467, allocations: 0.8562 MB / 0.7328 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.6468, allocations: 66 kB / 0.7329 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.647, allocations: 99.89 kB / 0.733 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.6509, allocations: 1.567 MB / 0.7345 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.651, allocations: 0 / 0.7345 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.6511, allocations: 39.98 kB / 0.7345 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.801e-05/0.6512, allocations: 49.97 kB / 0.7346 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005173/0.6564, allocations: 1.834 MB / 0.7364 GB, free: 1.871 MB / 0.545 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.007206/0.6636, allocations: 4.292 MB / 0.7406 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004487/0.6681, allocations: 1.592 MB / 0.7421 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004663/0.6686, allocations: 178 kB / 0.7423 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002475/0.6711, allocations: 0.8949 MB / 0.7432 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=95): time 2.966e-06/0.6711, allocations: 3.938 kB / 0.7432 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.007863/0.679, allocations: 2.435 MB / 0.7455 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.6791, allocations: 60.41 kB / 0.7456 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.6806, allocations: 1.189 MB / 0.7468 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.6807, allocations: 49.7 kB / 0.7468 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/0.6811, allocations: 0.5449 MB / 0.7473 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.6814, allocations: 327.3 kB / 0.7476 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.6815, allocations: 16 kB / 0.7477 GB, free: 6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.6817, allocations: 345.9 kB / 0.748 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.6838, allocations: 0.685 MB / 0.7487 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.6862, allocations: 0.8946 MB / 0.7495 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.6884, allocations: 0.7211 MB / 0.7502 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6884, allocations: 4 kB / 0.7502 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004966/0.6933, allocations: 1.756 MB / 0.752 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.6934, allocations: 8 kB / 0.752 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6934, allocations: 4 kB / 0.752 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.6934, allocations: 8 kB / 0.752 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.6952, allocations: 335.9 kB / 0.7523 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/0.6952, allocations: 23.36 kB / 0.7523 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.697, allocations: 250.8 kB / 0.7526 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.6971, allocations: 43.98 kB / 0.7526 GB, free: 0.8711 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005982/0.6977, allocations: 331.7 kB / 0.7529 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.6979, allocations: 142.2 kB / 0.7531 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005093/0.703, allocations: 1.792 MB / 0.7548 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.703, allocations: 8 kB / 0.7548 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.7031, allocations: 0 / 0.7548 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.7031, allocations: 7.984 kB / 0.7548 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007623/0.7107, allocations: 3.297 MB / 0.758 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.7108, allocations: 4 kB / 0.758 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/0.7125, allocations: 283.7 kB / 0.7583 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-05/0.7126, allocations: 8 kB / 0.7583 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.7127, allocations: 31.97 kB / 0.7584 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.677e-05/0.7127, allocations: 15.92 kB / 0.7584 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.7127, allocations: 4 kB / 0.7584 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007945/0.7207, allocations: 3.024 MB / 0.7613 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009106/0.7216, allocations: 331.2 kB / 0.7616 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/0.722, allocations: 23.98 kB / 0.7617 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.7236, allocations: 167.9 kB / 0.7618 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.7238, allocations: 77.34 kB / 0.7619 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.7239, allocations: 39.97 kB / 0.7619 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001216/0.7251, allocations: 0.8236 MB / 0.7627 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7251, allocations: 3.938 kB / 0.7627 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001403/0.7265, allocations: 343.5 kB / 0.7631 GB, free: 5.852 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001305/0.7279, allocations: 0.5284 MB / 0.7636 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004942/0.7328, allocations: 1.603 MB / 0.7652 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.7328, allocations: 256 / 0.7652 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.7353, allocations: 0.828 MB / 0.766 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/0.7383, allocations: 0.566 MB / 0.7665 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007232/0.7455, allocations: 3.382 MB / 0.7698 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.7466, allocations: 1.208 MB / 0.771 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001885/0.7485, allocations: 366 kB / 0.7713 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.7491, allocations: 111.4 kB / 0.7715 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of SimCode: time 6.22e-07/0.7491, allocations: 4 kB / 0.7715 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.0362/0.7853, allocations: 21.88 MB / 0.7928 GB, free: 7.746 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)