Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.001302/0.001302, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001424/0.001424, allocations: 209.3 kB / 22.99 MB, free: 4.957 MB / 14.72 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1333/0.1333, allocations: 23.89 MB / 337.1 MB, free: 10.96 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003531/0.003531, allocations: 67.91 kB / 472.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3639, allocations: 59.86 MB / 0.5198 GB, free: 9.773 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2): time 0.06941/0.4333, allocations: 24 MB / 0.5432 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.4445, allocations: 8.078 MB / 0.5511 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005977/0.4451, allocations: 19.81 kB / 0.5511 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007101/0.4458, allocations: 192.3 kB / 0.5513 GB, free: 7.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.4469, allocations: 366.3 kB / 0.5516 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004126/0.451, allocations: 1.442 MB / 0.553 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.4522, allocations: 0.6709 MB / 0.5537 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.4525, allocations: 190 kB / 0.5539 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.4529, allocations: 332.3 kB / 0.5542 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005013/0.4534, allocations: 351 kB / 0.5545 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.574e-05/0.4535, allocations: 36 kB / 0.5546 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.4558, allocations: 0.794 MB / 0.5553 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.456, allocations: 128.6 kB / 0.5555 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.4563, allocations: 211.4 kB / 0.5557 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.4596, allocations: 1.524 MB / 0.5571 GB, free: 2.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4596, allocations: 0 / 0.5571 GB, free: 2.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4596, allocations: 4.844 kB / 0.5572 GB, free: 2.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.4596, allocations: 0 / 0.5572 GB, free: 2.727 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001633/0.4612, allocations: 0.8821 MB / 0.558 GB, free: 1.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4613, allocations: 11.97 kB / 0.558 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008508/0.4621, allocations: 159.5 kB / 0.5582 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/0.4629, allocations: 397.9 kB / 0.5586 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.4629, allocations: 25.03 kB / 0.5586 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.463, allocations: 36.81 kB / 0.5586 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009243/0.4639, allocations: 0.5292 MB / 0.5591 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4639, allocations: 8.891 kB / 0.5591 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.464, allocations: 12 kB / 0.5592 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.464, allocations: 8 kB / 0.5592 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.4653, allocations: 0.7985 MB / 0.5599 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.4679, allocations: 1.722 MB / 0.5616 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.4684, allocations: 201.7 kB / 0.5618 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.4686, allocations: 126.7 kB / 0.5619 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002897/0.4715, allocations: 1.271 MB / 0.5632 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.4716, allocations: 47.11 kB / 0.5632 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.4716, allocations: 3.938 kB / 0.5632 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006325/0.4722, allocations: 289.7 kB / 0.5635 GB, free: 12.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.4722, allocations: 55.41 kB / 0.5636 GB, free: 12.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.4728, allocations: 453.9 kB / 0.564 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.4728, allocations: 25.7 kB / 0.564 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.473, allocations: 304.2 kB / 0.5643 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.4731, allocations: 67.45 kB / 0.5644 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.4732, allocations: 98.08 kB / 0.5645 GB, free: 11.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4734, allocations: 354.7 kB / 0.5648 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4736, allocations: 88.83 kB / 0.5649 GB, free: 11.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.474, allocations: 365.1 kB / 0.5652 GB, free: 10.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/0.4746, allocations: 0.4963 MB / 0.5657 GB, free: 10.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4746, allocations: 0 / 0.5657 GB, free: 10.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007825/0.4754, allocations: 489.2 kB / 0.5662 GB, free: 9.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4754, allocations: 8 kB / 0.5662 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4754, allocations: 11.94 kB / 0.5662 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.4754, allocations: 12 kB / 0.5662 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.4758, allocations: 111.8 kB / 0.5663 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.4758, allocations: 19.92 kB / 0.5663 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.476, allocations: 52.09 kB / 0.5664 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.4761, allocations: 43.92 kB / 0.5664 GB, free: 9.566 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001962/0.4763, allocations: 177.6 kB / 0.5666 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.491e-05/0.4764, allocations: 39.72 kB / 0.5666 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007281/0.4771, allocations: 395.5 kB / 0.567 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4771, allocations: 0 / 0.567 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4771, allocations: 0 / 0.567 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4771, allocations: 0 / 0.567 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008307/0.478, allocations: 0.6349 MB / 0.5676 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.478, allocations: 4 kB / 0.5676 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.478, allocations: 11.98 kB / 0.5676 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.478, allocations: 4 kB / 0.5677 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4781, allocations: 3.938 kB / 0.5677 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4781, allocations: 4 kB / 0.5677 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4781, allocations: 4.062 kB / 0.5677 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.4783, allocations: 193 kB / 0.5678 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-05/0.4784, allocations: 43.7 kB / 0.5679 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.4785, allocations: 15.88 kB / 0.5679 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.4786, allocations: 4.062 kB / 0.5679 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.4786, allocations: 7.984 kB / 0.5679 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.4786, allocations: 4 kB / 0.5679 GB, free: 7.895 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004134/0.479, allocations: 362.8 kB / 0.5683 GB, free: 7.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.479, allocations: 4 kB / 0.5683 GB, free: 7.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008857/0.4799, allocations: 263 kB / 0.5685 GB, free: 7.281 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.0007407/0.4807, allocations: 398.6 kB / 0.5689 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.4811, allocations: 222 kB / 0.5691 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4811, allocations: 4.062 kB / 0.5691 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.557e-05/0.4811, allocations: 35.91 kB / 0.5691 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.4817, allocations: 94.36 kB / 0.5692 GB, free: 6.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.4828, allocations: 0.6854 MB / 0.5699 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.4831, allocations: 207.8 kB / 0.5701 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003652/0.4834, allocations: 131.1 kB / 0.5702 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.4835, allocations: 55.42 kB / 0.5703 GB, free: 5.406 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4835, allocations: 0 / 0.5703 GB, free: 5.406 MB / 414.1 MB Notification: Performance of Templates: time 0.01522/0.4988, allocations: 8.903 MB / 0.579 GB, free: 12.57 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0160943690134445] Failed to read output from testmodel.py, exit status != 0: 0.5101700910017826 0.5215030420000001 0.058843315 Calling exit ...