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.001587/0.001587, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001756/0.001756, allocations: 222.4 kB / 23 MB, free: 4.914 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8388/0.8388, allocations: 134 MB / 447.2 MB, free: 9.949 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.002233/0.002233, allocations: 64.53 kB / 0.6197 GB, free: 6.344 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1653, allocations: 85.91 MB / 0.7036 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03434/0.1996, allocations: 27.13 MB / 0.7301 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.2111, allocations: 6.535 MB / 0.7365 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.2127, allocations: 63.38 kB / 0.7366 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.2147, allocations: 0.6914 MB / 0.7372 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.2193, allocations: 1.579 MB / 0.7388 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.2224, allocations: 1.079 MB / 0.7398 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003893/0.2263, allocations: 2.524 MB / 0.7423 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.2278, allocations: 0.6466 MB / 0.7429 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.2303, allocations: 1.078 MB / 0.744 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.2318, allocations: 0.8362 MB / 0.7448 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.232, allocations: 68 kB / 0.7449 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.2337, allocations: 0.6743 MB / 0.7455 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.2341, allocations: 298.8 kB / 0.7458 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005867/0.2347, allocations: 457.4 kB / 0.7462 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.2373, allocations: 1.634 MB / 0.7478 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2373, allocations: 0 / 0.7478 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2373, allocations: 0 / 0.7478 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.216e-05/0.2373, allocations: 0 / 0.7478 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.002741/0.2401, allocations: 1.563 MB / 0.7494 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2401, allocations: 8.031 kB / 0.7494 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/0.2435, allocations: 0.5931 MB / 0.75 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.2453, allocations: 0.7871 MB / 0.7507 GB, free: 60 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.2454, allocations: 58 kB / 0.7508 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.334/0.5793, allocations: 76.31 kB / 0.7508 GB, free: 48.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.5821, allocations: 1.109 MB / 0.7519 GB, free: 48.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.5821, allocations: 7.156 kB / 0.7519 GB, free: 48.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/0.5822, allocations: 28.03 kB / 0.752 GB, free: 48.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.5822, allocations: 21.41 kB / 0.752 GB, free: 48.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00303/0.5852, allocations: 1.014 MB / 0.753 GB, free: 48.65 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.005297/0.5905, allocations: 4.135 MB / 0.757 GB, free: 45.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.5935, allocations: 0.8825 MB / 0.7579 GB, free: 45.72 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.595, allocations: 474.4 kB / 0.7583 GB, free: 45.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/0.5957, allocations: 172.8 kB / 0.7585 GB, free: 45.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/0.5974, allocations: 0.5812 MB / 0.7591 GB, free: 45.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.486e-06/0.5974, allocations: 0 / 0.7591 GB, free: 45.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004924/0.6023, allocations: 1.499 MB / 0.7605 GB, free: 45.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.6024, allocations: 58.36 kB / 0.7606 GB, free: 44.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.6039, allocations: 1.075 MB / 0.7616 GB, free: 44.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.604, allocations: 40.56 kB / 0.7617 GB, free: 44.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/0.6045, allocations: 0.5718 MB / 0.7622 GB, free: 44.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.6047, allocations: 225.4 kB / 0.7624 GB, free: 43.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/0.605, allocations: 165.5 kB / 0.7626 GB, free: 43.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.6051, allocations: 339.5 kB / 0.7629 GB, free: 43.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.6065, allocations: 456.4 kB / 0.7634 GB, free: 43.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.6082, allocations: 0.9445 MB / 0.7643 GB, free: 42.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/0.6112, allocations: 1.132 MB / 0.7654 GB, free: 42.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.6112, allocations: 2.906 kB / 0.7654 GB, free: 42.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003586/0.6148, allocations: 1.284 MB / 0.7666 GB, free: 41.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.6148, allocations: 8.875 kB / 0.7667 GB, free: 41.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.6148, allocations: 8.531 kB / 0.7667 GB, free: 41.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/0.6148, allocations: 15.56 kB / 0.7667 GB, free: 41.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.616, allocations: 267.4 kB / 0.7669 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.527e-05/0.6161, allocations: 17.78 kB / 0.7669 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.6172, allocations: 171.7 kB / 0.7671 GB, free: 41.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-05/0.6173, allocations: 47.52 kB / 0.7672 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.0004724/0.6178, allocations: 294.7 kB / 0.7674 GB, free: 41.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.618, allocations: 119.1 kB / 0.7675 GB, free: 41.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.6218, allocations: 1.424 MB / 0.7689 GB, free: 40.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.6218, allocations: 16.92 kB / 0.769 GB, free: 40.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6218, allocations: 4.844 kB / 0.769 GB, free: 40.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.6218, allocations: 4.609 kB / 0.769 GB, free: 40.97 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/0.6268, allocations: 2.256 MB / 0.7712 GB, free: 40.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.6268, allocations: 3.469 kB / 0.7712 GB, free: 40.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.6278, allocations: 195 kB / 0.7714 GB, free: 40.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/0.6278, allocations: 4.672 kB / 0.7714 GB, free: 40.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/0.6279, allocations: 31.61 kB / 0.7714 GB, free: 40.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.6279, allocations: 10.67 kB / 0.7714 GB, free: 40.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6279, allocations: 5.656 kB / 0.7714 GB, free: 40.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004911/0.6328, allocations: 2.067 MB / 0.7734 GB, free: 39.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.6333, allocations: 201.2 kB / 0.7736 GB, free: 39.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.6335, allocations: 18.25 kB / 0.7736 GB, free: 39.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008584/0.6343, allocations: 110.6 kB / 0.7737 GB, free: 39.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.6344, allocations: 57.77 kB / 0.7738 GB, free: 39.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/0.6345, allocations: 33.38 kB / 0.7738 GB, free: 39.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008517/0.6354, allocations: 0.727 MB / 0.7745 GB, free: 38.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6354, allocations: 5.219 kB / 0.7745 GB, free: 38.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001231/0.6366, allocations: 368.5 kB / 0.7749 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.002016/0.6386, allocations: 0.6591 MB / 0.7755 GB, free: 38.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003222/0.6418, allocations: 1.125 MB / 0.7766 GB, free: 38.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6418, allocations: 5.094 kB / 0.7766 GB, free: 38.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001528/0.6434, allocations: 0.5704 MB / 0.7772 GB, free: 37.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.6451, allocations: 377.9 kB / 0.7776 GB, free: 37.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.6497, allocations: 2.459 MB / 0.78 GB, free: 36.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.6501, allocations: 0.5307 MB / 0.7805 GB, free: 35.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.6506, allocations: 112.7 kB / 0.7806 GB, free: 35.94 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/0.6506, allocations: 0 / 0.7806 GB, free: 35.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.02311/0.6737, allocations: 18.82 MB / 0.799 GB, free: 19.11 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: 10.837805131915957] Failed to read output from testmodel.py, exit status != 0: 0.681375018786639 0.6914028249999999 0.45168708199999996 Calling exit ...