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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 114.2 kB / 17.33 MB, free: 5.008 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.002197/0.002197, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.514/1.514, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8881/0.8881, allocations: 128.4 MB / 426.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 60.19 kB / 0.5912 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1834, allocations: 83.26 MB / 0.6725 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7395/0.9229, allocations: 242.6 MB / 0.9095 GB, free: 9.195 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.9384, allocations: 8.422 MB / 0.9177 GB, free: 0.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.9411, allocations: 71.56 kB / 0.9177 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003325/0.9445, allocations: 1.068 MB / 0.9188 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009513/0.954, allocations: 3.186 MB / 0.9219 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.009613/0.9636, allocations: 3.608 MB / 0.9254 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007384/0.971, allocations: 3.999 MB / 0.9293 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/0.9735, allocations: 1.187 MB / 0.9305 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006035/0.9795, allocations: 2.297 MB / 0.9327 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.9827, allocations: 1.479 MB / 0.9342 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005407/0.9833, allocations: 139.9 kB / 0.9343 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009429/0.9927, allocations: 4.177 MB / 0.9384 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.9944, allocations: 0.6229 MB / 0.939 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.9964, allocations: 1.003 MB / 0.94 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01007/1.006, allocations: 3.908 MB / 0.9438 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.006, allocations: 3.938 kB / 0.9438 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.312e-06/1.006, allocations: 0 / 0.9438 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.693e-05/1.007, allocations: 0 / 0.9438 GB, free: 5.898 MB / 0.7012 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.007288/1.014, allocations: 2.741 MB / 0.9465 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.014, allocations: 8.031 kB / 0.9465 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009001/1.023, allocations: 1.325 MB / 0.9478 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/1.026, allocations: 1.291 MB / 0.949 GB, free: 416 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/1.026, allocations: 106.6 kB / 0.9491 GB, free: 308 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/1.026, allocations: 135.9 kB / 0.9493 GB, free: 172 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004905/1.031, allocations: 2.075 MB / 0.9513 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/1.031, allocations: 0 / 0.9513 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/1.031, allocations: 59.98 kB / 0.9513 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-05/1.031, allocations: 62.47 kB / 0.9514 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005943/1.037, allocations: 2.172 MB / 0.9535 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/1.051, allocations: 8.386 MB / 0.9617 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004874/1.056, allocations: 1.799 MB / 0.9635 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002514/1.059, allocations: 0.9333 MB / 0.9644 GB, free: 12 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/1.06, allocations: 0.949 MB / 0.9653 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002803/1.063, allocations: 1.071 MB / 0.9664 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=119): time 5.39e-06/1.063, allocations: 3.984 kB / 0.9664 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=119): time 0.008762/1.072, allocations: 2.876 MB / 0.9692 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/1.072, allocations: 68.41 kB / 0.9692 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/1.074, allocations: 1.627 MB / 0.9708 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002173/1.075, allocations: 49.7 kB / 0.9709 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007315/1.075, allocations: 0.8054 MB / 0.9717 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000507/1.076, allocations: 432.3 kB / 0.9721 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004445/1.076, allocations: 242.9 kB / 0.9723 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.077, allocations: 357.9 kB / 0.9726 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/1.079, allocations: 0.8221 MB / 0.9734 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/1.082, allocations: 1.142 MB / 0.9746 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004938/1.087, allocations: 1.922 MB / 0.9764 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/1.087, allocations: 4 kB / 0.9764 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006045/1.093, allocations: 2.195 MB / 0.9786 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/1.093, allocations: 16.03 kB / 0.9786 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.093, allocations: 4 kB / 0.9786 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/1.093, allocations: 16.09 kB / 0.9786 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/1.095, allocations: 411.3 kB / 0.979 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/1.095, allocations: 19.98 kB / 0.979 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/1.097, allocations: 289.5 kB / 0.9793 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/1.097, allocations: 63.97 kB / 0.9794 GB, free: 192 kB / 0.7325 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.0008996/1.098, allocations: 395.6 kB / 0.9797 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/1.099, allocations: 202.7 kB / 0.9799 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005886/1.104, allocations: 2.193 MB / 0.9821 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/1.104, allocations: 16 kB / 0.9821 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.104, allocations: 0 / 0.9821 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/1.104, allocations: 7.969 kB / 0.9821 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/1.115, allocations: 4.491 MB / 0.9865 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.015e-05/1.115, allocations: 8 kB / 0.9865 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/1.117, allocations: 340.6 kB / 0.9868 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.03e-05/1.117, allocations: 12 kB / 0.9868 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/1.117, allocations: 39.97 kB / 0.9869 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.796e-05/1.117, allocations: 12 kB / 0.9869 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.117, allocations: 11.94 kB / 0.9869 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008905/1.126, allocations: 3.469 MB / 0.9903 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.127, allocations: 415.5 kB / 0.9907 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005408/1.128, allocations: 36.12 kB / 0.9907 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.13, allocations: 167.8 kB / 0.9909 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/1.13, allocations: 96.7 kB / 0.991 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.13, allocations: 51.97 kB / 0.991 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001725/1.132, allocations: 1.11 MB / 0.9921 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.132, allocations: 0 / 0.9921 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001734/1.134, allocations: 0.4916 MB / 0.9926 GB, free: 2.375 MB / 0.7481 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.002023/1.136, allocations: 0.595 MB / 0.9932 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005517/1.141, allocations: 1.911 MB / 0.995 GB, free: 36 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.141, allocations: 0 / 0.995 GB, free: 36 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002802/1.144, allocations: 0.9635 MB / 0.996 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005013/1.149, allocations: 0.9555 MB / 0.9969 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.162, allocations: 4.297 MB / 1.001 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/1.163, allocations: 1.372 MB / 1.002 GB, free: 8.32 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002167/1.165, allocations: 482.8 kB / 1.003 GB, free: 7.844 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005887/1.166, allocations: 151.4 kB / 1.003 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of SimCode: time 1.693e-06/1.166, allocations: 0 / 1.003 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of Templates: time 0.06784/1.234, allocations: 35.21 MB / 1.037 GB, free: 4.914 MB / 0.795 GB 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]