Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001043/0.001043, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001228/0.001228, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9312/0.9312, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7948/0.7948, allocations: 154.9 MB / 415.1 MB, free: 276 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0.9844 kB / 0.5212 GB, free: 384 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.424e-05, allocations: 2.312 kB / 0.5212 GB, free: 380 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01189/0.01191, allocations: 13.4 MB / 0.5343 GB, free: 2.957 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.02304, allocations: 5.02 MB / 0.5392 GB, free: 13.98 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.02514, allocations: 95.12 kB / 0.5393 GB, free: 13.88 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.02647, allocations: 0.6028 MB / 0.5398 GB, free: 13.28 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.02914, allocations: 1.574 MB / 0.5414 GB, free: 11.71 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.03228, allocations: 1.55 MB / 0.5429 GB, free: 10.16 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003378/0.03565, allocations: 3.865 MB / 0.5467 GB, free: 6.281 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.03695, allocations: 1.034 MB / 0.5477 GB, free: 5.227 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.03905, allocations: 1.903 MB / 0.5495 GB, free: 3.32 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009275/0.03997, allocations: 1.035 MB / 0.5505 GB, free: 2.285 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.04011, allocations: 104 kB / 0.5506 GB, free: 2.184 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006307/0.04074, allocations: 315.6 kB / 0.5509 GB, free: 1.875 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.04099, allocations: 418.1 kB / 0.5513 GB, free: 1.465 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.04148, allocations: 0.5649 MB / 0.5519 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.04288, allocations: 1.412 MB / 0.5533 GB, free: 15.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.04289, allocations: 4 kB / 0.5533 GB, free: 15.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.04289, allocations: 1.062 kB / 0.5533 GB, free: 15.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.04291, allocations: 0 / 0.5533 GB, free: 15.48 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002373/0.04528, allocations: 2.124 MB / 0.5554 GB, free: 13.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.04533, allocations: 14.11 kB / 0.5554 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.04671, allocations: 0.6053 MB / 0.556 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.04787, allocations: 1.134 MB / 0.5571 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.04792, allocations: 86.14 kB / 0.5571 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.04803, allocations: 108 kB / 0.5573 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.04929, allocations: 1.202 MB / 0.5584 GB, free: 9.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.04931, allocations: 4.656 kB / 0.5584 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.04937, allocations: 48 kB / 0.5585 GB, free: 9.879 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.04939, allocations: 29.34 kB / 0.5585 GB, free: 9.852 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.04993, allocations: 467.6 kB / 0.5589 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005012/0.05495, allocations: 7.694 MB / 0.5665 GB, free: 1.453 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008474/0.05579, allocations: 496.1 kB / 0.5669 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.05601, allocations: 194.2 kB / 0.5671 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.05626, allocations: 111.3 kB / 0.5672 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/0.05664, allocations: 345 kB / 0.5676 GB, free: 352 kB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 2.174e-06/0.05664, allocations: 0 / 0.5676 GB, free: 352 kB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.001012/0.05766, allocations: 0.7947 MB / 0.5683 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.05769, allocations: 64.39 kB / 0.5684 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.05888, allocations: 1.209 MB / 0.5696 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.05893, allocations: 51.88 kB / 0.5696 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004674/0.0594, allocations: 0.8769 MB / 0.5705 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.05957, allocations: 309.4 kB / 0.5708 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.05977, allocations: 236.4 kB / 0.571 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.0599, allocations: 0.5159 MB / 0.5715 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.06011, allocations: 159.5 kB / 0.5717 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.06061, allocations: 0.8985 MB / 0.5725 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/0.0613, allocations: 0.8647 MB / 0.5734 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.06131, allocations: 4 kB / 0.5734 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0009685/0.06228, allocations: 0.9386 MB / 0.5743 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.0623, allocations: 8.25 kB / 0.5743 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.06231, allocations: 16 kB / 0.5743 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.06233, allocations: 16 kB / 0.5743 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.06288, allocations: 295.5 kB / 0.5746 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.0629, allocations: 19.94 kB / 0.5746 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.06335, allocations: 163 kB / 0.5748 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.06342, allocations: 59.97 kB / 0.5749 GB, free: 8.328 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0002343/0.06365, allocations: 234.1 kB / 0.5751 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.06382, allocations: 198.9 kB / 0.5753 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.06557, allocations: 1.146 MB / 0.5764 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.06559, allocations: 15.98 kB / 0.5764 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.06559, allocations: 0 / 0.5764 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.0656, allocations: 7.969 kB / 0.5764 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.06759, allocations: 2.061 MB / 0.5784 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.0676, allocations: 0 / 0.5784 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.06802, allocations: 187.9 kB / 0.5786 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.06803, allocations: 8 kB / 0.5786 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.06807, allocations: 35.97 kB / 0.5786 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.06808, allocations: 11.92 kB / 0.5787 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.06808, allocations: 4 kB / 0.5787 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.06927, allocations: 1.245 MB / 0.5799 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.06954, allocations: 278.4 kB / 0.5801 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.189e-05/0.06963, allocations: 31.98 kB / 0.5802 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.06997, allocations: 71.88 kB / 0.5802 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.07006, allocations: 76.86 kB / 0.5803 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/0.07011, allocations: 39.97 kB / 0.5803 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004253/0.07054, allocations: 0.6901 MB / 0.581 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.07054, allocations: 0 / 0.581 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007139/0.07125, allocations: 427.2 kB / 0.5814 GB, free: 1.461 MB / 0.4948 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.0009779/0.07223, allocations: 487.2 kB / 0.5819 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007015/0.07293, allocations: 0.6418 MB / 0.5825 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.07293, allocations: 1.5 kB / 0.5825 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006389/0.07357, allocations: 364.1 kB / 0.5829 GB, free: 152 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.07489, allocations: 0.6401 MB / 0.5835 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.07747, allocations: 2.547 MB / 0.586 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.07765, allocations: 306.5 kB / 0.5863 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005955/0.07825, allocations: 309.1 kB / 0.5866 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008835/0.07913, allocations: 0.6227 MB / 0.5872 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/0.07913, allocations: 0 / 0.5872 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.03336/0.1125, allocations: 28.15 MB / 0.6147 GB, free: 276 kB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.235103838611394]