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.0009734/0.0009737, allocations: 88.17 kB / 15.7 MB, free: 460 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.001213/0.001213, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.355/1.355, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6961/0.6961, allocations: 115.5 MB / 407.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 9.625 kB / 495.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 77.52 MB / 0.5593 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4366/0.5738, allocations: 176.3 MB / 0.7315 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007679/0.5815, allocations: 4.877 MB / 0.7363 GB, free: 2.137 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009001/0.5825, allocations: 39.69 kB / 0.7363 GB, free: 2.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.5839, allocations: 0.6257 MB / 0.7369 GB, free: 1.469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004443/0.5884, allocations: 1.882 MB / 0.7387 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.5907, allocations: 0.9051 MB / 0.7396 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003395/0.5941, allocations: 3.081 MB / 0.7426 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.5953, allocations: 0.7699 MB / 0.7434 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.5972, allocations: 0.9999 MB / 0.7444 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.5984, allocations: 0.9458 MB / 0.7453 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.5986, allocations: 48 kB / 0.7453 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.6009, allocations: 0.9392 MB / 0.7463 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.6014, allocations: 406.7 kB / 0.7466 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.6017, allocations: 265 kB / 0.7469 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.6035, allocations: 1.376 MB / 0.7482 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6035, allocations: 8 kB / 0.7482 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6035, allocations: 3.938 kB / 0.7483 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.6035, allocations: 0 / 0.7483 GB, free: 5.812 MB / 0.5606 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.004496/0.608, allocations: 1.72 MB / 0.7499 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.6081, allocations: 8.031 kB / 0.7499 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/0.6131, allocations: 0.9267 MB / 0.7508 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.6145, allocations: 0.864 MB / 0.7517 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.244e-05/0.6146, allocations: 66 kB / 0.7518 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.6148, allocations: 95.91 kB / 0.7518 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003475/0.6183, allocations: 1.575 MB / 0.7534 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.6183, allocations: 4 kB / 0.7534 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.6184, allocations: 39.94 kB / 0.7534 GB, free: 380 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.6185, allocations: 49.98 kB / 0.7535 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004886/0.6234, allocations: 1.838 MB / 0.7553 GB, free: 14.48 MB / 0.5762 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.007133/0.6305, allocations: 4.758 MB / 0.7599 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.6346, allocations: 1.58 MB / 0.7615 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.6368, allocations: 0.8476 MB / 0.7623 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.638, allocations: 0.9569 MB / 0.7632 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002315/0.6404, allocations: 0.902 MB / 0.7641 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 3.406e-06/0.6404, allocations: 0 / 0.7641 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.007107/0.6475, allocations: 2.446 MB / 0.7665 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.6476, allocations: 64.41 kB / 0.7665 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.649, allocations: 1.193 MB / 0.7677 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.6491, allocations: 45.7 kB / 0.7678 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/0.6496, allocations: 0.5409 MB / 0.7683 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/0.6499, allocations: 323.3 kB / 0.7686 GB, free: 372 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/0.65, allocations: 23.94 kB / 0.7686 GB, free: 348 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6502, allocations: 346 kB / 0.7689 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.6522, allocations: 0.6966 MB / 0.7696 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/0.6547, allocations: 0.8996 MB / 0.7705 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.6567, allocations: 0.7251 MB / 0.7712 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6568, allocations: 0 / 0.7712 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004612/0.6614, allocations: 1.768 MB / 0.7729 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.6614, allocations: 10.03 kB / 0.7729 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.6614, allocations: 11.97 kB / 0.773 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.6615, allocations: 8 kB / 0.773 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.6632, allocations: 335.7 kB / 0.7733 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.6632, allocations: 11.94 kB / 0.7733 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.6648, allocations: 258.7 kB / 0.7735 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.6649, allocations: 47.97 kB / 0.7736 GB, free: 11.16 MB / 0.5919 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.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.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.0005343/0.6655, allocations: 335.7 kB / 0.7739 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.6657, allocations: 134.3 kB / 0.774 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004887/0.6706, allocations: 1.796 MB / 0.7758 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6706, allocations: 8 kB / 0.7758 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6706, allocations: 0 / 0.7758 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.6706, allocations: 3.984 kB / 0.7758 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006835/0.6775, allocations: 3.328 MB / 0.7791 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.902e-06/0.6775, allocations: 8.094 kB / 0.7791 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.6791, allocations: 287.5 kB / 0.7793 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.6791, allocations: 12 kB / 0.7793 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.712e-05/0.6792, allocations: 31.97 kB / 0.7794 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/0.6793, allocations: 16.81 kB / 0.7794 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6793, allocations: 4 kB / 0.7794 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006752/0.686, allocations: 2.832 MB / 0.7822 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/0.6866, allocations: 331.1 kB / 0.7825 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.6868, allocations: 20 kB / 0.7825 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.6881, allocations: 175.8 kB / 0.7827 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.6883, allocations: 71.7 kB / 0.7827 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.485e-05/0.6884, allocations: 43.97 kB / 0.7828 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001006/0.6894, allocations: 0.8197 MB / 0.7836 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6894, allocations: 4 kB / 0.7836 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009979/0.6904, allocations: 347.5 kB / 0.7839 GB, free: 384 kB / 0.5919 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 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.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.001237/0.6917, allocations: 0.5239 MB / 0.7844 GB, free: 32 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004406/0.6961, allocations: 1.611 MB / 0.786 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6961, allocations: 0 / 0.786 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.6983, allocations: 0.8322 MB / 0.7868 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.7009, allocations: 0.597 MB / 0.7874 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.7069, allocations: 3.379 MB / 0.7907 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007594/0.7077, allocations: 1.187 MB / 0.7919 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001641/0.7093, allocations: 373.9 kB / 0.7922 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.7098, allocations: 119.3 kB / 0.7923 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.7098, allocations: 0 / 0.7923 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of Templates: time 0.03556/0.7454, allocations: 21.93 MB / 0.8137 GB, free: 2.191 MB / 0.6231 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)