Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.000921/0.000921, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009335/0.0009335, allocations: 177 kB / 23.36 MB, free: 1.125 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.9915/0.9915, 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.7632/0.7632, allocations: 154.9 MB / 415.1 MB, free: 248 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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.959e-05, allocations: 2.312 kB / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1298/0.1299, allocations: 153.3 MB / 0.6188 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.007477/0.1373, allocations: 5.11 MB / 0.6238 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008125/0.1382, allocations: 95.12 kB / 0.6239 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009679/0.1391, allocations: 0.6289 MB / 0.6245 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.1415, allocations: 1.806 MB / 0.6263 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.1436, allocations: 1.579 MB / 0.6278 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002843/0.1464, allocations: 3.974 MB / 0.6317 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.1475, allocations: 1.136 MB / 0.6328 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.1494, allocations: 2.038 MB / 0.6348 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009606/0.1504, allocations: 1.087 MB / 0.6359 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.1505, allocations: 128 kB / 0.636 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000661/0.1512, allocations: 475.1 kB / 0.6364 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003904/0.1516, allocations: 0.6501 MB / 0.6371 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.1521, allocations: 0.6585 MB / 0.6377 GB, free: 9.656 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.1535, allocations: 1.709 MB / 0.6394 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1535, allocations: 0 / 0.6394 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1535, allocations: 0 / 0.6394 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.1535, allocations: 3.984 kB / 0.6394 GB, free: 7.938 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.002496/0.156, allocations: 2.272 MB / 0.6416 GB, free: 5.621 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.156, allocations: 12.03 kB / 0.6416 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/0.1588, allocations: 1.13 MB / 0.6427 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.16, allocations: 1.069 MB / 0.6438 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/0.1601, allocations: 102.5 kB / 0.6439 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.1602, allocations: 128 kB / 0.644 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.1616, allocations: 1.338 MB / 0.6453 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.1616, allocations: 3.938 kB / 0.6453 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-05/0.1617, allocations: 59.98 kB / 0.6454 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/0.1617, allocations: 58.3 kB / 0.6454 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/0.1625, allocations: 0.6092 MB / 0.646 GB, free: 0.8984 MB / 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.00417/0.1667, allocations: 5.603 MB / 0.6515 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/0.1675, allocations: 0.6032 MB / 0.6521 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.1677, allocations: 220.4 kB / 0.6523 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.1679, allocations: 68.94 kB / 0.6523 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.1683, allocations: 399.6 kB / 0.6527 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=104): time 2.956e-06/0.1683, allocations: 0 / 0.6527 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of matching and sorting (n=104): time 0.001055/0.1694, allocations: 0.6701 MB / 0.6534 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.1694, allocations: 72.33 kB / 0.6534 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007292/0.1702, allocations: 1.149 MB / 0.6546 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-05/0.1702, allocations: 45.7 kB / 0.6546 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.1705, allocations: 0.6341 MB / 0.6552 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.1707, allocations: 372.7 kB / 0.6556 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.171, allocations: 222.7 kB / 0.6558 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1711, allocations: 365.8 kB / 0.6561 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.1713, allocations: 153.4 kB / 0.6563 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.1718, allocations: 0.7381 MB / 0.657 GB, free: 5.113 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.1725, allocations: 0.7682 MB / 0.6578 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.1725, allocations: 4 kB / 0.6578 GB, free: 4.188 MB / 0.6198 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.0008483/0.1734, allocations: 0.7446 MB / 0.6585 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1734, allocations: 16.03 kB / 0.6585 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1734, allocations: 12 kB / 0.6585 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1734, allocations: 16 kB / 0.6585 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.1741, allocations: 303.5 kB / 0.6588 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.1741, allocations: 23.92 kB / 0.6589 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000609/0.1747, allocations: 167.1 kB / 0.659 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.1748, allocations: 51.97 kB / 0.6591 GB, free: 2.859 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0002637/0.1751, allocations: 202.2 kB / 0.6593 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.1752, allocations: 127.9 kB / 0.6594 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008393/0.1761, allocations: 0.6958 MB / 0.6601 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.1761, allocations: 12 kB / 0.6601 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1761, allocations: 0 / 0.6601 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1761, allocations: 7.969 kB / 0.6601 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.1781, allocations: 1.765 MB / 0.6618 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1781, allocations: 4.875 kB / 0.6618 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.1786, allocations: 219.6 kB / 0.662 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.1786, allocations: 15.94 kB / 0.662 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.1787, allocations: 35.97 kB / 0.6621 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.1787, allocations: 19.86 kB / 0.6621 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.1787, allocations: 11.94 kB / 0.6621 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.1801, allocations: 1.159 MB / 0.6632 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.1803, allocations: 210.7 kB / 0.6634 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.1805, allocations: 35.98 kB / 0.6635 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.1809, allocations: 71.88 kB / 0.6635 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.181, allocations: 92.39 kB / 0.6636 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.181, allocations: 31.98 kB / 0.6636 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000405/0.1814, allocations: 0.5909 MB / 0.6642 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1814, allocations: 0 / 0.6642 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007206/0.1822, allocations: 487.1 kB / 0.6647 GB, free: 12.79 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (110): * Single equations (assignments): 104 * 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.00123/0.1834, allocations: 0.5787 MB / 0.6653 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007252/0.1841, allocations: 0.5898 MB / 0.6658 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/0.1841, allocations: 23.75 kB / 0.6659 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.1845, allocations: 302.7 kB / 0.6661 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.186, allocations: 0.736 MB / 0.6669 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.1906, allocations: 3.295 MB / 0.6701 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1908, allocations: 338.1 kB / 0.6704 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006932/0.1915, allocations: 292.1 kB / 0.6707 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000979/0.1925, allocations: 0.5107 MB / 0.6712 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.1925, allocations: 0 / 0.6712 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of Templates: time 0.249/0.4415, allocations: 28.94 MB / 0.6994 GB, free: 77.43 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.600426788907498]