Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.0009342/0.0009342, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009834/0.0009834, allocations: 177 kB / 23.36 MB, free: 1.137 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.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.332 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.7945/0.7945, allocations: 154.9 MB / 415.1 MB, free: 148 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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.334e-05, allocations: 3.859 kB / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1413/0.1414, allocations: 152.9 MB / 0.6185 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006981/0.1483, allocations: 4.973 MB / 0.6233 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.1495, allocations: 63.38 kB / 0.6234 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000873/0.1504, allocations: 420.8 kB / 0.6238 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.1526, allocations: 1.259 MB / 0.625 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.1549, allocations: 1.564 MB / 0.6266 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003035/0.1579, allocations: 2.961 MB / 0.6294 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.1598, allocations: 0.8238 MB / 0.6302 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.1618, allocations: 1.525 MB / 0.6317 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008298/0.1626, allocations: 0.6425 MB / 0.6324 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.1628, allocations: 96 kB / 0.6325 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.1639, allocations: 0.7406 MB / 0.6332 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.1641, allocations: 390.7 kB / 0.6336 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.1645, allocations: 391 kB / 0.6339 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.1659, allocations: 1.374 MB / 0.6353 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1659, allocations: 0 / 0.6353 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1659, allocations: 0 / 0.6353 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.166, allocations: 0 / 0.6353 GB, free: 12.26 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001733/0.1677, allocations: 1.453 MB / 0.6367 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1677, allocations: 12.03 kB / 0.6367 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.1688, allocations: 472.1 kB / 0.6371 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008311/0.1697, allocations: 0.716 MB / 0.6378 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.1697, allocations: 61.44 kB / 0.6379 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/0.1698, allocations: 64 kB / 0.638 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.1709, allocations: 0.7924 MB / 0.6387 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1709, allocations: 3.938 kB / 0.6387 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.1709, allocations: 35.92 kB / 0.6388 GB, free: 8.535 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.171, allocations: 29.31 kB / 0.6388 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004351/0.1714, allocations: 317.6 kB / 0.6391 GB, free: 8.188 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.002424/0.1738, allocations: 1.931 MB / 0.641 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.1743, allocations: 346.4 kB / 0.6413 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.1745, allocations: 149.1 kB / 0.6415 GB, free: 5.703 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.1746, allocations: 36.48 kB / 0.6415 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003423/0.175, allocations: 426 kB / 0.6419 GB, free: 5.195 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 2.855e-06/0.175, allocations: 0 / 0.6419 GB, free: 5.195 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.000721/0.1757, allocations: 486.4 kB / 0.6424 GB, free: 4.699 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.1757, allocations: 144.8 kB / 0.6425 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.1763, allocations: 0.6911 MB / 0.6432 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.1763, allocations: 37.7 kB / 0.6432 GB, free: 3.777 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/0.1767, allocations: 350.3 kB / 0.6436 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1768, allocations: 198.3 kB / 0.6437 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.177, allocations: 134.2 kB / 0.6439 GB, free: 3.098 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.1771, allocations: 329.9 kB / 0.6442 GB, free: 2.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.1772, allocations: 105.8 kB / 0.6443 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.1775, allocations: 0.5167 MB / 0.6448 GB, free: 2.023 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.1779, allocations: 382.6 kB / 0.6452 GB, free: 1.594 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1779, allocations: 4 kB / 0.6452 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004865/0.1784, allocations: 422.7 kB / 0.6456 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.1784, allocations: 37.69 kB / 0.6456 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1784, allocations: 4 kB / 0.6456 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1784, allocations: 4 kB / 0.6456 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.1788, allocations: 163.8 kB / 0.6458 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1788, allocations: 11.88 kB / 0.6458 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.1792, allocations: 147.5 kB / 0.6459 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/0.1793, allocations: 31.95 kB / 0.6459 GB, free: 0.7539 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0001997/0.1795, allocations: 196.7 kB / 0.6461 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.808e-05/0.1796, allocations: 79.92 kB / 0.6462 GB, free: 480 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000513/0.1801, allocations: 452.5 kB / 0.6466 GB, free: 8 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.1801, allocations: 4 kB / 0.6466 GB, free: 4 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1801, allocations: 3.938 kB / 0.6466 GB, free: 0 / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/0.1801, allocations: 8.047 kB / 0.6467 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.1817, allocations: 1.658 MB / 0.6483 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.1817, allocations: 8 kB / 0.6483 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.182, allocations: 115.8 kB / 0.6484 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.182, allocations: 8 kB / 0.6484 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.1821, allocations: 23.98 kB / 0.6484 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.1821, allocations: 16.34 kB / 0.6484 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.1821, allocations: 11.94 kB / 0.6485 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.1827, allocations: 0.9074 MB / 0.6493 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.1829, allocations: 167.1 kB / 0.6495 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.183, allocations: 23.98 kB / 0.6495 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.1833, allocations: 59.95 kB / 0.6496 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.1834, allocations: 71.67 kB / 0.6496 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.1835, allocations: 35.97 kB / 0.6497 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005012/0.184, allocations: 324.5 kB / 0.65 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.184, allocations: 0 / 0.65 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000638/0.1846, allocations: 299.4 kB / 0.6503 GB, free: 11.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * 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.0003086/0.1849, allocations: 200 kB / 0.6505 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004938/0.1854, allocations: 431.4 kB / 0.6509 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.1854, allocations: 12 kB / 0.6509 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.1857, allocations: 277.3 kB / 0.6512 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.1867, allocations: 407.7 kB / 0.6515 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.1886, allocations: 1.755 MB / 0.6533 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.1888, allocations: 216.4 kB / 0.6535 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004405/0.1892, allocations: 146.2 kB / 0.6536 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006712/0.1899, allocations: 343 kB / 0.6539 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of SimCode: time 1.253e-06/0.1899, allocations: 3.938 kB / 0.6539 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of Templates: time 0.02129/0.2112, allocations: 17.98 MB / 0.6715 GB, free: 6.422 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.434773939661682]