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.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.001368/0.001368, 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.001887/0.001887, allocations: 210.5 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.486/1.486, 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 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.884/0.884, allocations: 134 MB / 446.4 MB, free: 9.922 MB / 350.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.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_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: 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.003676/0.003676, allocations: 62.25 kB / 0.619 GB, free: 6.352 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2047, allocations: 85.92 MB / 0.7029 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03555/0.2402, allocations: 27.13 MB / 0.7294 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.252, allocations: 6.532 MB / 0.7358 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.2533, allocations: 67.38 kB / 0.7358 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.2551, allocations: 0.6914 MB / 0.7365 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004641/0.2597, allocations: 1.579 MB / 0.738 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.2628, allocations: 1.082 MB / 0.7391 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004026/0.2668, allocations: 2.516 MB / 0.7416 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.2684, allocations: 0.6466 MB / 0.7422 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.2711, allocations: 1.078 MB / 0.7432 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.2729, allocations: 0.8324 MB / 0.7441 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.2732, allocations: 68 kB / 0.7441 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.2753, allocations: 0.6782 MB / 0.7448 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.2758, allocations: 290.8 kB / 0.7451 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008941/0.2767, allocations: 461.4 kB / 0.7455 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.2798, allocations: 1.634 MB / 0.7471 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2798, allocations: 4 kB / 0.7471 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2798, allocations: 0 / 0.7471 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.343e-05/0.2799, allocations: 0 / 0.7471 GB, free: 3.098 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.002999/0.2829, allocations: 1.552 MB / 0.7486 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2829, allocations: 12.03 kB / 0.7486 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/0.2864, allocations: 0.5931 MB / 0.7492 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.2882, allocations: 0.7949 MB / 0.75 GB, free: 60 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.624e-05/0.2882, allocations: 57.98 kB / 0.75 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3936/0.6819, allocations: 73.11 kB / 0.7501 GB, free: 48.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/0.6849, allocations: 1.101 MB / 0.7512 GB, free: 48.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.6849, allocations: 6.125 kB / 0.7512 GB, free: 48.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.029e-05/0.685, allocations: 32.16 kB / 0.7512 GB, free: 48.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.685, allocations: 18.47 kB / 0.7512 GB, free: 48.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.6884, allocations: 1.014 MB / 0.7522 GB, free: 48.64 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.005814/0.6942, allocations: 4.138 MB / 0.7563 GB, free: 45.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/0.698, allocations: 0.8829 MB / 0.7571 GB, free: 45.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.6997, allocations: 476.2 kB / 0.7576 GB, free: 45.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008061/0.7005, allocations: 172.5 kB / 0.7577 GB, free: 45.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001767/0.7023, allocations: 0.5768 MB / 0.7583 GB, free: 45.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.066e-06/0.7023, allocations: 7.344 kB / 0.7583 GB, free: 45.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.005203/0.7075, allocations: 1.498 MB / 0.7598 GB, free: 45.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.7076, allocations: 58.61 kB / 0.7598 GB, free: 44.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.7093, allocations: 1.075 MB / 0.7609 GB, free: 44.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.285e-05/0.7094, allocations: 40.81 kB / 0.7609 GB, free: 44.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004787/0.7099, allocations: 0.5706 MB / 0.7615 GB, free: 44.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.7101, allocations: 222.1 kB / 0.7617 GB, free: 43.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.7104, allocations: 169.5 kB / 0.7619 GB, free: 43.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.7105, allocations: 339.2 kB / 0.7622 GB, free: 43.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.7122, allocations: 453.4 kB / 0.7626 GB, free: 43.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.7142, allocations: 0.9455 MB / 0.7635 GB, free: 42.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/0.7174, allocations: 1.14 MB / 0.7646 GB, free: 42.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.7174, allocations: 3.266 kB / 0.7646 GB, free: 42.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003855/0.7213, allocations: 1.28 MB / 0.7659 GB, free: 41.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.7213, allocations: 8.062 kB / 0.7659 GB, free: 41.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.7213, allocations: 7.75 kB / 0.7659 GB, free: 41.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/0.7213, allocations: 12.03 kB / 0.7659 GB, free: 41.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.7226, allocations: 277.7 kB / 0.7662 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.7226, allocations: 17.52 kB / 0.7662 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7239, allocations: 168.2 kB / 0.7664 GB, free: 41.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.724, allocations: 51.33 kB / 0.7664 GB, free: 41.66 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.0005515/0.7245, allocations: 293.7 kB / 0.7667 GB, free: 41.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.7247, allocations: 118.5 kB / 0.7668 GB, free: 41.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.729, allocations: 1.427 MB / 0.7682 GB, free: 40.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.729, allocations: 17.56 kB / 0.7682 GB, free: 40.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.729, allocations: 0.7656 kB / 0.7682 GB, free: 40.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.729, allocations: 4.703 kB / 0.7682 GB, free: 40.97 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005359/0.7344, allocations: 2.257 MB / 0.7704 GB, free: 40.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.7344, allocations: 2.281 kB / 0.7704 GB, free: 40.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.7354, allocations: 198.3 kB / 0.7706 GB, free: 40.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.7354, allocations: 5.094 kB / 0.7706 GB, free: 40.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.7355, allocations: 25.3 kB / 0.7707 GB, free: 40.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.7355, allocations: 3.656 kB / 0.7707 GB, free: 40.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7355, allocations: 2.625 kB / 0.7707 GB, free: 40.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00548/0.741, allocations: 2.07 MB / 0.7727 GB, free: 39.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/0.7415, allocations: 207.6 kB / 0.7729 GB, free: 39.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.7418, allocations: 14.34 kB / 0.7729 GB, free: 39.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.7428, allocations: 111.1 kB / 0.773 GB, free: 39.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.743, allocations: 60.52 kB / 0.7731 GB, free: 39.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.415e-05/0.743, allocations: 33.89 kB / 0.7731 GB, free: 39.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001249/0.7443, allocations: 0.7259 MB / 0.7738 GB, free: 38.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.7443, allocations: 0 / 0.7738 GB, free: 38.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001587/0.7459, allocations: 369.5 kB / 0.7741 GB, free: 38.77 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 (76): * Single equations (assignments): 61 * 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.002328/0.7482, allocations: 0.6706 MB / 0.7748 GB, free: 38.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003711/0.7519, allocations: 1.124 MB / 0.7759 GB, free: 38.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.7519, allocations: 0 / 0.7759 GB, free: 38.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.7538, allocations: 0.5792 MB / 0.7765 GB, free: 37.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.756, allocations: 371.8 kB / 0.7768 GB, free: 37.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.7621, allocations: 2.424 MB / 0.7792 GB, free: 36.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009033/0.763, allocations: 0.5229 MB / 0.7797 GB, free: 36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001168/0.7642, allocations: 227.2 kB / 0.7799 GB, free: 35.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.7646, allocations: 106.8 kB / 0.78 GB, free: 35.85 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.7646, allocations: 0 / 0.78 GB, free: 35.85 MB / 0.5606 GB Notification: Performance of Templates: time 0.0296/0.7942, allocations: 20.4 MB / 0.7999 GB, free: 17.65 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: 7.109059354290366] Failed to read output from testmodel.py, exit status != 0: 0.8052311390638351 0.81198285 0.529827737 Calling exit ...