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.001451/0.001451, allocations: 78.09 kB / 19.76 MB, free: 2.035 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.001563/0.001563, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.485/1.485, allocations: 177.2 MB / 203.4 MB, free: 8.977 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.807/0.807, allocations: 101.3 MB / 361.1 MB, free: 9.531 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.002077/0.002077, allocations: 63.69 kB / 0.5357 GB, free: 5.422 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.1536/0.1557, allocations: 85.88 MB / 0.6195 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03332/0.189, allocations: 27.13 MB / 0.646 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01197/0.201, allocations: 6.536 MB / 0.6524 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.2023, allocations: 63.44 kB / 0.6525 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.204, allocations: 0.6875 MB / 0.6531 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005325/0.2094, allocations: 1.579 MB / 0.6547 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.2127, allocations: 1.081 MB / 0.6557 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004307/0.217, allocations: 2.524 MB / 0.6582 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.2183, allocations: 0.6505 MB / 0.6588 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.2205, allocations: 1.082 MB / 0.6599 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.222, allocations: 0.8363 MB / 0.6607 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.2222, allocations: 64 kB / 0.6608 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.2241, allocations: 0.6743 MB / 0.6614 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003941/0.2245, allocations: 294.8 kB / 0.6617 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006189/0.2251, allocations: 453.4 kB / 0.6621 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.2277, allocations: 1.642 MB / 0.6637 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2277, allocations: 0 / 0.6637 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2277, allocations: 0 / 0.6637 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.2277, allocations: 0 / 0.6637 GB, free: 4.266 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.00291/0.2306, allocations: 1.556 MB / 0.6653 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2306, allocations: 12.03 kB / 0.6653 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003782/0.2344, allocations: 0.597 MB / 0.6659 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.2362, allocations: 0.791 MB / 0.6666 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.84e-05/0.2363, allocations: 54 kB / 0.6667 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.2364, allocations: 72 kB / 0.6667 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.2392, allocations: 1.107 MB / 0.6678 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.2392, allocations: 7.938 kB / 0.6678 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.2393, allocations: 28 kB / 0.6679 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.2393, allocations: 24 kB / 0.6679 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/0.2427, allocations: 1.012 MB / 0.6689 GB, free: 14.84 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.006293/0.249, allocations: 4.136 MB / 0.6729 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/0.2522, allocations: 0.884 MB / 0.6738 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.2538, allocations: 484.5 kB / 0.6742 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/0.2546, allocations: 172.3 kB / 0.6744 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001864/0.2565, allocations: 0.5769 MB / 0.675 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.407e-06/0.2565, allocations: 0 / 0.675 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.005316/0.2618, allocations: 1.507 MB / 0.6764 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.2619, allocations: 63.89 kB / 0.6765 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.2634, allocations: 1.072 MB / 0.6775 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.955e-05/0.2635, allocations: 41.69 kB / 0.6776 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005907/0.264, allocations: 0.5668 MB / 0.6781 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.2643, allocations: 222.2 kB / 0.6784 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.2646, allocations: 162.5 kB / 0.6785 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.2647, allocations: 345.9 kB / 0.6788 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.2663, allocations: 457.6 kB / 0.6793 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.2684, allocations: 0.9465 MB / 0.6802 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003421/0.2718, allocations: 1.133 MB / 0.6813 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.2718, allocations: 4 kB / 0.6813 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003977/0.2758, allocations: 1.277 MB / 0.6826 GB, free: 332 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.2758, allocations: 8 kB / 0.6826 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.2759, allocations: 16.89 kB / 0.6826 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.2759, allocations: 12 kB / 0.6826 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.2772, allocations: 271.6 kB / 0.6828 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.877e-05/0.2772, allocations: 19.92 kB / 0.6829 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.2785, allocations: 163.6 kB / 0.683 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.2786, allocations: 51.97 kB / 0.6831 GB, free: 15.79 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.0005279/0.2791, allocations: 292.4 kB / 0.6834 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.2793, allocations: 115.2 kB / 0.6835 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004244/0.2836, allocations: 1.436 MB / 0.6849 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.2836, allocations: 12 kB / 0.6849 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2836, allocations: 4 kB / 0.6849 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.2836, allocations: 3.984 kB / 0.6849 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005581/0.2892, allocations: 2.268 MB / 0.6871 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.2892, allocations: 0 / 0.6871 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.2903, allocations: 191.8 kB / 0.6873 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.2903, allocations: 7.938 kB / 0.6873 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/0.2904, allocations: 23.97 kB / 0.6873 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.2904, allocations: 4 kB / 0.6873 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.2904, allocations: 11.94 kB / 0.6873 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/0.2963, allocations: 2.057 MB / 0.6893 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/0.2969, allocations: 206.9 kB / 0.6895 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.297, allocations: 23.98 kB / 0.6896 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009684/0.298, allocations: 103.9 kB / 0.6897 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.2981, allocations: 60.5 kB / 0.6897 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/0.2982, allocations: 32.06 kB / 0.6897 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009961/0.2992, allocations: 0.7303 MB / 0.6905 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2992, allocations: 0 / 0.6905 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001142/0.3003, allocations: 371.2 kB / 0.6908 GB, free: 7.762 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.00225/0.3026, allocations: 0.6635 MB / 0.6915 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00372/0.3063, allocations: 1.113 MB / 0.6925 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3063, allocations: 0 / 0.6925 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.3081, allocations: 0.5818 MB / 0.6931 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.31, allocations: 370.3 kB / 0.6935 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/0.3156, allocations: 2.415 MB / 0.6958 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.3162, allocations: 0.5214 MB / 0.6963 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008513/0.317, allocations: 235.6 kB / 0.6966 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.3174, allocations: 108.4 kB / 0.6967 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.3174, allocations: 0 / 0.6967 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of Templates: time 0.331/0.6484, allocations: 18.81 MB / 0.715 GB, free: 71.9 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 ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.57834795396775] Failed to read output from testmodel.py, exit status != 0: 0.6562904559541494 0.6682023189999999 0.43792272 Calling exit ...