Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00133/0.00133, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001482/0.001482, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1339/0.1339, allocations: 23.93 MB / 337.1 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002044/0.002044, allocations: 63.89 kB / 472.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3638, allocations: 59.87 MB / 0.5198 GB, free: 9.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.07129/0.4351, allocations: 24.01 MB / 0.5433 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.4468, allocations: 8.074 MB / 0.5512 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006905/0.4475, allocations: 11.88 kB / 0.5512 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007749/0.4483, allocations: 192.6 kB / 0.5513 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.4495, allocations: 366.3 kB / 0.5517 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004684/0.4542, allocations: 1.443 MB / 0.5531 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.4556, allocations: 0.6741 MB / 0.5538 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.4559, allocations: 189.5 kB / 0.5539 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.4563, allocations: 330.6 kB / 0.5543 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005544/0.4569, allocations: 348.9 kB / 0.5546 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.457, allocations: 39.94 kB / 0.5546 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.4596, allocations: 0.7983 MB / 0.5554 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.4598, allocations: 116 kB / 0.5555 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.4601, allocations: 223.5 kB / 0.5557 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004112/0.4642, allocations: 1.524 MB / 0.5572 GB, free: 2.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4642, allocations: 0 / 0.5572 GB, free: 2.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4642, allocations: 4 kB / 0.5572 GB, free: 2.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4642, allocations: 0 / 0.5572 GB, free: 2.695 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.001822/0.466, allocations: 0.8827 MB / 0.5581 GB, free: 1.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4661, allocations: 8.031 kB / 0.5581 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008511/0.4669, allocations: 163.1 kB / 0.5583 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.4677, allocations: 394.3 kB / 0.5586 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.4677, allocations: 25.03 kB / 0.5587 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/0.4678, allocations: 32.12 kB / 0.5587 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009631/0.4688, allocations: 0.53 MB / 0.5592 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.4688, allocations: 4 kB / 0.5592 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.4689, allocations: 16 kB / 0.5592 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.4689, allocations: 8.75 kB / 0.5592 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.4701, allocations: 0.7901 MB / 0.56 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.473, allocations: 1.726 MB / 0.5617 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.4734, allocations: 200.7 kB / 0.5619 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.4737, allocations: 126.8 kB / 0.562 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003008/0.4767, allocations: 1.288 MB / 0.5633 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.4767, allocations: 38.56 kB / 0.5633 GB, free: 13.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.4767, allocations: 0 / 0.5633 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006524/0.4774, allocations: 290.6 kB / 0.5636 GB, free: 12.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.4774, allocations: 56 kB / 0.5636 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.478, allocations: 450 kB / 0.564 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.478, allocations: 29.7 kB / 0.5641 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.4782, allocations: 307.8 kB / 0.5644 GB, free: 11.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.4783, allocations: 67.45 kB / 0.5644 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.4784, allocations: 94.08 kB / 0.5645 GB, free: 11.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.4786, allocations: 354.7 kB / 0.5649 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.4788, allocations: 92.83 kB / 0.565 GB, free: 11.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.4792, allocations: 365.1 kB / 0.5653 GB, free: 10.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.4798, allocations: 496.3 kB / 0.5658 GB, free: 10.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.4798, allocations: 4 kB / 0.5658 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007917/0.4806, allocations: 489.2 kB / 0.5662 GB, free: 9.789 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.4806, allocations: 14.66 kB / 0.5663 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4806, allocations: 8 kB / 0.5663 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.4807, allocations: 15.94 kB / 0.5663 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.481, allocations: 111.8 kB / 0.5664 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.356e-05/0.481, allocations: 19.92 kB / 0.5664 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.4813, allocations: 52.06 kB / 0.5665 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.4814, allocations: 47.98 kB / 0.5665 GB, free: 9.527 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.0002143/0.4816, allocations: 173.6 kB / 0.5667 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/0.4817, allocations: 43.72 kB / 0.5667 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007295/0.4824, allocations: 391.5 kB / 0.5671 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4824, allocations: 0 / 0.5671 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4824, allocations: 4 kB / 0.5671 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4824, allocations: 0 / 0.5671 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008476/0.4833, allocations: 0.635 MB / 0.5677 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4833, allocations: 3.938 kB / 0.5677 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.4834, allocations: 15.98 kB / 0.5677 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4834, allocations: 0 / 0.5677 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.4834, allocations: 7.938 kB / 0.5677 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4834, allocations: 3.938 kB / 0.5677 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4834, allocations: 4 kB / 0.5677 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.4836, allocations: 185.1 kB / 0.5679 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.4837, allocations: 51.64 kB / 0.568 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.4838, allocations: 3.938 kB / 0.568 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4839, allocations: 8.062 kB / 0.568 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.4839, allocations: 11.98 kB / 0.568 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4839, allocations: 7.984 kB / 0.568 GB, free: 7.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004147/0.4843, allocations: 358.9 kB / 0.5683 GB, free: 7.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4843, allocations: 0 / 0.5683 GB, free: 7.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008645/0.4852, allocations: 259 kB / 0.5686 GB, free: 7.25 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.0007162/0.4859, allocations: 402.7 kB / 0.569 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004161/0.4863, allocations: 213.7 kB / 0.5692 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4863, allocations: 384 / 0.5692 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.4864, allocations: 47.84 kB / 0.5692 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.4869, allocations: 96.77 kB / 0.5693 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.488, allocations: 0.6893 MB / 0.57 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.4882, allocations: 203.8 kB / 0.5702 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003706/0.4886, allocations: 135.3 kB / 0.5703 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.4887, allocations: 51.42 kB / 0.5704 GB, free: 5.375 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4887, allocations: 0 / 0.5704 GB, free: 5.375 MB / 414.1 MB Notification: Performance of Templates: time 0.01514/0.5038, allocations: 8.908 MB / 0.5791 GB, free: 12.54 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0489242390030995] Failed to read output from testmodel.py, exit status != 0: 0.5124291190004442 0.5264949240000001 0.059252633000000006 Calling exit ...