Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006622/0.0006622, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008065/0.001469, allocations: 435.8 kB / 10.33 MB, free: 368 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.000662/0.000662, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009888/0.001651, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08455/1.094, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.7905/0.7905, allocations: 154.6 MB / 398.5 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2522/1.043, allocations: 49.04 MB / 447.6 MB, free: 6.707 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/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_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.7e-05, allocations: 2.312 kB / 448.9 MB, free: 5.383 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1496/0.1496, allocations: 151.8 MB / 0.5866 GB, free: 13.52 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.00597/0.1556, allocations: 4.226 MB / 0.5907 GB, free: 9.293 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.1561, allocations: 51.56 kB / 0.5908 GB, free: 9.242 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.000713/0.1568, allocations: 286 kB / 0.5911 GB, free: 8.961 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.1588, allocations: 1.267 MB / 0.5923 GB, free: 7.688 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.16, allocations: 0.8055 MB / 0.5931 GB, free: 6.883 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002032/0.1621, allocations: 2.585 MB / 0.5956 GB, free: 4.293 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.1634, allocations: 0.8979 MB / 0.5965 GB, free: 3.398 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.1653, allocations: 1.643 MB / 0.5981 GB, free: 1.82 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/0.166, allocations: 0.7946 MB / 0.5989 GB, free: 1.023 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.1661, allocations: 108 kB / 0.599 GB, free: 0.918 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.1667, allocations: 447 kB / 0.5994 GB, free: 492 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.167, allocations: 474.9 kB / 0.5998 GB, free: 16 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003644/0.1674, allocations: 379.4 kB / 0.6002 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.1685, allocations: 1.117 MB / 0.6013 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.006e-05/0.1686, allocations: 0 / 0.6013 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1686, allocations: 0 / 0.6013 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.943e-05/0.1686, allocations: 0 / 0.6013 GB, free: 14.52 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.001461/0.1701, allocations: 1.583 MB / 0.6028 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1701, allocations: 12.03 kB / 0.6029 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007427/0.1708, allocations: 385 kB / 0.6032 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007321/0.1716, allocations: 0.6215 MB / 0.6038 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.1716, allocations: 77.98 kB / 0.6039 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.645e-05/0.1717, allocations: 99.95 kB / 0.604 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.1724, allocations: 0.8674 MB / 0.6048 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.1724, allocations: 3.938 kB / 0.6048 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.1725, allocations: 40 kB / 0.6049 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.1725, allocations: 34 kB / 0.6049 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.1728, allocations: 321.9 kB / 0.6052 GB, free: 10.31 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.002381/0.1752, allocations: 3.398 MB / 0.6085 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.1755, allocations: 281.3 kB / 0.6088 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1756, allocations: 107.1 kB / 0.6089 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.1758, allocations: 64.38 kB / 0.609 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1758, allocations: 39.06 kB / 0.609 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 2.064e-06/0.1758, allocations: 0 / 0.609 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.0004654/0.1763, allocations: 310 kB / 0.6093 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.1763, allocations: 67.84 kB / 0.6094 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.1768, allocations: 0.5622 MB / 0.6099 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.1769, allocations: 41.7 kB / 0.61 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.177, allocations: 448.9 kB / 0.6104 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.191e-05/0.1771, allocations: 186.4 kB / 0.6106 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.1772, allocations: 138.5 kB / 0.6107 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1773, allocations: 386.6 kB / 0.6111 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.101e-05/0.1774, allocations: 80.72 kB / 0.6111 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.1777, allocations: 0.6395 MB / 0.6118 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.1781, allocations: 460.3 kB / 0.6122 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.1781, allocations: 7.938 kB / 0.6122 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004009/0.1785, allocations: 432.2 kB / 0.6126 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1785, allocations: 8 kB / 0.6126 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1785, allocations: 12.12 kB / 0.6126 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1785, allocations: 15.98 kB / 0.6127 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.1789, allocations: 175.7 kB / 0.6128 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1789, allocations: 15.94 kB / 0.6128 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.1792, allocations: 75.5 kB / 0.6129 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.1792, allocations: 28 kB / 0.6129 GB, free: 1.891 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.000145/0.1794, allocations: 160.4 kB / 0.6131 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.1794, allocations: 71.92 kB / 0.6132 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.1797, allocations: 286.6 kB / 0.6134 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1797, allocations: 8 kB / 0.6134 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1797, allocations: 0 / 0.6134 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001615/0.1799, allocations: 192.3 kB / 0.6136 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.1808, allocations: 0.9073 MB / 0.6145 GB, free: 188 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1808, allocations: 0 / 0.6145 GB, free: 188 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.1811, allocations: 150.7 kB / 0.6147 GB, free: 36 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.1813, allocations: 115.3 kB / 0.6148 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1813, allocations: 4 kB / 0.6148 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.1813, allocations: 15.94 kB / 0.6148 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1813, allocations: 128 / 0.6148 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1813, allocations: 15.88 kB / 0.6148 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.1817, allocations: 0.528 MB / 0.6153 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.1818, allocations: 12 kB / 0.6153 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.182, allocations: 15.19 kB / 0.6153 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.182, allocations: 39.81 kB / 0.6154 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.182, allocations: 15.98 kB / 0.6154 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001716/0.1822, allocations: 256.5 kB / 0.6156 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.1822, allocations: 4 kB / 0.6156 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004363/0.1826, allocations: 307.3 kB / 0.6159 GB, free: 14.68 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.0003849/0.183, allocations: 161 kB / 0.6161 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.1835, allocations: 293.1 kB / 0.6164 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.121e-05/0.1835, allocations: 16.5 kB / 0.6164 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1836, allocations: 131.1 kB / 0.6165 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.1845, allocations: 482.4 kB / 0.617 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/0.1891, allocations: 1.636 MB / 0.6186 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.1892, allocations: 247.1 kB / 0.6188 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003161/0.1895, allocations: 126.7 kB / 0.6189 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.1901, allocations: 325.1 kB / 0.6192 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of SimCode: time 7.72e-07/0.1901, allocations: 0 / 0.6192 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.01787/0.2079, allocations: 16.33 MB / 0.6352 GB, free: 11.33 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.025289703160524]