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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 105 kB / 20.45 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 219.9 kB / 23.76 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9556/0.9556, allocations: 150 MB / 463.9 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 69.78 kB / 0.6425 GB, free: 9.906 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2017, allocations: 89.17 MB / 0.7296 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7357/0.9374, allocations: 246.4 MB / 0.9703 GB, free: 392 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.9541, allocations: 8.556 MB / 0.9786 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.9568, allocations: 95.12 kB / 0.9787 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003545/0.9603, allocations: 1.084 MB / 0.9798 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.9704, allocations: 3.279 MB / 0.983 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.9806, allocations: 3.609 MB / 0.9865 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007423/0.988, allocations: 4.057 MB / 0.9905 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/0.991, allocations: 1.141 MB / 0.9916 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006474/0.9975, allocations: 2.332 MB / 0.9938 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003398/1.001, allocations: 1.494 MB / 0.9953 GB, free: 6.629 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007652/1.002, allocations: 136 kB / 0.9954 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009667/1.011, allocations: 4.271 MB / 0.9996 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/1.013, allocations: 0.6267 MB / 1 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002624/1.015, allocations: 1.006 MB / 1.001 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/1.026, allocations: 3.931 MB / 1.005 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.026, allocations: 0 / 1.005 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.166e-06/1.026, allocations: 0 / 1.005 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001164/1.026, allocations: 0 / 1.005 GB, free: 12.63 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.008491/1.035, allocations: 2.682 MB / 1.008 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.035, allocations: 16.03 kB / 1.008 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009041/1.044, allocations: 1.333 MB / 1.009 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/1.047, allocations: 1.203 MB / 1.01 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/1.047, allocations: 95.22 kB / 1.01 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005069/1.048, allocations: 143.9 kB / 1.01 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005707/1.054, allocations: 2.071 MB / 1.012 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/1.054, allocations: 3.938 kB / 1.012 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/1.054, allocations: 59.98 kB / 1.012 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.794e-05/1.054, allocations: 66.45 kB / 1.013 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006298/1.06, allocations: 2.172 MB / 1.015 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/1.075, allocations: 8.328 MB / 1.023 GB, free: 9.711 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005028/1.08, allocations: 1.807 MB / 1.025 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/1.083, allocations: 0.921 MB / 1.025 GB, free: 6.969 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.084, allocations: 204.8 kB / 1.026 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002932/1.087, allocations: 1.067 MB / 1.027 GB, free: 5.688 MB / 0.795 GB Notification: Performance of pre-optimization done (n=119): time 4.098e-06/1.087, allocations: 384 / 1.027 GB, free: 5.688 MB / 0.795 GB Notification: Performance of matching and sorting (n=119): time 0.009083/1.096, allocations: 2.88 MB / 1.029 GB, free: 2.801 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/1.096, allocations: 68.41 kB / 1.03 GB, free: 2.719 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/1.099, allocations: 1.656 MB / 1.031 GB, free: 1.062 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002079/1.099, allocations: 49.7 kB / 1.031 GB, free: 1.008 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009748/1.1, allocations: 0.8172 MB / 1.032 GB, free: 188 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000658/1.101, allocations: 428.5 kB / 1.032 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000567/1.101, allocations: 238.9 kB / 1.033 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000218/1.102, allocations: 357.9 kB / 1.033 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/1.104, allocations: 0.8222 MB / 1.034 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/1.107, allocations: 1.143 MB / 1.035 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005253/1.112, allocations: 1.926 MB / 1.037 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/1.112, allocations: 4 kB / 1.037 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006376/1.119, allocations: 2.198 MB / 1.039 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/1.119, allocations: 14.22 kB / 1.039 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/1.119, allocations: 8 kB / 1.039 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.235e-05/1.119, allocations: 12 kB / 1.039 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/1.121, allocations: 403.4 kB / 1.039 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.021e-05/1.121, allocations: 24.8 kB / 1.039 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/1.123, allocations: 290.6 kB / 1.04 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/1.123, allocations: 63.97 kB / 1.04 GB, free: 8.043 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0009243/1.124, allocations: 403.1 kB / 1.04 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005635/1.125, allocations: 202.7 kB / 1.04 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006025/1.131, allocations: 2.187 MB / 1.042 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.131, allocations: 16 kB / 1.042 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/1.131, allocations: 3.938 kB / 1.042 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.131, allocations: 3.984 kB / 1.042 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/1.141, allocations: 4.467 MB / 1.047 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.141, allocations: 4 kB / 1.047 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/1.143, allocations: 339 kB / 1.047 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.873e-05/1.143, allocations: 12 kB / 1.047 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/1.143, allocations: 43.97 kB / 1.047 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.975e-05/1.143, allocations: 11.94 kB / 1.047 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/1.143, allocations: 17.44 kB / 1.047 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008975/1.152, allocations: 3.469 MB / 1.051 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.153, allocations: 342.3 kB / 1.051 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004852/1.154, allocations: 36 kB / 1.051 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/1.156, allocations: 163.9 kB / 1.051 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/1.156, allocations: 112.5 kB / 1.051 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.156, allocations: 47.97 kB / 1.051 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002034/1.158, allocations: 1.135 MB / 1.052 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/1.158, allocations: 0 / 1.052 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001821/1.16, allocations: 495.4 kB / 1.053 GB, free: 10.33 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (122): * Single equations (assignments): 116 * 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.002099/1.162, allocations: 0.5792 MB / 1.053 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005615/1.168, allocations: 1.907 MB / 1.055 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.168, allocations: 256 / 1.055 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/1.17, allocations: 0.9633 MB / 1.056 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/1.175, allocations: 0.9529 MB / 1.057 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.188, allocations: 4.398 MB / 1.061 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/1.19, allocations: 1.388 MB / 1.063 GB, free: 212 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.191, allocations: 167.4 kB / 1.063 GB, free: 44 kB / 0.8262 GB Notification: Performance of SimCode: time 1.202e-06/1.191, allocations: 3.938 kB / 1.063 GB, free: 40 kB / 0.8262 GB Notification: Performance of Templates: time 0.473/1.664, allocations: 30.84 MB / 1.093 GB, free: 286.5 MB / 0.8419 GB " [Timeout remaining time 658] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.049038765020669] Failed to read output from testmodel.py, exit status != 0: 1.6740526359062642 1.687494447 0.6582639880000001 Calling exit ...