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.0007928/0.0007928, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008056/0.0008056, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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 0.9003/0.9003, allocations: 230.6 MB / 256.8 MB, free: 3.465 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7291/0.7291, allocations: 203.8 MB / 0.5049 GB, free: 0.6914 MB / 410.7 MB " [Timeout remaining time 179] 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.0009435/0.0009435, allocations: 67.89 kB / 0.7195 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5736/0.5745, allocations: 102 MB / 0.8191 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.213/0.7875, allocations: 246.4 MB / 1.06 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.7993, allocations: 8.583 MB / 1.068 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.8013, allocations: 99.06 kB / 1.068 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.8034, allocations: 1.076 MB / 1.069 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.006035/0.8094, allocations: 3.271 MB / 1.073 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006303/0.8157, allocations: 3.648 MB / 1.076 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003739/0.8194, allocations: 4.073 MB / 1.08 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.8207, allocations: 1.153 MB / 1.081 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.8237, allocations: 2.359 MB / 1.083 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.8248, allocations: 1.479 MB / 1.085 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.825, allocations: 140 kB / 1.085 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005373/0.8304, allocations: 4.275 MB / 1.089 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004278/0.8308, allocations: 0.6229 MB / 1.09 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006869/0.8315, allocations: 1.006 MB / 1.091 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.004757/0.8362, allocations: 3.924 MB / 1.095 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8362, allocations: 4 kB / 1.095 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8362, allocations: 0 / 1.095 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.845e-05/0.8363, allocations: 4 kB / 1.095 GB, free: 8.02 MB / 0.8698 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.004023/0.8403, allocations: 2.682 MB / 1.097 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.8404, allocations: 9.469 kB / 1.097 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003977/0.8443, allocations: 1.329 MB / 1.099 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.8461, allocations: 1.203 MB / 1.1 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.8461, allocations: 98.59 kB / 1.1 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.8463, allocations: 132 kB / 1.1 GB, free: 2.469 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.849, allocations: 2.071 MB / 1.102 GB, free: 304 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.849, allocations: 7.938 kB / 1.102 GB, free: 296 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.8491, allocations: 56 kB / 1.102 GB, free: 240 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/0.8493, allocations: 62.47 kB / 1.102 GB, free: 176 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.8524, allocations: 2.172 MB / 1.104 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007079/0.8595, allocations: 8.334 MB / 1.112 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.862, allocations: 1.795 MB / 1.114 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.8633, allocations: 0.9444 MB / 1.115 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/0.8638, allocations: 204.8 kB / 1.115 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001534/0.8653, allocations: 1.055 MB / 1.116 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=119): time 3.246e-06/0.8653, allocations: 0 / 1.116 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119): time 0.4143/1.28, allocations: 2.881 MB / 1.119 GB, free: 269.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/1.28, allocations: 69.88 kB / 1.119 GB, free: 269.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/1.282, allocations: 1.652 MB / 1.121 GB, free: 268.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/1.282, allocations: 49.44 kB / 1.121 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/1.282, allocations: 0.8134 MB / 1.122 GB, free: 268.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000277/1.282, allocations: 438.4 kB / 1.122 GB, free: 268 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/1.283, allocations: 237.3 kB / 1.122 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/1.283, allocations: 353.8 kB / 1.123 GB, free: 267.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/1.284, allocations: 0.8224 MB / 1.123 GB, free: 267.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/1.286, allocations: 1.142 MB / 1.125 GB, free: 266.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003079/1.289, allocations: 1.928 MB / 1.126 GB, free: 266 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.289, allocations: 2.438 kB / 1.126 GB, free: 266 MB / 0.8855 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00371/1.293, allocations: 2.195 MB / 1.129 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.293, allocations: 13.41 kB / 1.129 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.293, allocations: 15.98 kB / 1.129 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/1.293, allocations: 18.08 kB / 1.129 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.294, allocations: 405.8 kB / 1.129 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.122e-05/1.294, allocations: 19.77 kB / 1.129 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.295, allocations: 284.4 kB / 1.129 GB, free: 265.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.295, allocations: 59.97 kB / 1.129 GB, free: 265.2 MB / 0.8855 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.0005164/1.296, allocations: 402.3 kB / 1.13 GB, free: 265 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/1.296, allocations: 202.9 kB / 1.13 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/1.299, allocations: 2.201 MB / 1.132 GB, free: 264.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/1.299, allocations: 17.86 kB / 1.132 GB, free: 264.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.299, allocations: 1.375 kB / 1.132 GB, free: 264.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/1.299, allocations: 6.469 kB / 1.132 GB, free: 264.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/1.306, allocations: 4.466 MB / 1.136 GB, free: 262.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.306, allocations: 6.672 kB / 1.136 GB, free: 262.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.307, allocations: 338.4 kB / 1.137 GB, free: 262.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/1.307, allocations: 15.48 kB / 1.137 GB, free: 262.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/1.307, allocations: 45.62 kB / 1.137 GB, free: 262.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-05/1.307, allocations: 20.64 kB / 1.137 GB, free: 262.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/1.307, allocations: 16.64 kB / 1.137 GB, free: 262.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/1.312, allocations: 3.47 MB / 1.14 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/1.312, allocations: 337.9 kB / 1.141 GB, free: 260.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/1.313, allocations: 32.14 kB / 1.141 GB, free: 260.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008093/1.313, allocations: 167.7 kB / 1.141 GB, free: 260.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/1.314, allocations: 104.9 kB / 1.141 GB, free: 260.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/1.314, allocations: 51.84 kB / 1.141 GB, free: 260.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001363/1.315, allocations: 1.134 MB / 1.142 GB, free: 260.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/1.315, allocations: 0 / 1.142 GB, free: 260.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001227/1.316, allocations: 495.5 kB / 1.143 GB, free: 260.3 MB / 0.8855 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.001123/1.317, allocations: 0.5842 MB / 1.143 GB, free: 260.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003424/1.321, allocations: 1.9 MB / 1.145 GB, free: 259.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.321, allocations: 1.469 kB / 1.145 GB, free: 259.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.322, allocations: 0.9682 MB / 1.146 GB, free: 259.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/1.325, allocations: 0.9514 MB / 1.147 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007442/1.332, allocations: 4.395 MB / 1.151 GB, free: 257.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007943/1.333, allocations: 1.384 MB / 1.152 GB, free: 256.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000591/1.334, allocations: 170.8 kB / 1.153 GB, free: 256.3 MB / 0.8855 GB Notification: Performance of SimCode: time 8.12e-07/1.334, allocations: 0 / 1.153 GB, free: 256.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.03989/1.374, allocations: 30.86 MB / 1.183 GB, free: 240 MB / 0.8855 GB " [Timeout remaining time 659] 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: 10.662337776971981] Failed to read output from testmodel.py, exit status != 0: 1.3803539020009339 1.386232258 0.548431055 Calling exit ...