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.0007543/0.0007543, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.000754/0.000754, allocations: 174.3 kB / 23.21 MB, free: 1.352 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 0.8517/0.8517, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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-531:190: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-531:198: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 0.7101/0.7101, allocations: 154.5 MB / 414.5 MB, free: 0.8555 MB / 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 179] 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.953e-06/1.953e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.882e-05/4.078e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.4234/0.4234, allocations: 172.5 MB / 0.7878 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.4365, allocations: 13.12 MB / 0.8006 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.438, allocations: 56.19 kB / 0.8006 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.4394, allocations: 0.4921 MB / 0.8011 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004083/0.4435, allocations: 1.985 MB / 0.803 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.4456, allocations: 0.9585 MB / 0.804 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003268/0.4488, allocations: 2.631 MB / 0.8066 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.4502, allocations: 0.7885 MB / 0.8073 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.4548, allocations: 2.212 MB / 0.8095 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.456, allocations: 0.8631 MB / 0.8103 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.4561, allocations: 106.6 kB / 0.8104 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.4578, allocations: 0.9263 MB / 0.8113 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003878/0.4582, allocations: 0.5326 MB / 0.8119 GB, free: 8.797 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.4587, allocations: 458.8 kB / 0.8123 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.4609, allocations: 1.953 MB / 0.8142 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4609, allocations: 0 / 0.8142 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4609, allocations: 0 / 0.8142 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.4609, allocations: 0 / 0.8142 GB, free: 7.328 MB / 0.6667 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.001666/0.4626, allocations: 1.395 MB / 0.8156 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4626, allocations: 11.94 kB / 0.8156 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008338/0.4635, allocations: 259.3 kB / 0.8158 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009107/0.4644, allocations: 0.7342 MB / 0.8165 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.4644, allocations: 70.03 kB / 0.8166 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.4645, allocations: 104.1 kB / 0.8167 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.4657, allocations: 1.295 MB / 0.818 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.4657, allocations: 2.219 kB / 0.818 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/0.4658, allocations: 38.94 kB / 0.818 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.4658, allocations: 31.34 kB / 0.818 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009078/0.4667, allocations: 0.9022 MB / 0.8189 GB, free: 4.168 MB / 0.6667 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.003285/0.47, allocations: 3.983 MB / 0.8228 GB, free: 0.9688 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.4706, allocations: 0.5228 MB / 0.8233 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.4709, allocations: 296.1 kB / 0.8236 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.4712, allocations: 75.3 kB / 0.8237 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.4712, allocations: 41.28 kB / 0.8237 GB, free: 484 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 2.815e-06/0.4712, allocations: 4 kB / 0.8237 GB, free: 480 kB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.001079/0.4723, allocations: 0.7932 MB / 0.8245 GB, free: 80 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.4723, allocations: 61.02 kB / 0.8245 GB, free: 12 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006614/0.473, allocations: 0.6563 MB / 0.8252 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.473, allocations: 36.45 kB / 0.8252 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.4733, allocations: 0.5237 MB / 0.8257 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.4735, allocations: 182.2 kB / 0.8259 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.4736, allocations: 147.8 kB / 0.826 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4738, allocations: 389.2 kB / 0.8264 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.474, allocations: 258.1 kB / 0.8267 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.4746, allocations: 0.8303 MB / 0.8275 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007637/0.4754, allocations: 0.7931 MB / 0.8283 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4754, allocations: 8 kB / 0.8283 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009085/0.4763, allocations: 0.8364 MB / 0.8291 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.4763, allocations: 15.92 kB / 0.8291 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.4764, allocations: 8 kB / 0.8291 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.4764, allocations: 12 kB / 0.8291 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.4767, allocations: 152.5 kB / 0.8293 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.4767, allocations: 15.94 kB / 0.8293 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.4772, allocations: 91.17 kB / 0.8294 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.4772, allocations: 32 kB / 0.8294 GB, free: 11.74 MB / 0.6823 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.0003914/0.4776, allocations: 330.5 kB / 0.8297 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.461e-05/0.4777, allocations: 87.42 kB / 0.8298 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.4784, allocations: 0.6108 MB / 0.8304 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4784, allocations: 4 kB / 0.8304 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4784, allocations: 4 kB / 0.8304 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004775/0.4789, allocations: 0.5187 MB / 0.8309 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.4805, allocations: 1.44 MB / 0.8323 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4805, allocations: 4 kB / 0.8323 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.4808, allocations: 103.9 kB / 0.8324 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.4808, allocations: 8.219 kB / 0.8324 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.4808, allocations: 19.98 kB / 0.8324 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4808, allocations: 4 kB / 0.8324 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4808, allocations: 3.938 kB / 0.8324 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008964/0.4817, allocations: 1.009 MB / 0.8334 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.4819, allocations: 143.3 kB / 0.8336 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.482, allocations: 16 kB / 0.8336 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.4822, allocations: 19.86 kB / 0.8336 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.4822, allocations: 39.88 kB / 0.8336 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.4823, allocations: 20 kB / 0.8337 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003704/0.4826, allocations: 451 kB / 0.8341 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4826, allocations: 0 / 0.8341 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006977/0.4833, allocations: 307.3 kB / 0.8344 GB, free: 6.508 MB / 0.6823 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.0004469/0.4838, allocations: 195.3 kB / 0.8346 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006844/0.4845, allocations: 0.5896 MB / 0.8351 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4845, allocations: 8.062 kB / 0.8351 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.4847, allocations: 259.5 kB / 0.8354 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00097/0.4857, allocations: 385.8 kB / 0.8358 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.488, allocations: 1.908 MB / 0.8376 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.4884, allocations: 0.5274 MB / 0.8381 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.4885, allocations: 72.48 kB / 0.8382 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of SimCode: time 1.582e-06/0.4885, allocations: 4 kB / 0.8382 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of Templates: time 0.01622/0.5047, allocations: 14.39 MB / 0.8523 GB, free: 4.262 MB / 0.698 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: 7.606217688880861] Failed to read output from testmodel.py, exit status != 0: 0.5111514693126082 0.519318735 0.056590579 Calling exit ...