Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002416/0.002416, allocations: 189.2 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8711/0.8711, allocations: 134 MB / 440.3 MB, free: 288 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 71.22 kB / 0.6108 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1795, allocations: 84.72 MB / 0.6935 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03719/0.2167, allocations: 29.83 MB / 0.7226 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.229, allocations: 6.925 MB / 0.7294 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.2305, allocations: 67.31 kB / 0.7295 GB, free: 4.059 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.2326, allocations: 0.6992 MB / 0.7301 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.2375, allocations: 1.536 MB / 0.7316 GB, free: 1.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.241, allocations: 1.208 MB / 0.7328 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004111/0.2451, allocations: 2.516 MB / 0.7353 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.2465, allocations: 0.6504 MB / 0.7359 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.2493, allocations: 1.062 MB / 0.7369 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.2515, allocations: 0.8676 MB / 0.7378 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.2518, allocations: 64 kB / 0.7379 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.2542, allocations: 0.8771 MB / 0.7387 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005014/0.2547, allocations: 286.8 kB / 0.739 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.2557, allocations: 0.5476 MB / 0.7395 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003924/0.2596, allocations: 1.654 MB / 0.7411 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2596, allocations: 0 / 0.7411 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2596, allocations: 0 / 0.7411 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.506e-05/0.2597, allocations: 0 / 0.7411 GB, free: 8.059 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003993/0.2637, allocations: 1.536 MB / 0.7426 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.2638, allocations: 12.03 kB / 0.7426 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003927/0.2677, allocations: 0.5892 MB / 0.7432 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.2697, allocations: 0.8081 MB / 0.744 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-05/0.2698, allocations: 57.98 kB / 0.7441 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.2699, allocations: 72 kB / 0.7441 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.2728, allocations: 1.101 MB / 0.7452 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.2728, allocations: 3.938 kB / 0.7452 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-05/0.2729, allocations: 31.98 kB / 0.7452 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.273, allocations: 20 kB / 0.7453 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/0.2763, allocations: 1 MB / 0.7462 GB, free: 2.66 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3367/0.613, allocations: 4.898 MB / 0.751 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.6163, allocations: 0.8719 MB / 0.7519 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.618, allocations: 462.6 kB / 0.7523 GB, free: 52.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007802/0.6187, allocations: 175.5 kB / 0.7525 GB, free: 52.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001824/0.6206, allocations: 0.5689 MB / 0.753 GB, free: 52.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.445e-06/0.6206, allocations: 3.844 kB / 0.753 GB, free: 52.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.005281/0.6258, allocations: 1.487 MB / 0.7545 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.6259, allocations: 61.55 kB / 0.7546 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.6274, allocations: 1.116 MB / 0.7556 GB, free: 52.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.557e-05/0.6275, allocations: 39.97 kB / 0.7557 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.6279, allocations: 0.5515 MB / 0.7562 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.6281, allocations: 219.2 kB / 0.7564 GB, free: 51.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.6284, allocations: 164.6 kB / 0.7566 GB, free: 51.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.6284, allocations: 341.5 kB / 0.7569 GB, free: 51.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.63, allocations: 452.5 kB / 0.7573 GB, free: 51.28 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.6319, allocations: 0.7135 MB / 0.758 GB, free: 50.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/0.6353, allocations: 1.119 MB / 0.7591 GB, free: 50.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/0.6353, allocations: 2.406 kB / 0.7591 GB, free: 50.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004324/0.6397, allocations: 1.285 MB / 0.7604 GB, free: 49.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.6397, allocations: 8.438 kB / 0.7604 GB, free: 49.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.6397, allocations: 9.125 kB / 0.7604 GB, free: 49.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/0.6398, allocations: 12.7 kB / 0.7604 GB, free: 49.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.6411, allocations: 272.4 kB / 0.7607 GB, free: 49.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.706e-05/0.6411, allocations: 16.62 kB / 0.7607 GB, free: 49.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.6428, allocations: 181.7 kB / 0.7609 GB, free: 49.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.643, allocations: 47.84 kB / 0.7609 GB, free: 49.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0007644/0.6437, allocations: 296.6 kB / 0.7612 GB, free: 49.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/0.6442, allocations: 128.2 kB / 0.7613 GB, free: 49.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004697/0.6489, allocations: 1.407 MB / 0.7627 GB, free: 49.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.6489, allocations: 10.61 kB / 0.7627 GB, free: 49.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.6489, allocations: 3.625 kB / 0.7627 GB, free: 49.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.6489, allocations: 3.516 kB / 0.7627 GB, free: 49.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/0.6551, allocations: 2.375 MB / 0.765 GB, free: 48.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.6551, allocations: 1.188 kB / 0.765 GB, free: 48.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.6562, allocations: 194.5 kB / 0.7652 GB, free: 48.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.905e-05/0.6562, allocations: 8.719 kB / 0.7652 GB, free: 48.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.6563, allocations: 25.25 kB / 0.7652 GB, free: 48.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.6563, allocations: 5.266 kB / 0.7653 GB, free: 48.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6564, allocations: 1.531 kB / 0.7653 GB, free: 48.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00571/0.6621, allocations: 2.029 MB / 0.7672 GB, free: 47.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/0.6627, allocations: 207.1 kB / 0.7674 GB, free: 47.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.663, allocations: 23.55 kB / 0.7675 GB, free: 47.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.6641, allocations: 111.1 kB / 0.7676 GB, free: 47.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.6643, allocations: 52.45 kB / 0.7676 GB, free: 47.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-05/0.6644, allocations: 37.7 kB / 0.7676 GB, free: 47.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001149/0.6655, allocations: 0.7632 MB / 0.7684 GB, free: 46.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6655, allocations: 1.062 kB / 0.7684 GB, free: 46.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0013/0.6668, allocations: 343.2 kB / 0.7687 GB, free: 46.9 MB / 0.5606 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 (73): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002185/0.669, allocations: 0.6538 MB / 0.7694 GB, free: 46.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003805/0.6728, allocations: 1.107 MB / 0.7704 GB, free: 46.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6728, allocations: 0 / 0.7704 GB, free: 46.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.6746, allocations: 0.55 MB / 0.771 GB, free: 46.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.677, allocations: 466.1 kB / 0.7714 GB, free: 46.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/0.6824, allocations: 2.393 MB / 0.7738 GB, free: 45.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.683, allocations: 1.107 MB / 0.7748 GB, free: 44.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001025/0.6841, allocations: 248.3 kB / 0.7751 GB, free: 44.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.6844, allocations: 108.5 kB / 0.7752 GB, free: 44.09 MB / 0.5606 GB Notification: Performance of SimCode: time 1.794e-06/0.6844, allocations: 4.719 kB / 0.7752 GB, free: 44.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.03132/0.7157, allocations: 20.69 MB / 0.7954 GB, free: 27.48 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.758725902996957] Failed to read output from testmodel.py, exit status != 0: 0.72361652366817 0.734120582 0.471852296 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f97b89b97b0>