Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.0006486/0.0006486, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008961/0.001545, 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.0006774/0.0006774, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008763/0.001554, 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.9576/0.9576, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08379/1.041, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.8021/0.8021, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.3051/1.107, allocations: 49.13 MB / 448.6 MB, free: 5.93 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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.327e-05, allocations: 2.312 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1458/0.1458, allocations: 151.8 MB / 0.5877 GB, free: 12.7 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.005606/0.1514, allocations: 4.209 MB / 0.5918 GB, free: 8.484 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004586/0.1519, allocations: 51.56 kB / 0.5918 GB, free: 8.434 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.1525, allocations: 289.9 kB / 0.5921 GB, free: 8.148 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.1544, allocations: 1.274 MB / 0.5934 GB, free: 6.867 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1555, allocations: 0.8018 MB / 0.5941 GB, free: 6.066 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001671/0.1571, allocations: 2.581 MB / 0.5967 GB, free: 3.484 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.1582, allocations: 0.9037 MB / 0.5975 GB, free: 2.59 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.1599, allocations: 1.621 MB / 0.5991 GB, free: 1.035 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009287/0.1609, allocations: 0.7908 MB / 0.5999 GB, free: 248 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.161, allocations: 104 kB / 0.6 GB, free: 144 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006355/0.1616, allocations: 443.1 kB / 0.6004 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.1619, allocations: 482.8 kB / 0.6009 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.1622, allocations: 379.3 kB / 0.6012 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.1632, allocations: 1.106 MB / 0.6023 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.1633, allocations: 3.938 kB / 0.6023 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1633, allocations: 0 / 0.6023 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.1633, allocations: 0 / 0.6023 GB, free: 13.75 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001397/0.1647, allocations: 1.587 MB / 0.6039 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.1647, allocations: 8.031 kB / 0.6039 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000725/0.1654, allocations: 393 kB / 0.6043 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.1661, allocations: 0.6253 MB / 0.6049 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.1662, allocations: 73.98 kB / 0.6049 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.461e-05/0.1663, allocations: 95.95 kB / 0.605 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.167, allocations: 0.8674 MB / 0.6059 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.167, allocations: 11.94 kB / 0.6059 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.1671, allocations: 40 kB / 0.6059 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.1671, allocations: 34 kB / 0.606 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.1675, allocations: 318 kB / 0.6063 GB, free: 9.531 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.002431/0.1699, allocations: 3.41 MB / 0.6096 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.1702, allocations: 273.3 kB / 0.6099 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.1704, allocations: 105.7 kB / 0.61 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.1706, allocations: 64.44 kB / 0.61 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1706, allocations: 35.06 kB / 0.61 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 1.653e-06/0.1706, allocations: 7.938 kB / 0.6101 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.0004674/0.1711, allocations: 310 kB / 0.6104 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.1711, allocations: 59.91 kB / 0.6104 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.1714, allocations: 0.5622 MB / 0.611 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.1714, allocations: 37.7 kB / 0.611 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.1716, allocations: 452.9 kB / 0.6114 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/0.1717, allocations: 190.4 kB / 0.6116 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1718, allocations: 138.5 kB / 0.6117 GB, free: 3.723 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1719, allocations: 386.6 kB / 0.6121 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.592e-05/0.172, allocations: 76.78 kB / 0.6122 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.1723, allocations: 0.6334 MB / 0.6128 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.1728, allocations: 496.2 kB / 0.6133 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1728, allocations: 3.938 kB / 0.6133 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004118/0.1732, allocations: 435.4 kB / 0.6137 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1733, allocations: 10.97 kB / 0.6137 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1733, allocations: 8 kB / 0.6137 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.1733, allocations: 12 kB / 0.6137 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.1737, allocations: 175.7 kB / 0.6139 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.1737, allocations: 23.91 kB / 0.6139 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.174, allocations: 71.52 kB / 0.614 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.174, allocations: 31.98 kB / 0.614 GB, free: 1.074 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001575/0.1742, allocations: 164.4 kB / 0.6142 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.1743, allocations: 59.94 kB / 0.6142 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.1746, allocations: 294.6 kB / 0.6145 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1746, allocations: 4 kB / 0.6145 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1746, allocations: 0 / 0.6145 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000169/0.1748, allocations: 192.3 kB / 0.6147 GB, free: 356 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008784/0.1757, allocations: 0.8995 MB / 0.6156 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1757, allocations: 8.219 kB / 0.6156 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.176, allocations: 157.9 kB / 0.6157 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.1762, allocations: 115.3 kB / 0.6158 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.1762, allocations: 8.031 kB / 0.6158 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.1762, allocations: 19.92 kB / 0.6159 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1762, allocations: 4 kB / 0.6159 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1762, allocations: 4 kB / 0.6159 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.1766, allocations: 0.528 MB / 0.6164 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.1767, allocations: 15.98 kB / 0.6164 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1769, allocations: 12 kB / 0.6164 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.1769, allocations: 39.81 kB / 0.6165 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1769, allocations: 12 kB / 0.6165 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001745/0.1771, allocations: 260.5 kB / 0.6167 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.1771, allocations: 0 / 0.6167 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004565/0.1776, allocations: 311.3 kB / 0.617 GB, free: 13.87 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.0003609/0.1779, allocations: 170.9 kB / 0.6172 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.1782, allocations: 302.6 kB / 0.6175 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/0.1783, allocations: 12.5 kB / 0.6175 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1784, allocations: 151.2 kB / 0.6176 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.1801, allocations: 2.585 MB / 0.6201 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.1845, allocations: 1.638 MB / 0.6217 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.1846, allocations: 247 kB / 0.622 GB, free: 8.223 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003181/0.185, allocations: 126.7 kB / 0.6221 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/0.1855, allocations: 329.1 kB / 0.6224 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of SimCode: time 9.62e-07/0.1855, allocations: 0 / 0.6224 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of Templates: time 0.01929/0.2048, allocations: 16.18 MB / 0.6382 GB, free: 8.039 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.136567511595786]