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.001084/0.001085, allocations: 107.3 kB / 17.03 MB, free: 5.656 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.001016/0.001017, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.338/1.338, allocations: 222.9 MB / 241.7 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.7592/0.7592, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002166, allocations: 67.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3613, allocations: 76.15 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1919/0.5533, allocations: 193.8 MB / 0.7468 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3281/0.8814, allocations: 5.122 MB / 0.7518 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.8828, allocations: 48.91 kB / 0.7519 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.8847, allocations: 0.8093 MB / 0.7527 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006846/0.8916, allocations: 2.601 MB / 0.7552 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.8948, allocations: 1.117 MB / 0.7563 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004816/0.8996, allocations: 2.678 MB / 0.7589 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.9017, allocations: 0.9482 MB / 0.7598 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.9048, allocations: 1.106 MB / 0.7609 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.9068, allocations: 0.9834 MB / 0.7619 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000256/0.907, allocations: 86.94 kB / 0.762 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004317/0.9114, allocations: 1.796 MB / 0.7637 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006647/0.9121, allocations: 449.6 kB / 0.7641 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.9132, allocations: 0.6665 MB / 0.7648 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004357/0.9176, allocations: 2.221 MB / 0.767 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.9177, allocations: 0.75 kB / 0.767 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9177, allocations: 0 / 0.767 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.912e-05/0.9177, allocations: 0.9375 kB / 0.767 GB, free: 1.465 MB / 0.5762 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.005642/0.9234, allocations: 1.958 MB / 0.7689 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.9234, allocations: 9.375 kB / 0.7689 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005714/0.9291, allocations: 0.9036 MB / 0.7698 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.9314, allocations: 0.9693 MB / 0.7707 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.671e-05/0.9315, allocations: 67.81 kB / 0.7708 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.9317, allocations: 96.73 kB / 0.7709 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.9355, allocations: 1.586 MB / 0.7724 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.9356, allocations: 3.125 kB / 0.7724 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.9357, allocations: 33 kB / 0.7725 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.365e-05/0.9358, allocations: 47.3 kB / 0.7725 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00518/0.9409, allocations: 1.853 MB / 0.7743 GB, free: 15.92 MB / 0.5919 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.007939/0.9489, allocations: 4.725 MB / 0.7789 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/0.9529, allocations: 1.563 MB / 0.7804 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.9549, allocations: 0.8459 MB / 0.7813 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.9563, allocations: 0.9425 MB / 0.7822 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002331/0.9586, allocations: 0.9162 MB / 0.7831 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.888e-06/0.9586, allocations: 0.8438 kB / 0.7831 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007235/0.9659, allocations: 2.457 MB / 0.7855 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.966, allocations: 65.97 kB / 0.7856 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.9675, allocations: 1.197 MB / 0.7867 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.9676, allocations: 44.7 kB / 0.7868 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/0.968, allocations: 0.5446 MB / 0.7873 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.9684, allocations: 328.1 kB / 0.7876 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.9687, allocations: 180.9 kB / 0.7878 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.9689, allocations: 344.8 kB / 0.7881 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.9709, allocations: 0.7014 MB / 0.7888 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.973, allocations: 0.9119 MB / 0.7897 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/0.977, allocations: 1.551 MB / 0.7912 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.9771, allocations: 2.469 kB / 0.7912 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005029/0.9821, allocations: 1.781 MB / 0.7929 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.9822, allocations: 8.438 kB / 0.7929 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.9822, allocations: 10.67 kB / 0.793 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.9822, allocations: 9.031 kB / 0.793 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.984, allocations: 341.7 kB / 0.7933 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.984, allocations: 13.22 kB / 0.7933 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.9859, allocations: 235.5 kB / 0.7935 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.9861, allocations: 52.62 kB / 0.7936 GB, free: 11.27 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 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006325/0.9867, allocations: 343 kB / 0.7939 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.987, allocations: 133.9 kB / 0.794 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004788/0.9918, allocations: 1.802 MB / 0.7958 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.9918, allocations: 8 kB / 0.7958 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.9919, allocations: 2.781 kB / 0.7958 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.9919, allocations: 7.297 kB / 0.7958 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007702/0.9996, allocations: 3.332 MB / 0.7991 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.9996, allocations: 3.906 kB / 0.7991 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.001, allocations: 291.5 kB / 0.7993 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/1.001, allocations: 11.22 kB / 0.7994 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/1.002, allocations: 31.47 kB / 0.7994 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.662e-05/1.002, allocations: 11.52 kB / 0.7994 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.002, allocations: 7 kB / 0.7994 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007095/1.009, allocations: 2.838 MB / 0.8022 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.01, allocations: 331 kB / 0.8025 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/1.01, allocations: 21.34 kB / 0.8025 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.011, allocations: 161.5 kB / 0.8027 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/1.012, allocations: 73.08 kB / 0.8027 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.012, allocations: 43.12 kB / 0.8028 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00116/1.013, allocations: 0.8301 MB / 0.8036 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.013, allocations: 0 / 0.8036 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001154/1.014, allocations: 341.9 kB / 0.8039 GB, free: 8.375 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001305/1.015, allocations: 0.5353 MB / 0.8044 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004655/1.02, allocations: 1.631 MB / 0.806 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.02, allocations: 2.5 kB / 0.806 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002321/1.022, allocations: 0.8418 MB / 0.8069 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/1.026, allocations: 0.612 MB / 0.8075 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0066/1.032, allocations: 2.979 MB / 0.8104 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000879/1.033, allocations: 1.178 MB / 0.8115 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001619/1.035, allocations: 362 kB / 0.8119 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/1.035, allocations: 117.6 kB / 0.812 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/1.035, allocations: 0 / 0.812 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of Templates: time 0.04291/1.078, allocations: 23.76 MB / 0.8352 GB, free: 13.59 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)