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.001439/0.001439, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001865/0.001865, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.512/1.512, allocations: 177.1 MB / 203.1 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 178] 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 1.221/1.221, allocations: 154.6 MB / 414.2 MB, free: 0.5312 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 178] 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.964e-06/1.964e-06, allocations: 0 / 0.5196 GB, free: 1.398 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.53e-05, allocations: 4.703 kB / 0.5196 GB, free: 1.395 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5265/0.5266, allocations: 172.5 MB / 0.6881 GB, free: 16.33 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.5405, allocations: 13.12 MB / 0.7009 GB, free: 16.06 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.5419, allocations: 51.25 kB / 0.701 GB, free: 16.06 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.5435, allocations: 0.497 MB / 0.7015 GB, free: 16.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004692/0.5482, allocations: 1.986 MB / 0.7034 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.5505, allocations: 0.9669 MB / 0.7043 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002836/0.5533, allocations: 2.615 MB / 0.7069 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.5546, allocations: 0.8234 MB / 0.7077 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005266/0.5599, allocations: 2.238 MB / 0.7099 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.5615, allocations: 0.8827 MB / 0.7107 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000269/0.5617, allocations: 108.4 kB / 0.7108 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.5636, allocations: 0.9265 MB / 0.7117 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005057/0.5641, allocations: 0.536 MB / 0.7123 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006729/0.5647, allocations: 458.7 kB / 0.7127 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.5671, allocations: 1.948 MB / 0.7146 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5671, allocations: 0.9375 kB / 0.7146 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5671, allocations: 0 / 0.7146 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.5671, allocations: 0 / 0.7146 GB, free: 13.58 MB / 0.5573 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.001869/0.569, allocations: 1.406 MB / 0.716 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.569, allocations: 10.09 kB / 0.716 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.5704, allocations: 348 kB / 0.7163 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.5716, allocations: 0.7747 MB / 0.7171 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/0.5716, allocations: 73.34 kB / 0.7172 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.5717, allocations: 97.03 kB / 0.7172 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.5732, allocations: 1.293 MB / 0.7185 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.5732, allocations: 4.781 kB / 0.7185 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-05/0.5733, allocations: 43.16 kB / 0.7186 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.5733, allocations: 32.69 kB / 0.7186 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.5745, allocations: 0.9012 MB / 0.7195 GB, free: 10.98 MB / 0.5573 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.003949/0.5784, allocations: 4.037 MB / 0.7234 GB, free: 7.875 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.5792, allocations: 0.5094 MB / 0.7239 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003657/0.5795, allocations: 299.6 kB / 0.7242 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004827/0.58, allocations: 81.91 kB / 0.7243 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.58, allocations: 40.25 kB / 0.7243 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=49): time 3.086e-06/0.58, allocations: 0 / 0.7243 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49): time 0.00141/0.5814, allocations: 0.8157 MB / 0.7251 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.5815, allocations: 59.66 kB / 0.7252 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006189/0.5821, allocations: 0.6626 MB / 0.7258 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.5821, allocations: 36.17 kB / 0.7258 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.5824, allocations: 0.5181 MB / 0.7263 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.5825, allocations: 185.7 kB / 0.7265 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.5827, allocations: 139.6 kB / 0.7267 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.5828, allocations: 382.8 kB / 0.727 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.5831, allocations: 251.9 kB / 0.7273 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.5836, allocations: 0.8291 MB / 0.7281 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.5844, allocations: 0.8034 MB / 0.7289 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.5844, allocations: 3.312 kB / 0.7289 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001221/0.5856, allocations: 0.8784 MB / 0.7297 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5856, allocations: 8.781 kB / 0.7297 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.5856, allocations: 7.281 kB / 0.7297 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/0.5857, allocations: 11.81 kB / 0.7297 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.5862, allocations: 156.9 kB / 0.7299 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.5862, allocations: 19.08 kB / 0.7299 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006984/0.5869, allocations: 83.75 kB / 0.73 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.587, allocations: 35.69 kB / 0.73 GB, free: 3.398 MB / 0.5573 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.0003505/0.5873, allocations: 327.3 kB / 0.7303 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.5874, allocations: 103.4 kB / 0.7304 GB, free: 3.113 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008467/0.5883, allocations: 0.6108 MB / 0.731 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5883, allocations: 8.125 kB / 0.731 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5883, allocations: 0 / 0.731 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005665/0.5889, allocations: 0.5176 MB / 0.7315 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.5908, allocations: 1.447 MB / 0.733 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5908, allocations: 3.375 kB / 0.733 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.5913, allocations: 110.2 kB / 0.7331 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5913, allocations: 4.938 kB / 0.7331 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.5913, allocations: 10.22 kB / 0.7331 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5913, allocations: 3.031 kB / 0.7331 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5913, allocations: 6.312 kB / 0.7331 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.5925, allocations: 1.026 MB / 0.7341 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.5927, allocations: 149.5 kB / 0.7342 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.5928, allocations: 17.45 kB / 0.7343 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.5933, allocations: 16.53 kB / 0.7343 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.5934, allocations: 40.97 kB / 0.7343 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.5934, allocations: 15.59 kB / 0.7343 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004231/0.5938, allocations: 446.1 kB / 0.7347 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.5938, allocations: 0 / 0.7347 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000864/0.5947, allocations: 318.4 kB / 0.7351 GB, free: 468 kB / 0.5573 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.0004207/0.5951, allocations: 191.6 kB / 0.7352 GB, free: 336 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008231/0.5959, allocations: 0.5848 MB / 0.7358 GB, free: 92 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5959, allocations: 0 / 0.7358 GB, free: 92 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.5963, allocations: 269.1 kB / 0.7361 GB, free: 15.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.598, allocations: 392.1 kB / 0.7364 GB, free: 15.75 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.6014, allocations: 1.862 MB / 0.7383 GB, free: 13.84 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.6021, allocations: 0.5274 MB / 0.7388 GB, free: 13.28 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008097/0.6029, allocations: 254.5 kB / 0.739 GB, free: 13.03 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.6031, allocations: 68.48 kB / 0.7391 GB, free: 12.96 MB / 0.573 GB Notification: Performance of SimCode: time 3.91e-07/0.6031, allocations: 0 / 0.7391 GB, free: 12.96 MB / 0.573 GB Notification: Performance of Templates: time 0.02868/0.6318, allocations: 14.43 MB / 0.7532 GB, free: 14.98 MB / 0.5886 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.896507001016289]