Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001835/0.001835, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001597/0.001597, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.294/1.294, allocations: 203.8 MB / 0.5041 GB, free: 4.711 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] "Notification: IDEAS 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.002086/0.002086, allocations: 67.88 kB / 0.7187 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5519, allocations: 102 MB / 0.8183 GB, free: 28.86 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2834/0.8353, allocations: 214.7 MB / 1.028 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01623/0.8516, allocations: 8.07 MB / 1.036 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.8539, allocations: 91.19 kB / 1.036 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.8567, allocations: 1.052 MB / 1.037 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.008767/0.8655, allocations: 3.221 MB / 1.04 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009299/0.8748, allocations: 3.534 MB / 1.044 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006754/0.8816, allocations: 4.046 MB / 1.048 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.8838, allocations: 1.137 MB / 1.049 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005323/0.8891, allocations: 2.351 MB / 1.051 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.8914, allocations: 1.404 MB / 1.052 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.8916, allocations: 136 kB / 1.052 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007123/0.8988, allocations: 3.183 MB / 1.056 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0008859/0.8997, allocations: 0.6307 MB / 1.056 GB, free: 2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.9009, allocations: 0.8318 MB / 1.057 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007609/0.9085, allocations: 3.788 MB / 1.061 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.9085, allocations: 0 / 1.061 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9085, allocations: 0 / 1.061 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.564e-05/0.9086, allocations: 0 / 1.061 GB, free: 13.36 MB / 0.8419 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.007199/0.9158, allocations: 2.678 MB / 1.063 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.9158, allocations: 13.47 kB / 1.063 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009409/0.9252, allocations: 1.325 MB / 1.065 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.9284, allocations: 1.174 MB / 1.066 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.9285, allocations: 102.6 kB / 1.066 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/0.9288, allocations: 136 kB / 1.066 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005147/0.934, allocations: 2.078 MB / 1.068 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.934, allocations: 7.938 kB / 1.068 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.9342, allocations: 52 kB / 1.068 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.939e-05/0.9343, allocations: 62.47 kB / 1.068 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006439/0.9407, allocations: 2.187 MB / 1.07 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.9534, allocations: 6.249 MB / 1.076 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005182/0.9586, allocations: 1.808 MB / 1.078 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/0.9612, allocations: 0.9444 MB / 1.079 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.9623, allocations: 200.8 kB / 1.079 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002947/0.9652, allocations: 1.063 MB / 1.08 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=119): time 3.417e-06/0.9653, allocations: 0 / 1.08 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=119): time 0.009112/0.9744, allocations: 2.88 MB / 1.083 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.9744, allocations: 68.39 kB / 1.083 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.9765, allocations: 1.379 MB / 1.084 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.9767, allocations: 49.7 kB / 1.085 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007791/0.9774, allocations: 0.8389 MB / 1.085 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004752/0.9779, allocations: 436.3 kB / 1.086 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/0.9784, allocations: 238.9 kB / 1.086 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.9786, allocations: 357.9 kB / 1.086 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/0.981, allocations: 0.8261 MB / 1.087 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002887/0.9839, allocations: 1.372 MB / 1.088 GB, free: 240 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005115/0.989, allocations: 1.942 MB / 1.09 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.989, allocations: 4 kB / 1.09 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006514/0.9956, allocations: 2.182 MB / 1.093 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.9956, allocations: 10.34 kB / 1.093 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.9956, allocations: 8.844 kB / 1.093 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.917e-05/0.9957, allocations: 19.94 kB / 1.093 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/0.9981, allocations: 415.4 kB / 1.093 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.594e-05/0.9981, allocations: 19.94 kB / 1.093 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/1, allocations: 243 kB / 1.093 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/1.001, allocations: 67.91 kB / 1.093 GB, free: 11.22 MB / 0.8731 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.0009087/1.002, allocations: 408.2 kB / 1.094 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/1.002, allocations: 170.9 kB / 1.094 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006457/1.008, allocations: 2.204 MB / 1.096 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/1.008, allocations: 15.94 kB / 1.096 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/1.008, allocations: 0 / 1.096 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.008, allocations: 3.984 kB / 1.096 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/1.019, allocations: 4.172 MB / 1.1 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/1.019, allocations: 8 kB / 1.1 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/1.021, allocations: 347.9 kB / 1.1 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.286e-05/1.021, allocations: 15.94 kB / 1.1 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/1.021, allocations: 39.97 kB / 1.1 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.775e-05/1.021, allocations: 19.98 kB / 1.1 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/1.021, allocations: 11.94 kB / 1.1 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009159/1.03, allocations: 3.484 MB / 1.104 GB, free: 96 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.031, allocations: 314.7 kB / 1.104 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/1.032, allocations: 31.98 kB / 1.104 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/1.033, allocations: 171.8 kB / 1.104 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/1.034, allocations: 104.5 kB / 1.104 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.034, allocations: 51.97 kB / 1.105 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001439/1.035, allocations: 0.9358 MB / 1.105 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.01e-07/1.035, allocations: 0 / 1.105 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001638/1.037, allocations: 0.5147 MB / 1.106 GB, free: 13.98 MB / 0.8887 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.002089/1.039, allocations: 0.599 MB / 1.107 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005803/1.045, allocations: 1.919 MB / 1.108 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.045, allocations: 3.938 kB / 1.108 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002921/1.048, allocations: 0.9791 MB / 1.109 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/1.051, allocations: 0.715 MB / 1.11 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.065, allocations: 4.28 MB / 1.114 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.066, allocations: 0.8105 MB / 1.115 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002163/1.068, allocations: 436 kB / 1.115 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006117/1.069, allocations: 135.4 kB / 1.116 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of SimCode: time 1.593e-06/1.069, allocations: 4 kB / 1.116 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of Templates: time 0.4883/1.557, allocations: 32.72 MB / 1.148 GB, free: 263.9 MB / 0.8887 GB " [Timeout remaining time 658] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.666297823190689] Failed to read output from testmodel.py, exit status != 0: 1.5668061655014753 1.578743368 0.667441131 Calling exit ...