Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009637/0.0009637, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.0009993/0.0009993, allocations: 172.9 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.9626/0.9626, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8117/0.8117, allocations: 154.6 MB / 414.8 MB, free: 500 kB / 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 179] 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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 480 MB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.424e-05, allocations: 5.594 kB / 480 MB, free: 6.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1344/0.1344, allocations: 152.9 MB / 0.6181 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.007326/0.1417, allocations: 4.963 MB / 0.623 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.1429, allocations: 63.44 kB / 0.623 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000975/0.1439, allocations: 416.9 kB / 0.6234 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.1464, allocations: 1.263 MB / 0.6247 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.1493, allocations: 1.567 MB / 0.6262 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003375/0.1527, allocations: 2.954 MB / 0.6291 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.1544, allocations: 0.8268 MB / 0.6299 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.1568, allocations: 1.533 MB / 0.6314 GB, free: 252 kB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.158, allocations: 0.6386 MB / 0.632 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.1582, allocations: 100 kB / 0.6321 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.1594, allocations: 0.7406 MB / 0.6328 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.1597, allocations: 394.6 kB / 0.6332 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.1601, allocations: 387 kB / 0.6336 GB, free: 14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.1617, allocations: 1.374 MB / 0.6349 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1617, allocations: 0 / 0.6349 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.01e-07/0.1617, allocations: 0 / 0.6349 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.505e-05/0.1618, allocations: 0 / 0.6349 GB, free: 12.62 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.002018/0.1638, allocations: 1.445 MB / 0.6363 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1638, allocations: 12.03 kB / 0.6363 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.165, allocations: 488 kB / 0.6368 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008853/0.1659, allocations: 0.7005 MB / 0.6375 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.1659, allocations: 57.44 kB / 0.6375 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.74e-05/0.166, allocations: 68 kB / 0.6376 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009072/0.1669, allocations: 0.8001 MB / 0.6384 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1669, allocations: 0 / 0.6384 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.167, allocations: 28 kB / 0.6384 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.167, allocations: 29.31 kB / 0.6384 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.1675, allocations: 317.5 kB / 0.6387 GB, free: 8.566 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.002521/0.17, allocations: 1.932 MB / 0.6406 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.1705, allocations: 348.4 kB / 0.641 GB, free: 6.234 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1707, allocations: 148.7 kB / 0.6411 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.1708, allocations: 44.47 kB / 0.6411 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.1712, allocations: 418 kB / 0.6415 GB, free: 5.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 1.593e-06/0.1712, allocations: 0 / 0.6415 GB, free: 5.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.0007444/0.1719, allocations: 490.7 kB / 0.642 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/0.1721, allocations: 148.8 kB / 0.6422 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.1726, allocations: 0.6911 MB / 0.6428 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.1727, allocations: 37.7 kB / 0.6429 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.1729, allocations: 350.4 kB / 0.6432 GB, free: 3.797 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.173, allocations: 194.2 kB / 0.6434 GB, free: 3.605 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.1731, allocations: 134.1 kB / 0.6435 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.1732, allocations: 329.9 kB / 0.6438 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.1734, allocations: 105.8 kB / 0.6439 GB, free: 3.027 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.1737, allocations: 0.5284 MB / 0.6444 GB, free: 2.379 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.174, allocations: 376.1 kB / 0.6448 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.174, allocations: 0 / 0.6448 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004909/0.1745, allocations: 421.9 kB / 0.6452 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.1745, allocations: 41.7 kB / 0.6452 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1745, allocations: 4.328 kB / 0.6453 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1746, allocations: 12 kB / 0.6453 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/0.1752, allocations: 159.8 kB / 0.6454 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1752, allocations: 7.938 kB / 0.6454 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.1757, allocations: 143.6 kB / 0.6456 GB, free: 1.148 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.1757, allocations: 23.98 kB / 0.6456 GB, free: 1.125 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.0001996/0.1759, allocations: 194.2 kB / 0.6458 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/0.176, allocations: 79.91 kB / 0.6458 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.1765, allocations: 445.5 kB / 0.6463 GB, free: 400 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.1765, allocations: 12 kB / 0.6463 GB, free: 388 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1765, allocations: 7.938 kB / 0.6463 GB, free: 380 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1765, allocations: 3.984 kB / 0.6463 GB, free: 376 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.1782, allocations: 1.658 MB / 0.6479 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.1782, allocations: 8 kB / 0.6479 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.1784, allocations: 111.8 kB / 0.648 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.1785, allocations: 12 kB / 0.648 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.1785, allocations: 20 kB / 0.6481 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.1785, allocations: 15.92 kB / 0.6481 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.1785, allocations: 15.94 kB / 0.6481 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006291/0.1791, allocations: 0.9213 MB / 0.649 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.1794, allocations: 167.1 kB / 0.6491 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.1795, allocations: 23.98 kB / 0.6492 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.1798, allocations: 63.95 kB / 0.6492 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.1799, allocations: 63.92 kB / 0.6493 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.18, allocations: 31.97 kB / 0.6493 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002561/0.1802, allocations: 328.5 kB / 0.6496 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.1802, allocations: 0 / 0.6496 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006562/0.1809, allocations: 299.4 kB / 0.6499 GB, free: 12.34 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.0003299/0.1812, allocations: 210.4 kB / 0.6501 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005298/0.1817, allocations: 427.9 kB / 0.6505 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/0.1817, allocations: 8.125 kB / 0.6505 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.182, allocations: 268.3 kB / 0.6508 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.183, allocations: 410.1 kB / 0.6512 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.1855, allocations: 1.752 MB / 0.6529 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.1857, allocations: 212.4 kB / 0.6531 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005544/0.1862, allocations: 161 kB / 0.6532 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007275/0.187, allocations: 339 kB / 0.6536 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of SimCode: time 1.463e-06/0.187, allocations: 0 / 0.6536 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of Templates: time 0.02114/0.2081, allocations: 17.97 MB / 0.6711 GB, free: 6.797 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.43817895790562]