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.001815/0.001815, allocations: 85.48 kB / 19.44 MB, free: 340 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.002153/0.002153, allocations: 177.2 kB / 22.77 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.565/1.565, 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 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.322/1.322, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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 2.033e-06/2.033e-06, allocations: 0.875 kB / 0.5197 GB, free: 2.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.673e-05/3.876e-05, allocations: 5.969 kB / 0.5197 GB, free: 2.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.07178/0.07181, allocations: 56.49 MB / 0.5748 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.09089, allocations: 10.76 MB / 0.5853 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.09295, allocations: 91.19 kB / 0.5854 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002516/0.09547, allocations: 0.916 MB / 0.5863 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.006129/0.1016, allocations: 2.125 MB / 0.5884 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00638/0.108, allocations: 2.177 MB / 0.5905 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00716/0.1151, allocations: 3.861 MB / 0.5943 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.1171, allocations: 1.034 MB / 0.5953 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005262/0.1224, allocations: 2.472 MB / 0.5977 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.1244, allocations: 1.067 MB / 0.5988 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.1246, allocations: 108 kB / 0.5989 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.1273, allocations: 1.063 MB / 0.5999 GB, free: 292 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.1278, allocations: 406.3 kB / 0.6003 GB, free: 15.88 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008868/0.1287, allocations: 0.5766 MB / 0.6009 GB, free: 15.3 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004557/0.1332, allocations: 2.437 MB / 0.6032 GB, free: 12.86 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1333, allocations: 0 / 0.6032 GB, free: 12.86 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1333, allocations: 4 kB / 0.6032 GB, free: 12.86 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.782e-05/0.1333, allocations: 0 / 0.6032 GB, free: 12.86 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.004315/0.1376, allocations: 2.305 MB / 0.6055 GB, free: 10.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1376, allocations: 8.031 kB / 0.6055 GB, free: 10.49 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.1411, allocations: 0.631 MB / 0.6061 GB, free: 9.855 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.1434, allocations: 1.149 MB / 0.6072 GB, free: 8.656 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.1435, allocations: 82.14 kB / 0.6073 GB, free: 8.574 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.1437, allocations: 104 kB / 0.6074 GB, free: 8.473 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/0.147, allocations: 1.544 MB / 0.6089 GB, free: 6.727 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.147, allocations: 11.94 kB / 0.6089 GB, free: 6.715 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.1471, allocations: 48 kB / 0.609 GB, free: 6.668 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.1471, allocations: 28 kB / 0.609 GB, free: 6.641 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.1502, allocations: 1.054 MB / 0.61 GB, free: 5.586 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.162, allocations: 8.405 MB / 0.6182 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.1649, allocations: 0.911 MB / 0.6191 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.1662, allocations: 445.4 kB / 0.6196 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.1673, allocations: 282.1 kB / 0.6198 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/0.1689, allocations: 0.6115 MB / 0.6204 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=85): time 3.016e-06/0.1689, allocations: 0 / 0.6204 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of matching and sorting (n=85): time 0.004804/0.1737, allocations: 1.522 MB / 0.6219 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.1737, allocations: 68.39 kB / 0.622 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.1761, allocations: 1.502 MB / 0.6234 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.1762, allocations: 45.7 kB / 0.6235 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009912/0.1772, allocations: 0.9202 MB / 0.6244 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006632/0.1778, allocations: 329.4 kB / 0.6247 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/0.1783, allocations: 244.5 kB / 0.6249 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003745/0.1786, allocations: 0.5394 MB / 0.6255 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.18, allocations: 434.3 kB / 0.6259 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.1821, allocations: 1.19 MB / 0.627 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003161/0.1852, allocations: 1.385 MB / 0.6284 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/0.1852, allocations: 0 / 0.6284 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004055/0.1893, allocations: 1.465 MB / 0.6298 GB, free: 464 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.1893, allocations: 11.98 kB / 0.6298 GB, free: 452 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.1893, allocations: 12 kB / 0.6298 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.556e-05/0.1894, allocations: 20.06 kB / 0.6299 GB, free: 420 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.1907, allocations: 299.5 kB / 0.6301 GB, free: 120 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.635e-05/0.1907, allocations: 31.92 kB / 0.6302 GB, free: 88 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.1921, allocations: 159.2 kB / 0.6303 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.1923, allocations: 67.97 kB / 0.6304 GB, free: 15.86 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.0007165/0.193, allocations: 346 kB / 0.6307 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.1934, allocations: 191 kB / 0.6309 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004834/0.1982, allocations: 1.747 MB / 0.6326 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/0.1983, allocations: 19.98 kB / 0.6326 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1983, allocations: 0 / 0.6326 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/0.1983, allocations: 11.97 kB / 0.6326 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00654/0.2048, allocations: 2.899 MB / 0.6355 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.2048, allocations: 0 / 0.6355 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.2059, allocations: 203.9 kB / 0.6357 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.2059, allocations: 4 kB / 0.6357 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.914e-05/0.206, allocations: 43.97 kB / 0.6357 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.206, allocations: 7.984 kB / 0.6357 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.206, allocations: 7.938 kB / 0.6357 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005644/0.2117, allocations: 2.24 MB / 0.6379 GB, free: 8.055 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008157/0.2125, allocations: 306.3 kB / 0.6382 GB, free: 7.754 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.2127, allocations: 24 kB / 0.6382 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.214, allocations: 79.92 kB / 0.6383 GB, free: 7.652 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.2142, allocations: 92.72 kB / 0.6384 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.2143, allocations: 47.97 kB / 0.6384 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001432/0.2157, allocations: 0.8857 MB / 0.6393 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2157, allocations: 0 / 0.6393 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001858/0.2176, allocations: 0.5651 MB / 0.6399 GB, free: 6.066 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.003912/0.2215, allocations: 0.8737 MB / 0.6407 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003569/0.2251, allocations: 1.218 MB / 0.6419 GB, free: 4.184 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.2251, allocations: 0 / 0.6419 GB, free: 4.184 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.2268, allocations: 0.6489 MB / 0.6425 GB, free: 3.535 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/0.2299, allocations: 0.6449 MB / 0.6432 GB, free: 2.914 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/0.236, allocations: 2.891 MB / 0.646 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008679/0.2369, allocations: 0.7258 MB / 0.6467 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001364/0.2382, allocations: 336.8 kB / 0.647 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/0.2387, allocations: 160.3 kB / 0.6472 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of SimCode: time 1.323e-06/0.2387, allocations: 0 / 0.6472 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.05741/0.2961, allocations: 30.54 MB / 0.677 GB, free: 0.9102 MB / 0.6355 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.4812498959945515]