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.001721/0.001721, allocations: 92.7 kB / 19.44 MB, free: 324 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.002157/0.002157, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.478/1.478, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 1.234/1.234, allocations: 154.8 MB / 414.3 MB, free: 460 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.793e-06/1.793e-06, allocations: 0.6562 kB / 0.5199 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.644e-05, allocations: 4.828 kB / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5271/0.5271, allocations: 172.5 MB / 0.6883 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01467/0.5418, allocations: 13.13 MB / 0.7012 GB, free: 45.47 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.543, allocations: 50.38 kB / 0.7012 GB, free: 45.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.5444, allocations: 0.4975 MB / 0.7017 GB, free: 45.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00454/0.549, allocations: 1.987 MB / 0.7036 GB, free: 45.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.5514, allocations: 0.9496 MB / 0.7046 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003068/0.5545, allocations: 2.63 MB / 0.7071 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.5556, allocations: 0.8247 MB / 0.7079 GB, free: 45.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004695/0.5603, allocations: 2.25 MB / 0.7101 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.5616, allocations: 0.8779 MB / 0.711 GB, free: 44.78 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.5618, allocations: 108.7 kB / 0.7111 GB, free: 44.78 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.5635, allocations: 0.9217 MB / 0.712 GB, free: 44.69 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.5639, allocations: 0.5345 MB / 0.7125 GB, free: 44.63 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.5644, allocations: 457.9 kB / 0.7129 GB, free: 44.58 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.5665, allocations: 1.953 MB / 0.7149 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5665, allocations: 0 / 0.7149 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5665, allocations: 1.031 kB / 0.7149 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.5665, allocations: 0 / 0.7149 GB, free: 44.4 MB / 0.6355 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.001851/0.5684, allocations: 1.396 MB / 0.7162 GB, free: 43.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.5684, allocations: 11.22 kB / 0.7162 GB, free: 43.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.5698, allocations: 353.8 kB / 0.7166 GB, free: 43.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.571, allocations: 0.7718 MB / 0.7173 GB, free: 43.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.571, allocations: 69.22 kB / 0.7174 GB, free: 43.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.5712, allocations: 96.09 kB / 0.7175 GB, free: 43.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.5727, allocations: 1.301 MB / 0.7187 GB, free: 42.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.5727, allocations: 9.875 kB / 0.7188 GB, free: 42.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.5728, allocations: 36.12 kB / 0.7188 GB, free: 42.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/0.5728, allocations: 37.42 kB / 0.7188 GB, free: 42.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.5744, allocations: 0.8994 MB / 0.7197 GB, free: 42.93 MB / 0.6355 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.004154/0.5785, allocations: 4.031 MB / 0.7236 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008058/0.5793, allocations: 0.5112 MB / 0.7241 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.5797, allocations: 298 kB / 0.7244 GB, free: 40.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/0.5802, allocations: 85.39 kB / 0.7245 GB, free: 40.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.5803, allocations: 38.72 kB / 0.7245 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 2.164e-06/0.5803, allocations: 0 / 0.7245 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.0015/0.5818, allocations: 0.8184 MB / 0.7253 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.5818, allocations: 56.31 kB / 0.7254 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.5825, allocations: 0.6629 MB / 0.726 GB, free: 40.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.5825, allocations: 36.77 kB / 0.7261 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.5828, allocations: 0.5166 MB / 0.7266 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.583, allocations: 185.5 kB / 0.7268 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.5832, allocations: 139.7 kB / 0.7269 GB, free: 40.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5833, allocations: 391.6 kB / 0.7273 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.5837, allocations: 246.3 kB / 0.7275 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.5842, allocations: 0.8298 MB / 0.7283 GB, free: 39.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/0.5852, allocations: 0.8018 MB / 0.7291 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5852, allocations: 1.406 kB / 0.7291 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001325/0.5865, allocations: 0.8717 MB / 0.7299 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.5865, allocations: 10.33 kB / 0.73 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.5865, allocations: 7.625 kB / 0.73 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.5866, allocations: 12.66 kB / 0.73 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.5871, allocations: 155.7 kB / 0.7301 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.5872, allocations: 17.61 kB / 0.7301 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.5878, allocations: 81.84 kB / 0.7302 GB, free: 38.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/0.5879, allocations: 35.56 kB / 0.7303 GB, free: 38.61 MB / 0.6355 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.0004333/0.5883, allocations: 328.9 kB / 0.7306 GB, free: 38.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.5885, allocations: 98.66 kB / 0.7307 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.5895, allocations: 0.6118 MB / 0.7313 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.5895, allocations: 9.922 kB / 0.7313 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5895, allocations: 2.25 kB / 0.7313 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007428/0.5903, allocations: 0.5172 MB / 0.7318 GB, free: 38.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.5926, allocations: 1.456 MB / 0.7332 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5926, allocations: 3.594 kB / 0.7332 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.5931, allocations: 109.7 kB / 0.7333 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.5931, allocations: 8 kB / 0.7333 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.5932, allocations: 15.73 kB / 0.7333 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.5932, allocations: 12.52 kB / 0.7333 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5932, allocations: 2.188 kB / 0.7333 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.5944, allocations: 1.02 MB / 0.7343 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.5947, allocations: 150.2 kB / 0.7345 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.5948, allocations: 13.03 kB / 0.7345 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.5953, allocations: 17.45 kB / 0.7345 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.5954, allocations: 34.98 kB / 0.7345 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.5954, allocations: 20.5 kB / 0.7346 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005378/0.5959, allocations: 447.9 kB / 0.735 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5959, allocations: 0 / 0.735 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009023/0.5968, allocations: 311.3 kB / 0.7353 GB, free: 37.55 MB / 0.6355 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.0004355/0.5973, allocations: 200.4 kB / 0.7355 GB, free: 37.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000845/0.5981, allocations: 0.5873 MB / 0.7361 GB, free: 37.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5981, allocations: 3.562 kB / 0.7361 GB, free: 37.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.5985, allocations: 256.3 kB / 0.7363 GB, free: 37.44 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.6002, allocations: 393.9 kB / 0.7367 GB, free: 37.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.603, allocations: 1.849 MB / 0.7385 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.6035, allocations: 0.5293 MB / 0.739 GB, free: 36.53 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007244/0.6043, allocations: 254.2 kB / 0.7392 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.6044, allocations: 64.17 kB / 0.7393 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of SimCode: time 6.82e-07/0.6044, allocations: 3.938 kB / 0.7393 GB, free: 36.49 MB / 0.6355 GB Notification: Performance of Templates: time 0.02091/0.6253, allocations: 14.44 MB / 0.7534 GB, free: 34.95 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.919834543019533]