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.001329/0.001329, allocations: 78.95 kB / 19.76 MB, free: 1.898 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.001367/0.001367, allocations: 159.9 kB / 23.01 MB, free: 4.574 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.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 9.25 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.8176/0.8176, allocations: 101.3 MB / 361.1 MB, free: 10.06 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.002051/0.002051, allocations: 66.84 kB / 0.5357 GB, free: 5.457 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1812, allocations: 85.87 MB / 0.6195 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03332/0.2145, allocations: 27.02 MB / 0.6459 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.2263, allocations: 6.521 MB / 0.6523 GB, free: 176 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.2276, allocations: 67.38 kB / 0.6523 GB, free: 108 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.2294, allocations: 0.6953 MB / 0.653 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.2342, allocations: 1.579 MB / 0.6546 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.2374, allocations: 1.081 MB / 0.6556 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00401/0.2414, allocations: 2.524 MB / 0.6581 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.2426, allocations: 0.6466 MB / 0.6587 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.2452, allocations: 1.39 MB / 0.6601 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.2465, allocations: 0.844 MB / 0.6609 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.2467, allocations: 68 kB / 0.6609 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.2484, allocations: 0.6704 MB / 0.6616 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003418/0.2488, allocations: 302.7 kB / 0.6619 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005463/0.2493, allocations: 453.5 kB / 0.6623 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.2516, allocations: 1.642 MB / 0.6639 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2516, allocations: 0 / 0.6639 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2516, allocations: 0 / 0.6639 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.2516, allocations: 0 / 0.6639 GB, free: 4.188 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.002811/0.2544, allocations: 1.548 MB / 0.6654 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.2545, allocations: 16.03 kB / 0.6655 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/0.2579, allocations: 0.597 MB / 0.666 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.2595, allocations: 0.7987 MB / 0.6668 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.2596, allocations: 54 kB / 0.6669 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.2597, allocations: 72 kB / 0.6669 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.2622, allocations: 1.099 MB / 0.668 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.2623, allocations: 7.938 kB / 0.668 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-05/0.2624, allocations: 35.98 kB / 0.6681 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.2624, allocations: 20 kB / 0.6681 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/0.2655, allocations: 1.008 MB / 0.6691 GB, free: 14.77 MB / 0.5762 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.006052/0.2715, allocations: 4.144 MB / 0.6731 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/0.2745, allocations: 0.8801 MB / 0.674 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.276, allocations: 482.8 kB / 0.6744 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006921/0.2766, allocations: 172.3 kB / 0.6746 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.2784, allocations: 0.5759 MB / 0.6752 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.966e-06/0.2784, allocations: 0 / 0.6752 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.004829/0.2832, allocations: 1.499 MB / 0.6766 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.2833, allocations: 59.91 kB / 0.6767 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.2847, allocations: 1.08 MB / 0.6777 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.551e-05/0.2848, allocations: 37.7 kB / 0.6778 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/0.2853, allocations: 0.5746 MB / 0.6783 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.2855, allocations: 222.2 kB / 0.6785 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.2858, allocations: 162.5 kB / 0.6787 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.286, allocations: 342 kB / 0.679 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.2875, allocations: 461.6 kB / 0.6795 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.2893, allocations: 0.9426 MB / 0.6804 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.2924, allocations: 1.13 MB / 0.6815 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.2924, allocations: 0 / 0.6815 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00377/0.2962, allocations: 1.288 MB / 0.6827 GB, free: 252 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.2962, allocations: 8 kB / 0.6827 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.2962, allocations: 8.875 kB / 0.6828 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.2963, allocations: 12 kB / 0.6828 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.2975, allocations: 275.5 kB / 0.683 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.2976, allocations: 12 kB / 0.683 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.2988, allocations: 171.3 kB / 0.6832 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.2989, allocations: 47.97 kB / 0.6832 GB, free: 15.72 MB / 0.5919 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.000515/0.2994, allocations: 292.6 kB / 0.6835 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.2996, allocations: 123.1 kB / 0.6836 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/0.3037, allocations: 1.432 MB / 0.685 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.3037, allocations: 11.98 kB / 0.6851 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3037, allocations: 0 / 0.6851 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.3037, allocations: 11.98 kB / 0.6851 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005294/0.309, allocations: 2.256 MB / 0.6873 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.309, allocations: 0 / 0.6873 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.3101, allocations: 199.7 kB / 0.6875 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.3101, allocations: 8 kB / 0.6875 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.3102, allocations: 27.97 kB / 0.6875 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.3102, allocations: 4 kB / 0.6875 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3102, allocations: 4 kB / 0.6875 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005443/0.3157, allocations: 2.064 MB / 0.6895 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.3162, allocations: 202.9 kB / 0.6897 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.3163, allocations: 16 kB / 0.6897 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009443/0.3173, allocations: 107.9 kB / 0.6898 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.3174, allocations: 60.48 kB / 0.6899 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/0.3175, allocations: 39.91 kB / 0.6899 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001107/0.3186, allocations: 0.7265 MB / 0.6906 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3186, allocations: 0 / 0.6906 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001348/0.3199, allocations: 375.2 kB / 0.691 GB, free: 7.684 MB / 0.5919 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.002331/0.3223, allocations: 0.6642 MB / 0.6916 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003589/0.3259, allocations: 1.12 MB / 0.6927 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3259, allocations: 0 / 0.6927 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.3276, allocations: 0.5701 MB / 0.6933 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.3293, allocations: 369.8 kB / 0.6936 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.3346, allocations: 2.427 MB / 0.696 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.3352, allocations: 0.5214 MB / 0.6965 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009151/0.3362, allocations: 239.6 kB / 0.6968 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.3365, allocations: 104.4 kB / 0.6969 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of SimCode: time 1.163e-06/0.3365, allocations: 0 / 0.6969 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of Templates: time 0.3951/0.7316, allocations: 18.82 MB / 0.7152 GB, free: 72.41 MB / 0.5919 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.605665449053049] Failed to read output from testmodel.py, exit status != 0: 0.7403429411351681 0.754513152 0.499966918 Calling exit ...