Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.001347/0.001347, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001207/0.001207, allocations: 181 kB / 23.36 MB, free: 1.133 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.9016/0.9016, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7728/0.7728, allocations: 154.9 MB / 415.1 MB, free: 220 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.528e-05, allocations: 4.422 kB / 480.4 MB, free: 6.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1348/0.1348, allocations: 153.3 MB / 0.6188 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.007765/0.1425, allocations: 5.119 MB / 0.6238 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007988/0.1433, allocations: 99.12 kB / 0.6239 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009496/0.1443, allocations: 0.6211 MB / 0.6245 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.1466, allocations: 1.81 MB / 0.6263 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.1488, allocations: 1.59 MB / 0.6278 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002906/0.1517, allocations: 4.037 MB / 0.6318 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.1528, allocations: 1.181 MB / 0.6329 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.1547, allocations: 2.058 MB / 0.6349 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.1557, allocations: 1.137 MB / 0.636 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.1559, allocations: 136 kB / 0.6362 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007001/0.1566, allocations: 483 kB / 0.6366 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.157, allocations: 0.6619 MB / 0.6373 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005352/0.1576, allocations: 0.6819 MB / 0.6379 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.1589, allocations: 1.755 MB / 0.6397 GB, free: 7.602 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1589, allocations: 4 kB / 0.6397 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1589, allocations: 0 / 0.6397 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.159, allocations: 4 kB / 0.6397 GB, free: 7.594 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002667/0.1616, allocations: 2.304 MB / 0.6419 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1617, allocations: 8.031 kB / 0.6419 GB, free: 5.238 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.1649, allocations: 1.278 MB / 0.6432 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.1661, allocations: 1.077 MB / 0.6442 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.653e-05/0.1661, allocations: 102.5 kB / 0.6443 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.1663, allocations: 132 kB / 0.6445 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.1676, allocations: 1.332 MB / 0.6458 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.1677, allocations: 7.938 kB / 0.6458 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.59e-05/0.1677, allocations: 52 kB / 0.6458 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.1678, allocations: 66.47 kB / 0.6459 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000812/0.1686, allocations: 0.6427 MB / 0.6465 GB, free: 384 kB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004206/0.1728, allocations: 4.633 MB / 0.651 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009383/0.1737, allocations: 0.7147 MB / 0.6517 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.1741, allocations: 274 kB / 0.652 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.1743, allocations: 72.94 kB / 0.6521 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/0.1748, allocations: 471.3 kB / 0.6525 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=119): time 2.705e-06/0.1748, allocations: 0 / 0.6525 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=119): time 0.001321/0.1761, allocations: 0.8183 MB / 0.6533 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1761, allocations: 64.41 kB / 0.6534 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007211/0.1768, allocations: 1.107 MB / 0.6544 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/0.1769, allocations: 49.69 kB / 0.6545 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.1772, allocations: 0.5917 MB / 0.6551 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.1774, allocations: 432.3 kB / 0.6555 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.1777, allocations: 226.7 kB / 0.6557 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.1778, allocations: 361.8 kB / 0.656 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.1781, allocations: 169.4 kB / 0.6562 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.1785, allocations: 0.6971 MB / 0.6569 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.1793, allocations: 0.7137 MB / 0.6576 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1793, allocations: 0 / 0.6576 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.000892/0.1802, allocations: 0.7522 MB / 0.6583 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1802, allocations: 8 kB / 0.6583 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1802, allocations: 20.02 kB / 0.6583 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1802, allocations: 12 kB / 0.6584 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/0.1809, allocations: 311.5 kB / 0.6587 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1809, allocations: 19.92 kB / 0.6587 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.1815, allocations: 171.1 kB / 0.6588 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/0.1815, allocations: 47.97 kB / 0.6589 GB, free: 3.164 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.000274/0.1818, allocations: 194.3 kB / 0.6591 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.182, allocations: 143.8 kB / 0.6592 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009643/0.1829, allocations: 0.7894 MB / 0.66 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1829, allocations: 12 kB / 0.66 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1829, allocations: 0 / 0.66 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.183, allocations: 3.984 kB / 0.66 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.1852, allocations: 1.9 MB / 0.6618 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.1852, allocations: 8 kB / 0.6619 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.1858, allocations: 248.4 kB / 0.6621 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.1858, allocations: 15.98 kB / 0.6621 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/0.1859, allocations: 39.97 kB / 0.6621 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.1859, allocations: 11.94 kB / 0.6622 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.1859, allocations: 11.94 kB / 0.6622 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.1872, allocations: 1.299 MB / 0.6634 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.1875, allocations: 222.5 kB / 0.6636 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.1876, allocations: 35.98 kB / 0.6637 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.1881, allocations: 83.92 kB / 0.6638 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.1882, allocations: 100.7 kB / 0.6639 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/0.1883, allocations: 47.97 kB / 0.6639 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003913/0.1887, allocations: 0.5658 MB / 0.6645 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.1887, allocations: 0 / 0.6645 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007374/0.1894, allocations: 0.5069 MB / 0.6649 GB, free: 12.64 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (125): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001311/0.1907, allocations: 0.5718 MB / 0.6655 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007983/0.1915, allocations: 0.6476 MB / 0.6661 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/0.1916, allocations: 23.5 kB / 0.6662 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.192, allocations: 341.9 kB / 0.6665 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.1935, allocations: 0.7658 MB / 0.6672 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.1981, allocations: 3.438 MB / 0.6706 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1983, allocations: 354.8 kB / 0.6709 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008121/0.1991, allocations: 304.2 kB / 0.6712 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.2003, allocations: 0.5263 MB / 0.6717 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/0.2003, allocations: 0 / 0.6717 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of Templates: time 0.2584/0.4587, allocations: 30.81 MB / 0.7018 GB, free: 76.3 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.759096893016249]