Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.0007409/0.0007409, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0007629/0.0007629, allocations: 216.2 kB / 23 MB, free: 2.98 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.9273/0.9273, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.863/0.863, allocations: 203.8 MB / 0.5049 GB, free: 10.39 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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [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.0009441/0.0009441, allocations: 66.88 kB / 0.7194 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5618, allocations: 102 MB / 0.8191 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03935/0.6011, allocations: 50.43 MB / 0.8683 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0137/0.6148, allocations: 9.772 MB / 0.8778 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.6169, allocations: 94.97 kB / 0.8779 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.6188, allocations: 0.9039 MB / 0.8788 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004076/0.6229, allocations: 2.074 MB / 0.8808 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.6268, allocations: 2.064 MB / 0.8829 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00432/0.6312, allocations: 3.818 MB / 0.8866 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.6325, allocations: 0.9956 MB / 0.8876 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.6354, allocations: 1.99 MB / 0.8895 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.6365, allocations: 1.194 MB / 0.8907 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.6367, allocations: 108 kB / 0.8908 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.6387, allocations: 1.041 MB / 0.8918 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.639, allocations: 398.3 kB / 0.8922 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005153/0.6395, allocations: 0.7034 MB / 0.8929 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.6418, allocations: 2.431 MB / 0.8952 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6418, allocations: 0 / 0.8952 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.895e-06/0.6418, allocations: 4 kB / 0.8952 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.079e-05/0.6418, allocations: 0 / 0.8952 GB, free: 7.387 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002176/0.644, allocations: 2.13 MB / 0.8973 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.6441, allocations: 12.03 kB / 0.8973 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.6458, allocations: 0.662 MB / 0.898 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.6471, allocations: 1.08 MB / 0.899 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/0.6472, allocations: 86.08 kB / 0.8991 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.6473, allocations: 119.9 kB / 0.8992 GB, free: 3.203 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.649, allocations: 1.492 MB / 0.9007 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.6491, allocations: 7.938 kB / 0.9007 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/0.6491, allocations: 51.98 kB / 0.9007 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.6491, allocations: 32 kB / 0.9008 GB, free: 1.465 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.6512, allocations: 1.229 MB / 0.902 GB, free: 240 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004788/0.656, allocations: 6.429 MB / 0.9082 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.6579, allocations: 1.063 MB / 0.9093 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/0.6587, allocations: 0.5336 MB / 0.9098 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005454/0.6592, allocations: 285 kB / 0.9101 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009998/0.6602, allocations: 0.6802 MB / 0.9107 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=85): time 2.284e-06/0.6602, allocations: 0 / 0.9107 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85): time 0.002862/0.6631, allocations: 1.807 MB / 0.9125 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.6631, allocations: 60.41 kB / 0.9126 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.6643, allocations: 1.404 MB / 0.9139 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.6643, allocations: 45.7 kB / 0.914 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/0.6648, allocations: 0.8184 MB / 0.9148 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.665, allocations: 313.4 kB / 0.9151 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.6652, allocations: 222.8 kB / 0.9153 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.6653, allocations: 353.9 kB / 0.9156 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009279/0.6662, allocations: 0.5256 MB / 0.9161 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.6673, allocations: 1.137 MB / 0.9172 GB, free: 60 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.6692, allocations: 1.43 MB / 0.9186 GB, free: 14.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6692, allocations: 4 kB / 0.9186 GB, free: 14.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002205/0.6714, allocations: 1.605 MB / 0.9202 GB, free: 12.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6714, allocations: 15.98 kB / 0.9202 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.6714, allocations: 15.98 kB / 0.9202 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.6714, allocations: 16 kB / 0.9203 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/0.6721, allocations: 352 kB / 0.9206 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/0.6722, allocations: 27.86 kB / 0.9206 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007967/0.673, allocations: 207.1 kB / 0.9208 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.54e-05/0.6731, allocations: 67.95 kB / 0.9209 GB, free: 12.17 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0004155/0.6735, allocations: 351.3 kB / 0.9212 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.6736, allocations: 159 kB / 0.9214 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/0.6767, allocations: 2.158 MB / 0.9235 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/0.6768, allocations: 27.97 kB / 0.9235 GB, free: 9.504 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.6768, allocations: 0 / 0.9235 GB, free: 9.504 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.6768, allocations: 7.984 kB / 0.9235 GB, free: 9.496 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.6806, allocations: 3.117 MB / 0.9266 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6806, allocations: 4 kB / 0.9266 GB, free: 6.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.6812, allocations: 243.8 kB / 0.9268 GB, free: 6.082 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6812, allocations: 8 kB / 0.9268 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.6813, allocations: 39.91 kB / 0.9268 GB, free: 6.035 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.6813, allocations: 8 kB / 0.9268 GB, free: 6.027 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6813, allocations: 0 / 0.9268 GB, free: 6.027 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/0.6849, allocations: 2.81 MB / 0.9296 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.6853, allocations: 314.3 kB / 0.9299 GB, free: 2.871 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.771e-05/0.6854, allocations: 27.94 kB / 0.9299 GB, free: 2.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.6859, allocations: 115.9 kB / 0.93 GB, free: 2.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.686, allocations: 84.94 kB / 0.9301 GB, free: 2.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/0.686, allocations: 47.97 kB / 0.9302 GB, free: 2.602 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008019/0.6868, allocations: 0.9365 MB / 0.9311 GB, free: 1.668 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.6868, allocations: 0 / 0.9311 GB, free: 1.668 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001236/0.6881, allocations: 0.569 MB / 0.9316 GB, free: 1.098 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.001407/0.6895, allocations: 0.8539 MB / 0.9325 GB, free: 448 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.6916, allocations: 1.457 MB / 0.9339 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6917, allocations: 0 / 0.9339 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.6927, allocations: 0.7832 MB / 0.9346 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.6941, allocations: 0.6099 MB / 0.9352 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.6979, allocations: 3.269 MB / 0.9384 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.6984, allocations: 0.7306 MB / 0.9391 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.6987, allocations: 171.3 kB / 0.9393 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of SimCode: time 1.323e-06/0.6987, allocations: 0 / 0.9393 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.03298/0.7317, allocations: 28.32 MB / 0.967 GB, free: 13.2 MB / 0.7448 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.774505709763616] Failed to read output from testmodel.py, exit status != 0: 0.7382959797978401 0.746655391 0.10290656200000001 Calling exit ...