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.0009444/0.0009444, allocations: 80.81 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.001019/0.001019, allocations: 173 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.9067/0.9067, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.7452/0.7452, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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 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.092e-06/1.092e-06, allocations: 0 / 480 MB, free: 6.879 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.797e-06/9.889e-06, allocations: 4.188 kB / 480 MB, free: 6.875 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1349/0.135, allocations: 152.9 MB / 0.6181 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00765/0.1426, allocations: 4.955 MB / 0.6229 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.1433, allocations: 67.38 kB / 0.623 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008481/0.1441, allocations: 416.8 kB / 0.6234 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.1463, allocations: 1.267 MB / 0.6246 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.1488, allocations: 1.579 MB / 0.6261 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003158/0.152, allocations: 2.969 MB / 0.629 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008946/0.1529, allocations: 0.7391 MB / 0.6298 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.1549, allocations: 1.517 MB / 0.6312 GB, free: 376 kB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006303/0.1556, allocations: 0.6425 MB / 0.6319 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.1557, allocations: 96 kB / 0.632 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008369/0.1565, allocations: 0.7172 MB / 0.6327 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.1567, allocations: 390.7 kB / 0.633 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.157, allocations: 395 kB / 0.6334 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.1581, allocations: 1.371 MB / 0.6347 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1581, allocations: 0 / 0.6347 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1581, allocations: 0 / 0.6347 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.1581, allocations: 0 / 0.6347 GB, free: 12.77 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.001699/0.1598, allocations: 1.445 MB / 0.6362 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.1599, allocations: 8.031 kB / 0.6362 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009928/0.1609, allocations: 480 kB / 0.6366 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/0.1616, allocations: 0.7043 MB / 0.6373 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.1616, allocations: 65.42 kB / 0.6374 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.1617, allocations: 68 kB / 0.6374 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.1628, allocations: 0.7962 MB / 0.6382 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1628, allocations: 0 / 0.6382 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.1629, allocations: 28 kB / 0.6382 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.1629, allocations: 33.3 kB / 0.6383 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.1634, allocations: 321.5 kB / 0.6386 GB, free: 8.707 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.002283/0.1657, allocations: 1.926 MB / 0.6405 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.1662, allocations: 357 kB / 0.6408 GB, free: 6.375 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.1663, allocations: 145.2 kB / 0.6409 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.1665, allocations: 44.47 kB / 0.641 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003523/0.1668, allocations: 414.1 kB / 0.6414 GB, free: 5.719 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 1.683e-06/0.1668, allocations: 0 / 0.6414 GB, free: 5.719 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.0007088/0.1675, allocations: 490.3 kB / 0.6418 GB, free: 5.219 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.1676, allocations: 144.8 kB / 0.642 GB, free: 5.047 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005214/0.1681, allocations: 0.6911 MB / 0.6427 GB, free: 4.344 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.1682, allocations: 37.7 kB / 0.6427 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1683, allocations: 346.4 kB / 0.643 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1684, allocations: 198.3 kB / 0.6432 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1686, allocations: 130.2 kB / 0.6433 GB, free: 3.621 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.596e-05/0.1687, allocations: 329.9 kB / 0.6436 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.1688, allocations: 113.8 kB / 0.6438 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.1691, allocations: 0.5245 MB / 0.6443 GB, free: 2.531 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.1695, allocations: 376.1 kB / 0.6446 GB, free: 2.102 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1695, allocations: 7.938 kB / 0.6446 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005139/0.17, allocations: 422 kB / 0.645 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.17, allocations: 37.69 kB / 0.6451 GB, free: 1.617 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.17, allocations: 4.469 kB / 0.6451 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.17, allocations: 4.344 kB / 0.6451 GB, free: 1.609 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.1704, allocations: 155.8 kB / 0.6452 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1704, allocations: 7.938 kB / 0.6452 GB, free: 1.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.1708, allocations: 143.6 kB / 0.6454 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.1709, allocations: 31.97 kB / 0.6454 GB, free: 1.277 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.0001873/0.1711, allocations: 188.5 kB / 0.6456 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-05/0.1711, allocations: 79.91 kB / 0.6457 GB, free: 1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.1716, allocations: 453.6 kB / 0.6461 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1716, allocations: 8 kB / 0.6461 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1716, allocations: 3.938 kB / 0.6461 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1716, allocations: 3.984 kB / 0.6461 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.1734, allocations: 1.654 MB / 0.6477 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1734, allocations: 8.125 kB / 0.6477 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.1736, allocations: 111.8 kB / 0.6478 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1736, allocations: 8 kB / 0.6478 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.1737, allocations: 27.98 kB / 0.6479 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.1737, allocations: 15.92 kB / 0.6479 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.1737, allocations: 11.94 kB / 0.6479 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.1743, allocations: 0.9252 MB / 0.6488 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.1745, allocations: 155.1 kB / 0.649 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.1745, allocations: 27.98 kB / 0.649 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.1749, allocations: 59.95 kB / 0.649 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.1749, allocations: 59.75 kB / 0.6491 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.175, allocations: 35.97 kB / 0.6491 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002264/0.1752, allocations: 328.5 kB / 0.6494 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.1752, allocations: 3.938 kB / 0.6494 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005277/0.1757, allocations: 307.4 kB / 0.6497 GB, free: 12.5 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.0003298/0.1761, allocations: 191.7 kB / 0.6499 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004608/0.1765, allocations: 443.3 kB / 0.6503 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.1765, allocations: 8.688 kB / 0.6503 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.1768, allocations: 275.8 kB / 0.6506 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009594/0.1777, allocations: 409.7 kB / 0.651 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1796, allocations: 1.752 MB / 0.6527 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.1798, allocations: 212.4 kB / 0.6529 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003869/0.1802, allocations: 155.5 kB / 0.6531 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006269/0.1808, allocations: 347 kB / 0.6534 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.1808, allocations: 0 / 0.6534 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of Templates: time 0.01845/0.1993, allocations: 17.97 MB / 0.6709 GB, free: 6.961 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.266923065297306]