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.0009712/0.0009712, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001008/0.001008, allocations: 165 kB / 23.02 MB, free: 1.547 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.9309/0.9309, allocations: 177.1 MB / 203.4 MB, free: 5.559 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.807/0.807, allocations: 154.8 MB / 414.7 MB, free: 492 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.583e-06/1.583e-06, allocations: 0 / 0.5206 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.286e-05, allocations: 5.781 kB / 0.5206 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0105/0.01052, allocations: 13.58 MB / 0.5339 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007618/0.01814, allocations: 5.026 MB / 0.5388 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009598/0.0191, allocations: 100.1 kB / 0.5389 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009886/0.02009, allocations: 0.5998 MB / 0.5395 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.02229, allocations: 1.575 MB / 0.541 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.02461, allocations: 1.548 MB / 0.5425 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003021/0.02763, allocations: 3.862 MB / 0.5463 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009997/0.02863, allocations: 1.037 MB / 0.5473 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.03016, allocations: 1.825 MB / 0.5491 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009271/0.03108, allocations: 1.068 MB / 0.5501 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.03122, allocations: 107.9 kB / 0.5502 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005333/0.03175, allocations: 324 kB / 0.5505 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.03201, allocations: 418.1 kB / 0.5509 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004328/0.03244, allocations: 0.5703 MB / 0.5515 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.03388, allocations: 1.413 MB / 0.5529 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.03388, allocations: 0 / 0.5529 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.062e-06/0.03388, allocations: 0 / 0.5529 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.0339, allocations: 1.594 kB / 0.5529 GB, free: 0.8281 MB / 0.5105 GB 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.002038/0.03594, allocations: 2.112 MB / 0.5549 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.03597, allocations: 8.656 kB / 0.5549 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.03745, allocations: 0.6329 MB / 0.5555 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.03862, allocations: 1.139 MB / 0.5567 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.03868, allocations: 90.12 kB / 0.5567 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.03879, allocations: 112 kB / 0.5569 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.0402, allocations: 1.307 MB / 0.5581 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.04022, allocations: 7.938 kB / 0.5581 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.561e-05/0.04028, allocations: 44 kB / 0.5582 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.0403, allocations: 28 kB / 0.5582 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009545/0.04126, allocations: 0.5737 MB / 0.5588 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004674/0.04593, allocations: 7.966 MB / 0.5665 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.04698, allocations: 0.5776 MB / 0.5671 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.0473, allocations: 227.2 kB / 0.5673 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.04753, allocations: 89.53 kB / 0.5674 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004673/0.048, allocations: 376.8 kB / 0.5678 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 2.254e-06/0.048, allocations: 0 / 0.5678 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.001301/0.0493, allocations: 0.9161 MB / 0.5687 GB, free: 100 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.04934, allocations: 60.41 kB / 0.5687 GB, free: 28 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009343/0.05027, allocations: 1.25 MB / 0.5699 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.05032, allocations: 41.7 kB / 0.57 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.05078, allocations: 0.8772 MB / 0.5708 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.05096, allocations: 309.4 kB / 0.5711 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.0512, allocations: 228.5 kB / 0.5714 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.05134, allocations: 0.5237 MB / 0.5719 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.05168, allocations: 197 kB / 0.5721 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008594/0.05254, allocations: 0.9479 MB / 0.573 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/0.05346, allocations: 0.9295 MB / 0.5739 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.05346, allocations: 8 kB / 0.5739 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001279/0.05474, allocations: 1.027 MB / 0.5749 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.05477, allocations: 14.34 kB / 0.5749 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.05478, allocations: 12 kB / 0.5749 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/0.05481, allocations: 16 kB / 0.5749 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.05545, allocations: 312.1 kB / 0.5752 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.05547, allocations: 23.92 kB / 0.5753 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.05596, allocations: 163.2 kB / 0.5754 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.05605, allocations: 63.97 kB / 0.5755 GB, free: 8.574 MB / 0.5417 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.0002455/0.0563, allocations: 242.1 kB / 0.5757 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.05648, allocations: 194.9 kB / 0.5759 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.05799, allocations: 1.251 MB / 0.5771 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.05801, allocations: 15.98 kB / 0.5771 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.05801, allocations: 0 / 0.5771 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.05802, allocations: 3.984 kB / 0.5771 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.0607, allocations: 2.38 MB / 0.5795 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.0607, allocations: 0 / 0.5795 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.06121, allocations: 203.8 kB / 0.5797 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.06121, allocations: 4 kB / 0.5797 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.06127, allocations: 35.97 kB / 0.5797 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.06127, allocations: 11.94 kB / 0.5797 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.06128, allocations: 7.938 kB / 0.5797 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.06285, allocations: 1.41 MB / 0.5811 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.06316, allocations: 294.3 kB / 0.5814 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.06326, allocations: 31.92 kB / 0.5814 GB, free: 2.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.06364, allocations: 79.97 kB / 0.5815 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.06374, allocations: 84.84 kB / 0.5816 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/0.0638, allocations: 43.97 kB / 0.5816 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005998/0.0644, allocations: 0.7373 MB / 0.5823 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.0644, allocations: 0 / 0.5823 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000749/0.06515, allocations: 431.3 kB / 0.5827 GB, free: 1 MB / 0.5417 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.001118/0.06627, allocations: 476.4 kB / 0.5832 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009602/0.06723, allocations: 0.7486 MB / 0.5839 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.06723, allocations: 0 / 0.5839 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004695/0.0677, allocations: 407.8 kB / 0.5843 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.06912, allocations: 0.651 MB / 0.5849 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.07217, allocations: 2.566 MB / 0.5874 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.07235, allocations: 306.5 kB / 0.5877 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006172/0.07297, allocations: 331.4 kB / 0.5881 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.07325, allocations: 164.3 kB / 0.5882 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/0.07325, allocations: 0 / 0.5882 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.02705/0.1003, allocations: 25.31 MB / 0.6129 GB, free: 2.871 MB / 0.573 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.449052068870515]