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.001264/0.001264, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00122/0.00122, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.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.8623/0.8623, allocations: 134 MB / 438.5 MB, free: 13.7 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.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.002136/0.002136, allocations: 79.88 kB / 0.6084 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.4924, allocations: 84.67 MB / 0.6911 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03357/0.5259, allocations: 29.83 MB / 0.7202 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.538, allocations: 6.909 MB / 0.727 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.54, allocations: 47.69 kB / 0.727 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.5421, allocations: 0.7109 MB / 0.7277 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004826/0.5469, allocations: 1.512 MB / 0.7292 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003419/0.5503, allocations: 1.165 MB / 0.7303 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004356/0.5547, allocations: 2.493 MB / 0.7327 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.5558, allocations: 0.646 MB / 0.7334 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.5581, allocations: 1.055 MB / 0.7344 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.5593, allocations: 0.8636 MB / 0.7352 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.5594, allocations: 64 kB / 0.7353 GB, free: 8.711 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.5615, allocations: 0.8538 MB / 0.7361 GB, free: 7.855 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.5618, allocations: 286.8 kB / 0.7364 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006573/0.5625, allocations: 0.5515 MB / 0.737 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.5654, allocations: 1.649 MB / 0.7386 GB, free: 5.367 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5654, allocations: 0 / 0.7386 GB, free: 5.367 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.135e-06/0.5654, allocations: 0 / 0.7386 GB, free: 5.367 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.48e-05/0.5654, allocations: 0 / 0.7386 GB, free: 5.367 MB / 0.545 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.003621/0.569, allocations: 1.615 MB / 0.7401 GB, free: 3.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.5691, allocations: 12.03 kB / 0.7402 GB, free: 3.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.5726, allocations: 0.5853 MB / 0.7407 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.5745, allocations: 0.8881 MB / 0.7416 GB, free: 2.156 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-05/0.5746, allocations: 58 kB / 0.7416 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.5747, allocations: 76 kB / 0.7417 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.5773, allocations: 1.099 MB / 0.7428 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.5773, allocations: 4 kB / 0.7428 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.5774, allocations: 31.94 kB / 0.7428 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.5774, allocations: 16 kB / 0.7428 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.5804, allocations: 1.004 MB / 0.7438 GB, free: 15.79 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.006633/0.587, allocations: 4.944 MB / 0.7487 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.5899, allocations: 0.868 MB / 0.7495 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.5912, allocations: 471 kB / 0.75 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/0.5929, allocations: 1.591 MB / 0.7515 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/0.5945, allocations: 0.5768 MB / 0.7521 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.847e-06/0.5945, allocations: 0 / 0.7521 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004693/0.5992, allocations: 1.489 MB / 0.7535 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.5992, allocations: 55.97 kB / 0.7536 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.6007, allocations: 1.12 MB / 0.7547 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.361e-05/0.6008, allocations: 37.7 kB / 0.7547 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004941/0.6013, allocations: 0.5559 MB / 0.7552 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.6015, allocations: 214.2 kB / 0.7555 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.6018, allocations: 162.6 kB / 0.7556 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.602, allocations: 341.9 kB / 0.7559 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.6034, allocations: 449.6 kB / 0.7564 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.605, allocations: 0.7203 MB / 0.7571 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/0.6079, allocations: 1.12 MB / 0.7582 GB, free: 176 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.6079, allocations: 4 kB / 0.7582 GB, free: 172 kB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003593/0.6115, allocations: 1.275 MB / 0.7594 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.6115, allocations: 8.156 kB / 0.7594 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.6116, allocations: 15.98 kB / 0.7594 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/0.6116, allocations: 12 kB / 0.7594 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.6128, allocations: 263.6 kB / 0.7597 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/0.6128, allocations: 19.92 kB / 0.7597 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.614, allocations: 187.2 kB / 0.7599 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.885e-05/0.6141, allocations: 43.97 kB / 0.7599 GB, free: 14.35 MB / 0.5762 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.0005294/0.6147, allocations: 301 kB / 0.7602 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.6149, allocations: 123.2 kB / 0.7603 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.6186, allocations: 1.396 MB / 0.7617 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.6186, allocations: 8 kB / 0.7617 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6186, allocations: 0 / 0.7617 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.6186, allocations: 3.984 kB / 0.7617 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/0.6238, allocations: 2.39 MB / 0.764 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.6238, allocations: 4 kB / 0.7641 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.6249, allocations: 187.9 kB / 0.7642 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.6249, allocations: 7.984 kB / 0.7642 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.6249, allocations: 27.97 kB / 0.7643 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.625, allocations: 11.88 kB / 0.7643 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.625, allocations: 0 / 0.7643 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005004/0.63, allocations: 2.007 MB / 0.7662 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004901/0.6305, allocations: 284 kB / 0.7665 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.6306, allocations: 15.98 kB / 0.7665 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/0.6315, allocations: 115.8 kB / 0.7666 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.6316, allocations: 48.5 kB / 0.7667 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.643e-05/0.6317, allocations: 35.97 kB / 0.7667 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001035/0.6328, allocations: 0.7638 MB / 0.7675 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6328, allocations: 0 / 0.7675 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001169/0.6339, allocations: 351.3 kB / 0.7678 GB, free: 6.156 MB / 0.5762 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.00207/0.636, allocations: 0.6612 MB / 0.7684 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003388/0.6394, allocations: 1.087 MB / 0.7695 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6394, allocations: 0 / 0.7695 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.641, allocations: 0.5501 MB / 0.77 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.6431, allocations: 462.8 kB / 0.7705 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/0.6482, allocations: 2.39 MB / 0.7728 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.649, allocations: 1.104 MB / 0.7739 GB, free: 52 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009511/0.6499, allocations: 244.1 kB / 0.7741 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.6502, allocations: 111.4 kB / 0.7742 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/0.6502, allocations: 0 / 0.7742 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.05078/0.701, allocations: 20.47 MB / 0.7942 GB, free: 11.52 MB / 0.6075 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.923693782649934]