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.001365/0.001365, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001566/0.001566, allocations: 210 kB / 22.25 MB, free: 4.863 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.777 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.286/1.286, allocations: 203.8 MB / 0.5042 GB, free: 4.617 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_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.00223/0.00223, allocations: 67.89 kB / 0.7187 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6062/0.6085, allocations: 102 MB / 0.8183 GB, free: 28.84 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05528/0.6638, allocations: 50.42 MB / 0.8675 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.6831, allocations: 9.769 MB / 0.8771 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.6857, allocations: 95 kB / 0.8772 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003297/0.689, allocations: 0.9071 MB / 0.8781 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007319/0.6963, allocations: 2.074 MB / 0.8801 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006394/0.7027, allocations: 2.064 MB / 0.8821 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006802/0.7095, allocations: 3.815 MB / 0.8858 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.7118, allocations: 0.9866 MB / 0.8868 GB, free: 12.54 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00573/0.7176, allocations: 1.987 MB / 0.8887 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003265/0.7208, allocations: 1.209 MB / 0.8899 GB, free: 10.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003947/0.7212, allocations: 106.5 kB / 0.89 GB, free: 10.66 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003646/0.7249, allocations: 1.034 MB / 0.891 GB, free: 10.14 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006261/0.7255, allocations: 405.1 kB / 0.8914 GB, free: 9.84 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.7269, allocations: 0.7027 MB / 0.8921 GB, free: 9.441 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005498/0.7324, allocations: 2.432 MB / 0.8945 GB, free: 7.93 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.7324, allocations: 1.062 kB / 0.8945 GB, free: 7.93 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7324, allocations: 3.938 kB / 0.8945 GB, free: 7.926 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.903e-05/0.7325, allocations: 0 / 0.8945 GB, free: 7.926 MB / 0.67 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.00452/0.737, allocations: 2.137 MB / 0.8966 GB, free: 6.004 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.737, allocations: 9.469 kB / 0.8966 GB, free: 5.996 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004268/0.7413, allocations: 0.6621 MB / 0.8972 GB, free: 5.332 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/0.7441, allocations: 1.076 MB / 0.8983 GB, free: 4.211 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.7442, allocations: 94.08 kB / 0.8984 GB, free: 4.117 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.7444, allocations: 112 kB / 0.8985 GB, free: 4.008 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003709/0.7481, allocations: 1.497 MB / 0.8999 GB, free: 2.355 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.7481, allocations: 7.938 kB / 0.8999 GB, free: 2.348 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.7482, allocations: 48 kB / 0.9 GB, free: 2.301 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.7483, allocations: 28 kB / 0.9 GB, free: 2.273 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/0.7523, allocations: 1.237 MB / 0.9012 GB, free: 1.035 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.7626, allocations: 6.429 MB / 0.9075 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/0.7666, allocations: 1.071 MB / 0.9085 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.7683, allocations: 0.5326 MB / 0.9091 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.7694, allocations: 289 kB / 0.9093 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002117/0.7716, allocations: 0.68 MB / 0.91 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=85): time 3.686e-06/0.7716, allocations: 0 / 0.91 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85): time 0.006138/0.7777, allocations: 1.799 MB / 0.9118 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.7778, allocations: 64.39 kB / 0.9118 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.7801, allocations: 1.408 MB / 0.9132 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.7802, allocations: 45.7 kB / 0.9132 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008076/0.781, allocations: 0.8146 MB / 0.914 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.7814, allocations: 313.4 kB / 0.9143 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.7818, allocations: 226.8 kB / 0.9145 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.782, allocations: 349.9 kB / 0.9149 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.7837, allocations: 0.5217 MB / 0.9154 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.7862, allocations: 1.141 MB / 0.9165 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004053/0.7902, allocations: 1.426 MB / 0.9179 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.7903, allocations: 4 kB / 0.9179 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004989/0.7952, allocations: 1.613 MB / 0.9195 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.7953, allocations: 8 kB / 0.9195 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.7953, allocations: 12 kB / 0.9195 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/0.7953, allocations: 16 kB / 0.9195 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.7969, allocations: 343.7 kB / 0.9198 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.53e-05/0.7969, allocations: 27.92 kB / 0.9199 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.7985, allocations: 203.1 kB / 0.9201 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.7987, allocations: 67.91 kB / 0.9201 GB, free: 13 MB / 0.7012 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.0008098/0.7995, allocations: 355.3 kB / 0.9205 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/0.8, allocations: 159 kB / 0.9206 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005997/0.806, allocations: 2.172 MB / 0.9227 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.989e-05/0.806, allocations: 23.98 kB / 0.9228 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.806, allocations: 0 / 0.9228 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.8061, allocations: 7.969 kB / 0.9228 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008109/0.8142, allocations: 3.129 MB / 0.9258 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.8142, allocations: 0 / 0.9258 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.8155, allocations: 235.8 kB / 0.926 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.089e-05/0.8155, allocations: 7.938 kB / 0.9261 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.8156, allocations: 43.95 kB / 0.9261 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/0.8156, allocations: 4 kB / 0.9261 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.8156, allocations: 11.94 kB / 0.9261 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007417/0.823, allocations: 2.798 MB / 0.9288 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.8241, allocations: 310.3 kB / 0.9291 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000352/0.8244, allocations: 35.92 kB / 0.9292 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.8258, allocations: 119.9 kB / 0.9293 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.8259, allocations: 80.8 kB / 0.9294 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.8261, allocations: 51.95 kB / 0.9294 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001744/0.8278, allocations: 0.9365 MB / 0.9303 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8278, allocations: 0 / 0.9303 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002293/0.8301, allocations: 0.5729 MB / 0.9309 GB, free: 1.895 MB / 0.7012 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.002884/0.833, allocations: 0.8575 MB / 0.9317 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004517/0.8375, allocations: 1.457 MB / 0.9331 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8375, allocations: 192 / 0.9331 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.8397, allocations: 0.783 MB / 0.9339 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/0.8429, allocations: 0.6047 MB / 0.9345 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0071/0.85, allocations: 3.213 MB / 0.9376 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.851, allocations: 0.7345 MB / 0.9384 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001569/0.8526, allocations: 343.4 kB / 0.9387 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/0.8532, allocations: 163.3 kB / 0.9388 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of SimCode: time 1.112e-06/0.8532, allocations: 0 / 0.9388 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of Templates: time 0.05954/0.9127, allocations: 33.02 MB / 0.9711 GB, free: 9.449 MB / 0.7481 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: 7.9295160081237555] Failed to read output from testmodel.py, exit status != 0: 0.9229635279625654 0.939479989 0.20345921700000003 Calling exit ...