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.001477/0.001477, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001639/0.001639, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9384/0.9384, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.8142/0.8142, allocations: 154.9 MB / 415.1 MB, free: 236 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.423e-06/1.423e-06, allocations: 0 / 480.4 MB, free: 6.461 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.178e-05, allocations: 2.312 kB / 480.4 MB, free: 6.457 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01056/0.01058, allocations: 13.44 MB / 493.9 MB, free: 9.047 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008872/0.01945, allocations: 5.127 MB / 499 MB, free: 3.961 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.0208, allocations: 99.81 kB / 499.1 MB, free: 3.863 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.02182, allocations: 0.6119 MB / 499.7 MB, free: 3.25 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.02435, allocations: 1.574 MB / 0.4895 GB, free: 1.684 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.02708, allocations: 1.558 MB / 0.491 GB, free: 132 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003743/0.03083, allocations: 3.839 MB / 0.4948 GB, free: 12.27 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.03222, allocations: 1.041 MB / 0.4958 GB, free: 11.2 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.03495, allocations: 1.911 MB / 0.4977 GB, free: 9.289 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.03602, allocations: 0.9645 MB / 0.4986 GB, free: 8.324 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.03616, allocations: 104 kB / 0.4987 GB, free: 8.223 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006512/0.03681, allocations: 324.9 kB / 0.499 GB, free: 7.906 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.03709, allocations: 418.1 kB / 0.4994 GB, free: 7.496 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005305/0.03762, allocations: 0.5649 MB / 0.5 GB, free: 6.93 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.03903, allocations: 1.409 MB / 0.5013 GB, free: 5.516 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.03904, allocations: 0 / 0.5013 GB, free: 5.516 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.03904, allocations: 0.75 kB / 0.5013 GB, free: 5.516 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.654e-05/0.03907, allocations: 0 / 0.5013 GB, free: 5.516 MB / 474.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.002045/0.04111, allocations: 1.974 MB / 0.5033 GB, free: 3.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.04115, allocations: 9.688 kB / 0.5033 GB, free: 3.492 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.0426, allocations: 0.4996 MB / 0.5038 GB, free: 3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.04381, allocations: 1.037 MB / 0.5048 GB, free: 1.926 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/0.04386, allocations: 86.14 kB / 0.5049 GB, free: 1.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.04397, allocations: 110.6 kB / 0.505 GB, free: 1.734 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.04507, allocations: 1.113 MB / 0.5061 GB, free: 480 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.04509, allocations: 7.938 kB / 0.5061 GB, free: 472 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.04515, allocations: 48 kB / 0.5061 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.04517, allocations: 28 kB / 0.5061 GB, free: 396 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.04569, allocations: 423.3 kB / 0.5065 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/0.04985, allocations: 5.332 MB / 0.5117 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/0.05062, allocations: 0.491 MB / 0.5122 GB, free: 9.965 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.05082, allocations: 167.5 kB / 0.5124 GB, free: 9.801 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.05104, allocations: 85.16 kB / 0.5125 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003646/0.05141, allocations: 342.9 kB / 0.5128 GB, free: 9.375 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 3.687e-06/0.05141, allocations: 1.031 kB / 0.5128 GB, free: 9.375 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.0007725/0.05218, allocations: 0.5482 MB / 0.5133 GB, free: 8.824 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.05222, allocations: 64.41 kB / 0.5134 GB, free: 8.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007393/0.05296, allocations: 1.144 MB / 0.5145 GB, free: 7.586 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/0.05301, allocations: 41.7 kB / 0.5146 GB, free: 7.539 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.05328, allocations: 0.5649 MB / 0.5151 GB, free: 6.965 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.05345, allocations: 321.2 kB / 0.5154 GB, free: 6.648 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.05365, allocations: 214.7 kB / 0.5156 GB, free: 6.434 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.05374, allocations: 353.8 kB / 0.516 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.05393, allocations: 141 kB / 0.5161 GB, free: 5.945 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.05434, allocations: 0.7272 MB / 0.5168 GB, free: 5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/0.0552, allocations: 0.7291 MB / 0.5175 GB, free: 4.137 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.0552, allocations: 8.719 kB / 0.5175 GB, free: 4.129 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0007572/0.05596, allocations: 0.7079 MB / 0.5182 GB, free: 3.422 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.05598, allocations: 8 kB / 0.5182 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.05599, allocations: 12 kB / 0.5182 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.05601, allocations: 17.34 kB / 0.5182 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.05659, allocations: 288.8 kB / 0.5185 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.0566, allocations: 28.48 kB / 0.5185 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.05709, allocations: 153.2 kB / 0.5187 GB, free: 2.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.05716, allocations: 48.59 kB / 0.5187 GB, free: 2.883 MB / 490.7 MB 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.0002512/0.05742, allocations: 195.1 kB / 0.5189 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.05755, allocations: 129.6 kB / 0.519 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.05866, allocations: 0.9675 MB / 0.52 GB, free: 1.625 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.05867, allocations: 15.98 kB / 0.52 GB, free: 1.609 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.05867, allocations: 0.5 kB / 0.52 GB, free: 1.609 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.05868, allocations: 3.984 kB / 0.52 GB, free: 1.605 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.06055, allocations: 1.744 MB / 0.5217 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.06056, allocations: 4 kB / 0.5217 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.06099, allocations: 181.5 kB / 0.5219 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.061, allocations: 5.531 kB / 0.5219 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.06104, allocations: 31.97 kB / 0.5219 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.06105, allocations: 11.94 kB / 0.5219 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.06105, allocations: 0 / 0.5219 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.06208, allocations: 0.9989 MB / 0.5229 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.06239, allocations: 235.9 kB / 0.5231 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.0625, allocations: 23.12 kB / 0.5232 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.06285, allocations: 67.88 kB / 0.5232 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.06293, allocations: 72.86 kB / 0.5233 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.06299, allocations: 41.61 kB / 0.5233 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004341/0.06342, allocations: 0.5707 MB / 0.5239 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.06342, allocations: 0 / 0.5239 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008303/0.06425, allocations: 423.3 kB / 0.5243 GB, free: 13.11 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.001684/0.06594, allocations: 0.5934 MB / 0.5249 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007855/0.06672, allocations: 0.5882 MB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.051e-05/0.06674, allocations: 16.5 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.06709, allocations: 326.3 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.06849, allocations: 0.6397 MB / 0.5264 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.07152, allocations: 2.508 MB / 0.5289 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.07172, allocations: 302.5 kB / 0.5291 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007669/0.07249, allocations: 310 kB / 0.5294 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009295/0.07342, allocations: 0.5437 MB / 0.53 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/0.07342, allocations: 0 / 0.53 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of Templates: time 0.03359/0.107, allocations: 28.03 MB / 0.5573 GB, free: 12.38 MB / 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.186637585051358]