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.001782/0.001782, allocations: 92.7 kB / 19.44 MB, free: 328 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.002474/0.002474, allocations: 165.3 kB / 22.76 MB, free: 1.656 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.476/1.476, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.22/1.22, allocations: 154.8 MB / 414.4 MB, free: 464 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.403e-06/1.403e-06, allocations: 0 / 0.5199 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.298e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.07178/0.07181, allocations: 49.99 MB / 0.5687 GB, free: 272 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01947/0.09128, allocations: 9.784 MB / 0.5783 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/0.09378, allocations: 95.12 kB / 0.5784 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.09695, allocations: 0.9238 MB / 0.5793 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006923/0.1039, allocations: 2.129 MB / 0.5813 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00645/0.1103, allocations: 2.173 MB / 0.5835 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.006593/0.1169, allocations: 3.853 MB / 0.5872 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002583/0.1195, allocations: 1.034 MB / 0.5882 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006518/0.126, allocations: 2.468 MB / 0.5906 GB, free: 9.762 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.1286, allocations: 1.067 MB / 0.5917 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004584/0.129, allocations: 108 kB / 0.5918 GB, free: 8.586 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003683/0.1327, allocations: 1.052 MB / 0.5928 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008253/0.1335, allocations: 414.1 kB / 0.5932 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.1351, allocations: 0.5726 MB / 0.5938 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006049/0.1411, allocations: 2.433 MB / 0.5962 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.1411, allocations: 4 kB / 0.5962 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1411, allocations: 0 / 0.5962 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001026/0.1412, allocations: 0 / 0.5962 GB, free: 4.105 MB / 0.5573 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.005444/0.1467, allocations: 2.106 MB / 0.5982 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.1467, allocations: 12.03 kB / 0.5982 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00426/0.151, allocations: 0.7519 MB / 0.599 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.1541, allocations: 1.15 MB / 0.6001 GB, free: 15.98 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.1543, allocations: 90.06 kB / 0.6002 GB, free: 15.89 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.1545, allocations: 108 kB / 0.6003 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/0.1585, allocations: 1.504 MB / 0.6017 GB, free: 14.13 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.1585, allocations: 7.938 kB / 0.6017 GB, free: 14.12 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.1586, allocations: 44 kB / 0.6018 GB, free: 14.08 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/0.1587, allocations: 28 kB / 0.6018 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003912/0.1626, allocations: 1.237 MB / 0.603 GB, free: 12.81 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.1734, allocations: 6.429 MB / 0.6093 GB, free: 6.168 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/0.1771, allocations: 1.066 MB / 0.6103 GB, free: 5.09 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.1788, allocations: 0.5313 MB / 0.6109 GB, free: 4.559 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.1799, allocations: 286.2 kB / 0.6111 GB, free: 4.281 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00206/0.1819, allocations: 0.6918 MB / 0.6118 GB, free: 3.578 MB / 0.573 GB Notification: Performance of pre-optimization done (n=85): time 3.797e-06/0.1819, allocations: 4 kB / 0.6118 GB, free: 3.574 MB / 0.573 GB Notification: Performance of matching and sorting (n=85): time 0.006068/0.188, allocations: 1.826 MB / 0.6136 GB, free: 1.746 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.1881, allocations: 64.39 kB / 0.6137 GB, free: 1.672 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/0.1907, allocations: 1.404 MB / 0.615 GB, free: 256 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.1909, allocations: 45.7 kB / 0.6151 GB, free: 204 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008992/0.1918, allocations: 0.8069 MB / 0.6159 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/0.1921, allocations: 309.3 kB / 0.6162 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/0.1926, allocations: 226.8 kB / 0.6164 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000246/0.1928, allocations: 349.9 kB / 0.6167 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.1946, allocations: 0.5256 MB / 0.6172 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/0.1972, allocations: 1.137 MB / 0.6183 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004046/0.2012, allocations: 1.426 MB / 0.6197 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.2012, allocations: 4 kB / 0.6197 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004905/0.2061, allocations: 1.664 MB / 0.6214 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.2062, allocations: 14.34 kB / 0.6214 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.2062, allocations: 12 kB / 0.6214 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.844e-05/0.2062, allocations: 16 kB / 0.6214 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.2077, allocations: 343.5 kB / 0.6217 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.55e-05/0.2078, allocations: 23.92 kB / 0.6217 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.2092, allocations: 211.1 kB / 0.6219 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.2094, allocations: 67.95 kB / 0.622 GB, free: 8.691 MB / 0.5886 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.0006705/0.2101, allocations: 351.3 kB / 0.6223 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004629/0.2105, allocations: 198.9 kB / 0.6225 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005783/0.2163, allocations: 2.171 MB / 0.6247 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.48e-05/0.2164, allocations: 15.98 kB / 0.6247 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.2164, allocations: 0 / 0.6247 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.2164, allocations: 3.984 kB / 0.6247 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007407/0.2238, allocations: 3.129 MB / 0.6277 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.2238, allocations: 4 kB / 0.6277 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.2253, allocations: 239.8 kB / 0.628 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.199e-05/0.2253, allocations: 8 kB / 0.628 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.2254, allocations: 35.95 kB / 0.628 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.2254, allocations: 4 kB / 0.628 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.2254, allocations: 7.938 kB / 0.628 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007348/0.2328, allocations: 2.837 MB / 0.6308 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007686/0.2336, allocations: 318.3 kB / 0.6311 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.2338, allocations: 23.98 kB / 0.6311 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.2351, allocations: 123.9 kB / 0.6312 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.2352, allocations: 84.78 kB / 0.6313 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.2354, allocations: 51.95 kB / 0.6314 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001625/0.237, allocations: 0.9365 MB / 0.6323 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.237, allocations: 0 / 0.6323 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001855/0.2389, allocations: 0.5651 MB / 0.6328 GB, free: 13.54 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.003069/0.2419, allocations: 0.8673 MB / 0.6337 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004915/0.2468, allocations: 1.457 MB / 0.6351 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2468, allocations: 0 / 0.6351 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.2491, allocations: 0.7793 MB / 0.6359 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/0.2523, allocations: 0.6426 MB / 0.6365 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/0.2594, allocations: 3.191 MB / 0.6396 GB, free: 6.781 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009912/0.2603, allocations: 0.7306 MB / 0.6403 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001394/0.2617, allocations: 351.8 kB / 0.6407 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/0.2622, allocations: 156.4 kB / 0.6408 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/0.2622, allocations: 3.938 kB / 0.6408 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of Templates: time 0.06041/0.3227, allocations: 30.54 MB / 0.6706 GB, free: 7.695 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.349383939988911]