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.001399/0.001399, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001607/0.001607, allocations: 211.2 kB / 23.75 MB, free: 4.445 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: 7.789 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.9577/0.9577, allocations: 149.9 MB / 463.8 MB, free: 10.41 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.002173/0.002173, allocations: 68.64 kB / 0.6423 GB, free: 9.621 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2105, allocations: 89.18 MB / 0.7294 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7684/0.979, allocations: 214.7 MB / 0.9391 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.9951, allocations: 8.047 MB / 0.9469 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.9974, allocations: 95.12 kB / 0.947 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003294/1.001, allocations: 1.052 MB / 0.948 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008893/1.01, allocations: 3.224 MB / 0.9512 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009159/1.019, allocations: 3.487 MB / 0.9546 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006939/1.026, allocations: 4.042 MB / 0.9585 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/1.028, allocations: 1.122 MB / 0.9596 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006022/1.034, allocations: 2.344 MB / 0.9619 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/1.037, allocations: 1.401 MB / 0.9633 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003613/1.037, allocations: 136 kB / 0.9634 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007443/1.045, allocations: 3.19 MB / 0.9665 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/1.046, allocations: 0.6306 MB / 0.9671 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001704/1.048, allocations: 0.8319 MB / 0.968 GB, free: 348 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009278/1.057, allocations: 3.776 MB / 0.9716 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.057, allocations: 4 kB / 0.9716 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.375e-06/1.057, allocations: 0 / 0.9716 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.867e-05/1.057, allocations: 4 kB / 0.9716 GB, free: 12.54 MB / 0.7481 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.007104/1.064, allocations: 2.678 MB / 0.9743 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.064, allocations: 12.03 kB / 0.9743 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008679/1.073, allocations: 1.337 MB / 0.9756 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/1.076, allocations: 1.177 MB / 0.9767 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/1.076, allocations: 98.58 kB / 0.9768 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/1.077, allocations: 143.9 kB / 0.977 GB, free: 7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004894/1.081, allocations: 2.074 MB / 0.979 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/1.081, allocations: 7.922 kB / 0.979 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/1.082, allocations: 55.98 kB / 0.979 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-05/1.082, allocations: 66.47 kB / 0.9791 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006159/1.088, allocations: 2.187 MB / 0.9812 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/1.1, allocations: 6.226 MB / 0.9873 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005147/1.105, allocations: 1.816 MB / 0.9891 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/1.108, allocations: 0.9288 MB / 0.99 GB, free: 9.355 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009949/1.109, allocations: 200.8 kB / 0.9902 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002974/1.112, allocations: 1.067 MB / 0.9912 GB, free: 8.082 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=119): time 5.16e-06/1.112, allocations: 0 / 0.9912 GB, free: 8.082 MB / 0.7637 GB Notification: Performance of matching and sorting (n=119): time 0.009322/1.121, allocations: 2.888 MB / 0.9941 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/1.121, allocations: 64.41 kB / 0.9941 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/1.124, allocations: 1.375 MB / 0.9955 GB, free: 3.719 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000203/1.124, allocations: 49.64 kB / 0.9955 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000875/1.125, allocations: 0.8389 MB / 0.9963 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005774/1.125, allocations: 428.3 kB / 0.9967 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005437/1.126, allocations: 250.8 kB / 0.997 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000194/1.126, allocations: 353.9 kB / 0.9973 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/1.129, allocations: 0.83 MB / 0.9981 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003022/1.132, allocations: 1.372 MB / 0.9995 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005359/1.137, allocations: 1.946 MB / 1.001 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.137, allocations: 0 / 1.001 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006333/1.143, allocations: 2.18 MB / 1.003 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/1.143, allocations: 8 kB / 1.004 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/1.143, allocations: 11.94 kB / 1.004 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.822e-05/1.143, allocations: 12 kB / 1.004 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/1.146, allocations: 407.7 kB / 1.004 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.181e-05/1.146, allocations: 23.92 kB / 1.004 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/1.148, allocations: 259 kB / 1.004 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/1.148, allocations: 59.97 kB / 1.004 GB, free: 10.41 MB / 0.7794 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.0009943/1.149, allocations: 405.7 kB / 1.005 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005597/1.149, allocations: 170.9 kB / 1.005 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00653/1.156, allocations: 2.204 MB / 1.007 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.156, allocations: 12 kB / 1.007 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/1.156, allocations: 0 / 1.007 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.156, allocations: 7.969 kB / 1.007 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/1.167, allocations: 4.168 MB / 1.011 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.167, allocations: 8.031 kB / 1.011 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/1.169, allocations: 339.5 kB / 1.011 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.238e-05/1.169, allocations: 12 kB / 1.011 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/1.169, allocations: 43.97 kB / 1.011 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.759e-05/1.169, allocations: 15.94 kB / 1.011 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.169, allocations: 7.938 kB / 1.011 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009438/1.178, allocations: 3.495 MB / 1.015 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/1.179, allocations: 314.5 kB / 1.015 GB, free: 14.99 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/1.18, allocations: 32 kB / 1.015 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/1.182, allocations: 175.8 kB / 1.015 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/1.182, allocations: 104.7 kB / 1.015 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.182, allocations: 51.97 kB / 1.016 GB, free: 14.63 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001663/1.184, allocations: 0.928 MB / 1.016 GB, free: 13.7 MB / 0.795 GB Notification: Performance of sort global known variables: time 7e-08/1.184, allocations: 0 / 1.016 GB, free: 13.7 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001869/1.186, allocations: 0.5108 MB / 1.017 GB, free: 13.19 MB / 0.795 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 (125): * Single equations (assignments): 119 * 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.002203/1.188, allocations: 0.6157 MB / 1.018 GB, free: 12.79 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005883/1.194, allocations: 1.919 MB / 1.019 GB, free: 10.88 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/1.194, allocations: 4 kB / 1.019 GB, free: 10.88 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002934/1.197, allocations: 0.9829 MB / 1.02 GB, free: 9.895 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004032/1.201, allocations: 0.7098 MB / 1.021 GB, free: 9.211 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.214, allocations: 4.367 MB / 1.025 GB, free: 4.723 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.215, allocations: 0.8125 MB / 1.026 GB, free: 3.867 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.217, allocations: 151.4 kB / 1.026 GB, free: 3.719 MB / 0.795 GB Notification: Performance of SimCode: time 1.212e-06/1.217, allocations: 3.938 kB / 1.026 GB, free: 3.715 MB / 0.795 GB Notification: Performance of Templates: time 0.05082/1.267, allocations: 28.51 MB / 1.054 GB, free: 7.398 MB / 0.8262 GB " [Timeout remaining time 659] 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: 14.108066020999104] Failed to read output from testmodel.py, exit status != 0: 1.2781354170292616 1.293977938 0.233126087 Calling exit ...