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.001146/0.001146, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001236/0.001236, allocations: 173 kB / 23.49 MB, free: 1.059 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.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.66 MB / 186.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.8853/0.8853, allocations: 154.6 MB / 414.9 MB, free: 0.6953 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 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.603e-06/1.603e-06, allocations: 0 / 0.5204 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.447e-05, allocations: 2.859 kB / 0.5204 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5045/0.5045, allocations: 192.3 MB / 0.7082 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.5178, allocations: 14.66 MB / 0.7225 GB, free: 47.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.5189, allocations: 51.5 kB / 0.7225 GB, free: 47.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.5202, allocations: 0.5009 MB / 0.723 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.5237, allocations: 1.986 MB / 0.725 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.5256, allocations: 0.9589 MB / 0.7259 GB, free: 46.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003106/0.5288, allocations: 2.625 MB / 0.7285 GB, free: 46.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.5298, allocations: 0.8258 MB / 0.7293 GB, free: 46.35 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/0.5342, allocations: 2.245 MB / 0.7315 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.5353, allocations: 0.8867 MB / 0.7323 GB, free: 46.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.5355, allocations: 106.9 kB / 0.7324 GB, free: 46.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.5374, allocations: 0.9279 MB / 0.7334 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005747/0.538, allocations: 0.5405 MB / 0.7339 GB, free: 45.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.5386, allocations: 467.6 kB / 0.7343 GB, free: 45.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.541, allocations: 1.434 MB / 0.7357 GB, free: 45.67 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.541, allocations: 0.6562 kB / 0.7357 GB, free: 45.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.774e-06/0.541, allocations: 1 kB / 0.7357 GB, free: 45.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.541, allocations: 1.094 kB / 0.7357 GB, free: 45.67 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.001852/0.5429, allocations: 1.515 MB / 0.7372 GB, free: 44.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5429, allocations: 10.84 kB / 0.7372 GB, free: 44.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.544, allocations: 360 kB / 0.7376 GB, free: 44.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.5451, allocations: 0.757 MB / 0.7383 GB, free: 44.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/0.5452, allocations: 69.94 kB / 0.7384 GB, free: 44.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.5453, allocations: 94.62 kB / 0.7385 GB, free: 44.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.5464, allocations: 0.9573 MB / 0.7394 GB, free: 44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.5464, allocations: 3.375 kB / 0.7394 GB, free: 44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.5465, allocations: 41.38 kB / 0.7394 GB, free: 44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.5466, allocations: 33.56 kB / 0.7395 GB, free: 43.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007466/0.5473, allocations: 380.5 kB / 0.7398 GB, free: 43.98 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.003186/0.5505, allocations: 4.702 MB / 0.7444 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.551, allocations: 283.4 kB / 0.7447 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.5512, allocations: 143.5 kB / 0.7448 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.5514, allocations: 82.7 kB / 0.7449 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.5514, allocations: 41.75 kB / 0.7449 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 2.404e-06/0.5514, allocations: 0 / 0.7449 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.0007851/0.5522, allocations: 459.6 kB / 0.7454 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.5523, allocations: 61.42 kB / 0.7454 GB, free: 40.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005506/0.5528, allocations: 0.6619 MB / 0.7461 GB, free: 40.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.5528, allocations: 37.11 kB / 0.7461 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.5531, allocations: 0.5741 MB / 0.7467 GB, free: 40.08 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.5533, allocations: 185.9 kB / 0.7469 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.5534, allocations: 151.9 kB / 0.747 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5536, allocations: 0.5697 MB / 0.7476 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.5537, allocations: 91.97 kB / 0.7477 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.5541, allocations: 0.7921 MB / 0.7484 GB, free: 38.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.5546, allocations: 0.5889 MB / 0.749 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5546, allocations: 3.062 kB / 0.749 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007035/0.5553, allocations: 0.5691 MB / 0.7496 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5553, allocations: 9.562 kB / 0.7496 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5553, allocations: 10.7 kB / 0.7496 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.5554, allocations: 12.53 kB / 0.7496 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.5557, allocations: 156.5 kB / 0.7497 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.5557, allocations: 17.06 kB / 0.7498 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.556, allocations: 74.55 kB / 0.7498 GB, free: 38.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.5561, allocations: 33.89 kB / 0.7499 GB, free: 38.03 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.0001655/0.5563, allocations: 208.8 kB / 0.7501 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.5564, allocations: 98.14 kB / 0.7502 GB, free: 37.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005182/0.5569, allocations: 375.2 kB / 0.7505 GB, free: 37.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.5569, allocations: 10.84 kB / 0.7505 GB, free: 37.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5569, allocations: 0 / 0.7505 GB, free: 37.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003353/0.5572, allocations: 290.5 kB / 0.7508 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.5585, allocations: 1.218 MB / 0.752 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5585, allocations: 1 kB / 0.752 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.5588, allocations: 114.5 kB / 0.7521 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5588, allocations: 4.312 kB / 0.7521 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.5588, allocations: 16.06 kB / 0.7521 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.5588, allocations: 6.719 kB / 0.7521 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5588, allocations: 5.5 kB / 0.7521 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.5594, allocations: 0.662 MB / 0.7528 GB, free: 36.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.5596, allocations: 136.6 kB / 0.7529 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.5597, allocations: 19.59 kB / 0.7529 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.5599, allocations: 12.75 kB / 0.7529 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.5599, allocations: 31.98 kB / 0.753 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.56, allocations: 23.12 kB / 0.753 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000281/0.5602, allocations: 407.8 kB / 0.7534 GB, free: 36.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5602, allocations: 3.094 kB / 0.7534 GB, free: 36.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005926/0.5608, allocations: 313.5 kB / 0.7537 GB, free: 36.72 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.000417/0.5613, allocations: 195 kB / 0.7539 GB, free: 36.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.5617, allocations: 362.9 kB / 0.7542 GB, free: 36.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5617, allocations: 2.594 kB / 0.7542 GB, free: 36.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.5619, allocations: 164.4 kB / 0.7544 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009963/0.5629, allocations: 391.9 kB / 0.7547 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.5649, allocations: 1.653 MB / 0.7564 GB, free: 35.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.565, allocations: 249.9 kB / 0.7566 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003951/0.5654, allocations: 221.3 kB / 0.7568 GB, free: 35.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.5655, allocations: 69.23 kB / 0.7569 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/0.5655, allocations: 0 / 0.7569 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.01579/0.5813, allocations: 14.52 MB / 0.7711 GB, free: 34.02 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.797550034010783]