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.001002/0.001002, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002657, 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.001013/0.001013, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002404, 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.95/0.95, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08584/1.036, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.8148/0.8148, allocations: 154.6 MB / 398.8 MB, free: 392 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2978/1.113, allocations: 49.05 MB / 447.8 MB, free: 6.594 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 2.214e-06/2.214e-06, allocations: 3.938 kB / 449.2 MB, free: 5.254 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.352e-05, allocations: 6.484 kB / 449.2 MB, free: 5.25 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1527/0.1528, allocations: 151.8 MB / 0.5869 GB, free: 13.39 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.008243/0.161, allocations: 4.215 MB / 0.591 GB, free: 9.164 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.1621, allocations: 51.56 kB / 0.591 GB, free: 9.113 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008407/0.163, allocations: 289.9 kB / 0.5913 GB, free: 8.828 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00283/0.1658, allocations: 1.274 MB / 0.5926 GB, free: 7.547 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.1684, allocations: 0.8012 MB / 0.5934 GB, free: 6.746 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004439/0.1728, allocations: 2.587 MB / 0.5959 GB, free: 4.16 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.1751, allocations: 0.8948 MB / 0.5968 GB, free: 3.27 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/0.1783, allocations: 1.628 MB / 0.5983 GB, free: 1.703 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.1798, allocations: 0.7908 MB / 0.5991 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.1801, allocations: 108 kB / 0.5992 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.1811, allocations: 439.1 kB / 0.5996 GB, free: 384 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005973/0.1817, allocations: 478.8 kB / 0.6001 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.1823, allocations: 379.3 kB / 0.6005 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.184, allocations: 1.106 MB / 0.6015 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.585e-05/0.184, allocations: 0 / 0.6015 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.144e-06/0.184, allocations: 0 / 0.6015 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.163e-05/0.184, allocations: 0 / 0.6015 GB, free: 14.43 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.002274/0.1863, allocations: 1.587 MB / 0.6031 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1864, allocations: 15.97 kB / 0.6031 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.1876, allocations: 397 kB / 0.6035 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.1887, allocations: 0.6215 MB / 0.6041 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.67e-05/0.1887, allocations: 70 kB / 0.6042 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.1889, allocations: 103.9 kB / 0.6043 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.1899, allocations: 0.8635 MB / 0.6051 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.1899, allocations: 15.86 kB / 0.6051 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.19, allocations: 36 kB / 0.6051 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.19, allocations: 41.98 kB / 0.6052 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.1905, allocations: 318 kB / 0.6055 GB, free: 10.19 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.003568/0.1941, allocations: 3.402 MB / 0.6088 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.1944, allocations: 277.3 kB / 0.6091 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1946, allocations: 109.7 kB / 0.6092 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.1947, allocations: 60.44 kB / 0.6092 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1948, allocations: 39.06 kB / 0.6093 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 3.026e-06/0.1948, allocations: 0 / 0.6093 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.00054/0.1953, allocations: 313.9 kB / 0.6096 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.1953, allocations: 55.91 kB / 0.6096 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.1957, allocations: 0.5583 MB / 0.6102 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.1957, allocations: 37.7 kB / 0.6102 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.196, allocations: 460.9 kB / 0.6106 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.1961, allocations: 182.4 kB / 0.6108 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.1962, allocations: 142.5 kB / 0.611 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1963, allocations: 394.6 kB / 0.6113 GB, free: 4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.1964, allocations: 68.8 kB / 0.6114 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.1967, allocations: 0.6356 MB / 0.612 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.1971, allocations: 492.2 kB / 0.6125 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1971, allocations: 3.938 kB / 0.6125 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004426/0.1975, allocations: 432.2 kB / 0.6129 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.1976, allocations: 10.19 kB / 0.6129 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1976, allocations: 12.09 kB / 0.6129 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1976, allocations: 12 kB / 0.6129 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.198, allocations: 183.7 kB / 0.6131 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.198, allocations: 15.94 kB / 0.6131 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.1984, allocations: 79.53 kB / 0.6132 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.1984, allocations: 28 kB / 0.6132 GB, free: 1.742 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.0001661/0.1986, allocations: 164.4 kB / 0.6134 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.1986, allocations: 67.92 kB / 0.6135 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004888/0.1991, allocations: 282.7 kB / 0.6137 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1991, allocations: 7.984 kB / 0.6137 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1991, allocations: 0 / 0.6137 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001716/0.1993, allocations: 196.2 kB / 0.6139 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2003, allocations: 0.8996 MB / 0.6148 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.2003, allocations: 4 kB / 0.6148 GB, free: 48 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.2007, allocations: 154.7 kB / 0.6149 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.2009, allocations: 119.2 kB / 0.6151 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2009, allocations: 4 kB / 0.6151 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.2009, allocations: 15.94 kB / 0.6151 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.2009, allocations: 4 kB / 0.6151 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2009, allocations: 4.094 kB / 0.6151 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.2014, allocations: 0.528 MB / 0.6156 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.2014, allocations: 16 kB / 0.6156 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.2016, allocations: 12 kB / 0.6156 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.2017, allocations: 35.88 kB / 0.6157 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.2017, allocations: 15.98 kB / 0.6157 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000193/0.2019, allocations: 256.6 kB / 0.6159 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.2019, allocations: 3.938 kB / 0.6159 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006132/0.2025, allocations: 311.3 kB / 0.6162 GB, free: 14.54 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.0003989/0.2029, allocations: 160.8 kB / 0.6164 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.2033, allocations: 300.2 kB / 0.6167 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.23e-05/0.2033, allocations: 12.5 kB / 0.6167 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.2034, allocations: 157.7 kB / 0.6168 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.2049, allocations: 2.591 MB / 0.6194 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004773/0.2097, allocations: 1.637 MB / 0.621 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.2099, allocations: 247.1 kB / 0.6212 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003813/0.2103, allocations: 118.7 kB / 0.6213 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005555/0.2108, allocations: 325.1 kB / 0.6216 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of SimCode: time 1.854e-06/0.2108, allocations: 4 kB / 0.6216 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of Templates: time 0.02114/0.2319, allocations: 16.18 MB / 0.6374 GB, free: 8.691 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.11025545746088]