Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.002077/0.002077, allocations: 88.72 kB / 19.44 MB, free: 352 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.002271/0.002271, allocations: 157.7 kB / 22.76 MB, free: 1.68 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.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.237/1.237, allocations: 154.6 MB / 414.1 MB, free: 0.6367 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5197 GB, free: 2.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.091e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06663/0.06666, allocations: 49.99 MB / 0.5685 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01904/0.0857, allocations: 9.787 MB / 0.578 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.0882, allocations: 95.12 kB / 0.5781 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.09149, allocations: 0.916 MB / 0.579 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.007637/0.09912, allocations: 2.132 MB / 0.5811 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.007839/0.107, allocations: 2.173 MB / 0.5832 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.007233/0.1142, allocations: 3.842 MB / 0.587 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.1166, allocations: 1.041 MB / 0.588 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00621/0.1228, allocations: 2.472 MB / 0.5904 GB, free: 9.98 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.1252, allocations: 1.067 MB / 0.5915 GB, free: 8.91 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.1255, allocations: 104 kB / 0.5916 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.1286, allocations: 1.06 MB / 0.5926 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000655/0.1293, allocations: 414.2 kB / 0.593 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.1303, allocations: 0.5688 MB / 0.5935 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005263/0.1355, allocations: 2.433 MB / 0.5959 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.1355, allocations: 0 / 0.5959 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.025e-06/0.1355, allocations: 4 kB / 0.5959 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.237e-05/0.1356, allocations: 0 / 0.5959 GB, free: 4.324 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.00446/0.14, allocations: 2.106 MB / 0.598 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1401, allocations: 8.031 kB / 0.598 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004083/0.1442, allocations: 0.7558 MB / 0.5987 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.1473, allocations: 1.15 MB / 0.5998 GB, free: 208 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004247/0.1477, allocations: 82.12 kB / 0.5999 GB, free: 124 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.1479, allocations: 112 kB / 0.6 GB, free: 12 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/0.152, allocations: 1.504 MB / 0.6015 GB, free: 14.35 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.152, allocations: 3.938 kB / 0.6015 GB, free: 14.35 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.1521, allocations: 51.98 kB / 0.6016 GB, free: 14.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.1522, allocations: 28 kB / 0.6016 GB, free: 14.27 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/0.1561, allocations: 1.237 MB / 0.6028 GB, free: 13.03 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.167, allocations: 6.438 MB / 0.6091 GB, free: 6.383 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/0.1708, allocations: 1.055 MB / 0.6101 GB, free: 5.32 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.1726, allocations: 0.5315 MB / 0.6106 GB, free: 4.789 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.1737, allocations: 286.2 kB / 0.6109 GB, free: 4.512 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002123/0.1758, allocations: 0.6879 MB / 0.6116 GB, free: 3.812 MB / 0.573 GB Notification: Performance of pre-optimization done (n=85): time 3.457e-06/0.1758, allocations: 0 / 0.6116 GB, free: 3.812 MB / 0.573 GB Notification: Performance of matching and sorting (n=85): time 0.006237/0.1821, allocations: 1.834 MB / 0.6134 GB, free: 1.973 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.1822, allocations: 64.41 kB / 0.6134 GB, free: 1.898 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/0.1851, allocations: 1.4 MB / 0.6148 GB, free: 492 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.1852, allocations: 45.7 kB / 0.6148 GB, free: 440 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009617/0.1862, allocations: 0.8146 MB / 0.6156 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004112/0.1866, allocations: 309.4 kB / 0.6159 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004329/0.187, allocations: 218.8 kB / 0.6161 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.1872, allocations: 349.9 kB / 0.6165 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.1891, allocations: 0.5256 MB / 0.617 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.1915, allocations: 1.129 MB / 0.6181 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/0.1956, allocations: 1.438 MB / 0.6195 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.1956, allocations: 4 kB / 0.6195 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.005448/0.2011, allocations: 1.66 MB / 0.6211 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.2011, allocations: 8 kB / 0.6211 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.2011, allocations: 12 kB / 0.6211 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-05/0.2012, allocations: 16 kB / 0.6211 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.2028, allocations: 355.7 kB / 0.6215 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.391e-05/0.2028, allocations: 19.94 kB / 0.6215 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.2046, allocations: 211 kB / 0.6217 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.2048, allocations: 63.97 kB / 0.6218 GB, free: 8.926 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.0008666/0.2056, allocations: 359.3 kB / 0.6221 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006275/0.2063, allocations: 187 kB / 0.6223 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006089/0.2124, allocations: 2.161 MB / 0.6244 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-05/0.2124, allocations: 15.98 kB / 0.6244 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.2124, allocations: 0 / 0.6244 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.2124, allocations: 7.969 kB / 0.6244 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008018/0.2204, allocations: 3.129 MB / 0.6275 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.2205, allocations: 3.984 kB / 0.6275 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.2219, allocations: 243.8 kB / 0.6277 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/0.2219, allocations: 4 kB / 0.6277 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.2221, allocations: 35.95 kB / 0.6277 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.2221, allocations: 8 kB / 0.6278 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.2221, allocations: 3.938 kB / 0.6278 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007612/0.2297, allocations: 2.845 MB / 0.6305 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008951/0.2306, allocations: 318.3 kB / 0.6308 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/0.2309, allocations: 20 kB / 0.6309 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.2322, allocations: 119.9 kB / 0.631 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.2324, allocations: 88.78 kB / 0.6311 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.2326, allocations: 48.06 kB / 0.6311 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001838/0.2344, allocations: 0.9326 MB / 0.632 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.2344, allocations: 0 / 0.632 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002199/0.2366, allocations: 0.569 MB / 0.6326 GB, free: 13.78 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.003267/0.2399, allocations: 0.8694 MB / 0.6334 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004682/0.2445, allocations: 1.457 MB / 0.6348 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.2446, allocations: 0 / 0.6348 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.2471, allocations: 0.791 MB / 0.6356 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/0.2507, allocations: 0.6479 MB / 0.6362 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007588/0.2583, allocations: 3.185 MB / 0.6394 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.2595, allocations: 0.7345 MB / 0.6401 GB, free: 6.238 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001556/0.261, allocations: 349 kB / 0.6404 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.2616, allocations: 164.4 kB / 0.6406 GB, free: 5.754 MB / 0.6042 GB Notification: Performance of SimCode: time 1.252e-06/0.2616, allocations: 0 / 0.6406 GB, free: 5.754 MB / 0.6042 GB Notification: Performance of Templates: time 0.06001/0.3216, allocations: 30.54 MB / 0.6704 GB, free: 7.93 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.359570870990865]