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.001893/0.001893, allocations: 85.48 kB / 19.44 MB, free: 344 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.002036/0.002036, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 178] 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 1.352/1.352, allocations: 154.8 MB / 414.3 MB, free: 424 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 178] 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.973e-06/1.973e-06, allocations: 3.938 kB / 0.5199 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.231e-05, allocations: 4.469 kB / 0.5199 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.07479/0.07482, allocations: 56.49 MB / 0.5751 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0213/0.09613, allocations: 10.75 MB / 0.5856 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/0.09874, allocations: 95.12 kB / 0.5857 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.1018, allocations: 0.9199 MB / 0.5866 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007365/0.1092, allocations: 2.132 MB / 0.5886 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006792/0.116, allocations: 2.165 MB / 0.5908 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007746/0.1238, allocations: 3.857 MB / 0.5945 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/0.1269, allocations: 1.045 MB / 0.5955 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007843/0.1347, allocations: 2.468 MB / 0.598 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.1377, allocations: 1.063 MB / 0.599 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005491/0.1382, allocations: 108 kB / 0.5991 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004362/0.1426, allocations: 1.06 MB / 0.6001 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009847/0.1436, allocations: 422.1 kB / 0.6005 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002366/0.1459, allocations: 0.5649 MB / 0.6011 GB, free: 15.01 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.007485/0.1534, allocations: 2.445 MB / 0.6035 GB, free: 12.55 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.1534, allocations: 0 / 0.6035 GB, free: 12.55 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.346e-06/0.1534, allocations: 0 / 0.6035 GB, free: 12.55 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001215/0.1535, allocations: 0 / 0.6035 GB, free: 12.55 MB / 0.573 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.005879/0.1594, allocations: 2.297 MB / 0.6057 GB, free: 10.2 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1595, allocations: 8.031 kB / 0.6057 GB, free: 10.19 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003498/0.163, allocations: 0.6427 MB / 0.6063 GB, free: 9.547 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.1655, allocations: 1.137 MB / 0.6075 GB, free: 8.359 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.69e-05/0.1656, allocations: 82.14 kB / 0.6075 GB, free: 8.277 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.1658, allocations: 112 kB / 0.6076 GB, free: 8.168 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/0.169, allocations: 1.552 MB / 0.6092 GB, free: 6.414 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.1691, allocations: 3.938 kB / 0.6092 GB, free: 6.41 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.1692, allocations: 47.94 kB / 0.6092 GB, free: 6.363 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.1692, allocations: 32 kB / 0.6092 GB, free: 6.332 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003262/0.1725, allocations: 1.05 MB / 0.6103 GB, free: 5.277 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.184, allocations: 8.4 MB / 0.6185 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00303/0.187, allocations: 0.9265 MB / 0.6194 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.1883, allocations: 452.4 kB / 0.6198 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.1893, allocations: 278.2 kB / 0.6201 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/0.191, allocations: 0.5999 MB / 0.6207 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=85): time 3.526e-06/0.191, allocations: 0 / 0.6207 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=85): time 0.004751/0.1957, allocations: 1.53 MB / 0.6221 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.1958, allocations: 64.41 kB / 0.6222 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.1982, allocations: 1.502 MB / 0.6237 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.1984, allocations: 45.7 kB / 0.6237 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009694/0.1993, allocations: 0.9241 MB / 0.6246 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003826/0.1997, allocations: 325.4 kB / 0.6249 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/0.2001, allocations: 248.5 kB / 0.6252 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003297/0.2005, allocations: 0.5316 MB / 0.6257 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.202, allocations: 442.3 kB / 0.6261 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.2041, allocations: 1.19 MB / 0.6273 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/0.2073, allocations: 1.377 MB / 0.6286 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.2073, allocations: 4 kB / 0.6286 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004018/0.2113, allocations: 1.469 MB / 0.6301 GB, free: 140 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.2114, allocations: 16.25 kB / 0.6301 GB, free: 124 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.2114, allocations: 8 kB / 0.6301 GB, free: 116 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/0.2117, allocations: 20 kB / 0.6301 GB, free: 96 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.213, allocations: 307.5 kB / 0.6304 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.303e-05/0.213, allocations: 27.92 kB / 0.6304 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.2143, allocations: 159.2 kB / 0.6306 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.2145, allocations: 71.97 kB / 0.6306 GB, free: 15.54 MB / 0.6042 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.0006459/0.2151, allocations: 338 kB / 0.631 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005029/0.2156, allocations: 187 kB / 0.6311 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005096/0.2207, allocations: 1.746 MB / 0.6328 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.52e-05/0.2208, allocations: 15.98 kB / 0.6329 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.2208, allocations: 4 kB / 0.6329 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.2208, allocations: 7.984 kB / 0.6329 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006773/0.2275, allocations: 2.907 MB / 0.6357 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.2276, allocations: 7.984 kB / 0.6357 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.2286, allocations: 199.8 kB / 0.6359 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.2287, allocations: 8 kB / 0.6359 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.423e-05/0.2287, allocations: 35.97 kB / 0.6359 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.2288, allocations: 8 kB / 0.636 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.2288, allocations: 3.938 kB / 0.636 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006161/0.2349, allocations: 2.236 MB / 0.6381 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008589/0.2358, allocations: 314.3 kB / 0.6384 GB, free: 7.438 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.236, allocations: 27.98 kB / 0.6385 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/0.2369, allocations: 71.94 kB / 0.6385 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.2371, allocations: 84.78 kB / 0.6386 GB, free: 7.254 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.2372, allocations: 52 kB / 0.6387 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001496/0.2387, allocations: 0.8935 MB / 0.6395 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2387, allocations: 0 / 0.6395 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002054/0.2407, allocations: 0.5612 MB / 0.6401 GB, free: 5.75 MB / 0.6042 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.004083/0.2448, allocations: 0.8747 MB / 0.6409 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003686/0.2485, allocations: 1.218 MB / 0.6421 GB, free: 3.867 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.2485, allocations: 4.188 kB / 0.6421 GB, free: 3.863 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.2503, allocations: 0.6487 MB / 0.6428 GB, free: 3.215 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/0.2535, allocations: 0.6419 MB / 0.6434 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/0.2599, allocations: 2.887 MB / 0.6462 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/0.2609, allocations: 0.7228 MB / 0.6469 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00136/0.2622, allocations: 337.2 kB / 0.6472 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.2627, allocations: 156.4 kB / 0.6474 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.593e-06/0.2627, allocations: 0 / 0.6474 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.05915/0.3218, allocations: 30.55 MB / 0.6772 GB, free: 0.582 MB / 0.6355 GB " [Timeout remaining time 659] 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: 7.5328185530379415]