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.0009417/0.0009417, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002383, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001056/0.001056, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002506, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9629/0.9629, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08847/1.051, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7604/0.7604, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2201/0.9805, allocations: 49.13 MB / 448.6 MB, free: 5.918 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.563e-06/1.563e-06, allocations: 0.875 kB / 450 MB, free: 4.59 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.135e-05, allocations: 4.703 kB / 450 MB, free: 4.586 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1328/0.1328, allocations: 153.4 MB / 0.5892 GB, free: 11.11 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.007197/0.14, allocations: 4.969 MB / 0.5941 GB, free: 6.129 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.1413, allocations: 71.38 kB / 0.5941 GB, free: 6.059 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008933/0.1421, allocations: 428.8 kB / 0.5945 GB, free: 5.637 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.1445, allocations: 1.259 MB / 0.5958 GB, free: 4.371 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.147, allocations: 1.53 MB / 0.5973 GB, free: 2.848 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003529/0.1505, allocations: 2.954 MB / 0.6002 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.152, allocations: 0.8363 MB / 0.601 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.1541, allocations: 1.608 MB / 0.6025 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007833/0.1549, allocations: 0.6464 MB / 0.6032 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.1551, allocations: 96 kB / 0.6033 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.1561, allocations: 0.7483 MB / 0.604 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.1563, allocations: 323 kB / 0.6043 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.1566, allocations: 323.3 kB / 0.6046 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.1578, allocations: 1.219 MB / 0.6058 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.1578, allocations: 0 / 0.6058 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1578, allocations: 0 / 0.6058 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.1578, allocations: 0 / 0.6058 GB, free: 10.16 MB / 0.5886 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.001874/0.1597, allocations: 1.782 MB / 0.6075 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.1597, allocations: 12.03 kB / 0.6075 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.1608, allocations: 483.9 kB / 0.608 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000761/0.1615, allocations: 0.7043 MB / 0.6087 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.1616, allocations: 53.44 kB / 0.6088 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.1618, allocations: 68 kB / 0.6088 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008103/0.1626, allocations: 0.8001 MB / 0.6096 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1626, allocations: 4 kB / 0.6096 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.1626, allocations: 27.94 kB / 0.6096 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.1627, allocations: 33.3 kB / 0.6097 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.1631, allocations: 317.6 kB / 0.61 GB, free: 5.746 MB / 0.5886 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.002149/0.1652, allocations: 1.936 MB / 0.6119 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.1657, allocations: 353.3 kB / 0.6122 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.1661, allocations: 156.8 kB / 0.6123 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.1662, allocations: 48.47 kB / 0.6124 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.1665, allocations: 422 kB / 0.6128 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=57): time 3.557e-06/0.1665, allocations: 3.984 kB / 0.6128 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=57): time 0.000666/0.1672, allocations: 0.4906 MB / 0.6133 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.1673, allocations: 229.9 kB / 0.6135 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.1678, allocations: 0.6872 MB / 0.6142 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.1678, allocations: 41.7 kB / 0.6142 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.168, allocations: 350.4 kB / 0.6145 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-05/0.1681, allocations: 202.2 kB / 0.6147 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.1682, allocations: 130.2 kB / 0.6149 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.1683, allocations: 329.9 kB / 0.6152 GB, free: 184 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1684, allocations: 105.8 kB / 0.6153 GB, free: 72 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.1687, allocations: 0.5323 MB / 0.6158 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.1691, allocations: 388.3 kB / 0.6162 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1691, allocations: 0 / 0.6162 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004481/0.1695, allocations: 433.9 kB / 0.6166 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.1696, allocations: 33.7 kB / 0.6166 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1696, allocations: 4 kB / 0.6166 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1696, allocations: 4 kB / 0.6166 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.17, allocations: 188.1 kB / 0.6168 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.17, allocations: 7.938 kB / 0.6168 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.1704, allocations: 147.5 kB / 0.6169 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.1704, allocations: 23.98 kB / 0.617 GB, free: 14.12 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.0001898/0.1706, allocations: 186.2 kB / 0.6171 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.1707, allocations: 79.86 kB / 0.6172 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.1712, allocations: 460.1 kB / 0.6177 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1712, allocations: 8 kB / 0.6177 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1712, allocations: 7.938 kB / 0.6177 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1712, allocations: 3.984 kB / 0.6177 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.173, allocations: 1.659 MB / 0.6193 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.173, allocations: 4 kB / 0.6193 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.1733, allocations: 131.8 kB / 0.6194 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.1735, allocations: 163.1 kB / 0.6196 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.1735, allocations: 8 kB / 0.6196 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.1735, allocations: 23.98 kB / 0.6196 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-06/0.1735, allocations: 15.94 kB / 0.6196 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/0.1735, allocations: 15.94 kB / 0.6196 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/0.1741, allocations: 0.9267 MB / 0.6205 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/0.1742, allocations: 23.98 kB / 0.6206 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.1745, allocations: 63.95 kB / 0.6206 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.1746, allocations: 67.67 kB / 0.6207 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.1747, allocations: 31.97 kB / 0.6207 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002393/0.1749, allocations: 328.5 kB / 0.621 GB, free: 9.609 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.1749, allocations: 0 / 0.621 GB, free: 9.609 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006285/0.1755, allocations: 295.4 kB / 0.6213 GB, free: 9.32 MB / 0.6042 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.0003067/0.1758, allocations: 209.8 kB / 0.6215 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004699/0.1763, allocations: 447.8 kB / 0.6219 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/0.1763, allocations: 13.03 kB / 0.622 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.1767, allocations: 378.8 kB / 0.6223 GB, free: 8.242 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.1781, allocations: 1.866 MB / 0.6241 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006139/0.1842, allocations: 1.851 MB / 0.6259 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.1844, allocations: 212.2 kB / 0.6262 GB, free: 3.863 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004558/0.1848, allocations: 149.5 kB / 0.6263 GB, free: 3.719 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006415/0.1855, allocations: 339 kB / 0.6266 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/0.1855, allocations: 0 / 0.6266 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of Templates: time 0.02013/0.2056, allocations: 18.74 MB / 0.6449 GB, free: 1.066 MB / 0.6198 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0241990415379405]