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.002125/0.002125, allocations: 102.5 kB / 16.45 MB, free: 6.504 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.002354/0.002354, allocations: 212.9 kB / 19.43 MB, free: 3.652 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1543/0.1543, allocations: 23.88 MB / 332.7 MB, free: 12.34 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.002215/0.002215, allocations: 67.91 kB / 466.5 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3453, allocations: 59.83 MB / 0.514 GB, free: 9.121 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.03716/0.3824, allocations: 24.27 MB / 0.5377 GB, free: 64 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.3951, allocations: 9.241 MB / 0.5467 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006258/0.3957, allocations: 19.81 kB / 0.5468 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008151/0.3965, allocations: 220.2 kB / 0.547 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.3979, allocations: 365.1 kB / 0.5473 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004692/0.4026, allocations: 1.422 MB / 0.5487 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.4038, allocations: 0.664 MB / 0.5494 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.4042, allocations: 200.7 kB / 0.5496 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.4046, allocations: 335.7 kB / 0.5499 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.4051, allocations: 348.1 kB / 0.5502 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.514e-05/0.4052, allocations: 36 kB / 0.5502 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.408, allocations: 0.8348 MB / 0.5511 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.4082, allocations: 120.8 kB / 0.5512 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.4085, allocations: 263.1 kB / 0.5514 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.4115, allocations: 1.531 MB / 0.5529 GB, free: 2.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4115, allocations: 0 / 0.5529 GB, free: 2.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4115, allocations: 0 / 0.5529 GB, free: 2.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.4115, allocations: 0 / 0.5529 GB, free: 2.227 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.001787/0.4133, allocations: 0.9621 MB / 0.5539 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4134, allocations: 8.031 kB / 0.5539 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008366/0.4142, allocations: 155.6 kB / 0.554 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.415, allocations: 459.4 kB / 0.5545 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.415, allocations: 29.03 kB / 0.5545 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.4151, allocations: 28.12 kB / 0.5545 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009491/0.416, allocations: 0.5339 MB / 0.555 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.416, allocations: 0 / 0.555 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.4161, allocations: 16 kB / 0.555 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4161, allocations: 8 kB / 0.555 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.4175, allocations: 0.8039 MB / 0.5558 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.4204, allocations: 1.889 MB / 0.5577 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.4208, allocations: 201.2 kB / 0.5579 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.4211, allocations: 123.1 kB / 0.558 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003831/0.4249, allocations: 2.718 MB / 0.5606 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.872e-05/0.425, allocations: 35.31 kB / 0.5607 GB, free: 10.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.425, allocations: 0 / 0.5607 GB, free: 10.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006678/0.4257, allocations: 301.3 kB / 0.561 GB, free: 10.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4257, allocations: 55.41 kB / 0.561 GB, free: 10.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000656/0.4264, allocations: 477.3 kB / 0.5615 GB, free: 9.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.4264, allocations: 29.7 kB / 0.5615 GB, free: 9.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.4267, allocations: 301.6 kB / 0.5618 GB, free: 9.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.4268, allocations: 69.81 kB / 0.5619 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.4269, allocations: 97.75 kB / 0.5619 GB, free: 9.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.4271, allocations: 361.8 kB / 0.5623 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.4273, allocations: 94 kB / 0.5624 GB, free: 8.961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.4278, allocations: 361.3 kB / 0.5627 GB, free: 8.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/0.4285, allocations: 0.4924 MB / 0.5632 GB, free: 7.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4285, allocations: 0 / 0.5632 GB, free: 7.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008465/0.4293, allocations: 489.1 kB / 0.5637 GB, free: 7.453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4293, allocations: 11.94 kB / 0.5637 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.4293, allocations: 12 kB / 0.5637 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.146e-05/0.4294, allocations: 12 kB / 0.5637 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.4297, allocations: 107.9 kB / 0.5638 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.633e-05/0.4298, allocations: 22.7 kB / 0.5638 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.43, allocations: 60.84 kB / 0.5639 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.4301, allocations: 37.2 kB / 0.5639 GB, free: 7.211 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.0002364/0.4303, allocations: 180.3 kB / 0.5641 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.802e-05/0.4304, allocations: 52.38 kB / 0.5641 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007746/0.4312, allocations: 390.9 kB / 0.5645 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4312, allocations: 0 / 0.5645 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4312, allocations: 4 kB / 0.5645 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4312, allocations: 0 / 0.5645 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009429/0.4322, allocations: 0.7248 MB / 0.5652 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4322, allocations: 4 kB / 0.5652 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.4322, allocations: 11.94 kB / 0.5652 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.4322, allocations: 4 kB / 0.5653 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.4323, allocations: 4.188 kB / 0.5653 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.4323, allocations: 7.984 kB / 0.5653 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4323, allocations: 0 / 0.5653 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.4325, allocations: 205 kB / 0.5655 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.4327, allocations: 136.7 kB / 0.5656 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/0.4328, allocations: 7.953 kB / 0.5656 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.4329, allocations: 0 / 0.5656 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.4329, allocations: 12.11 kB / 0.5656 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4329, allocations: 8 kB / 0.5656 GB, free: 5.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005471/0.4335, allocations: 410.8 kB / 0.566 GB, free: 4.906 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4335, allocations: 0 / 0.566 GB, free: 4.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009568/0.4344, allocations: 259.1 kB / 0.5663 GB, free: 4.652 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.001032/0.4355, allocations: 410 kB / 0.5666 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004645/0.4359, allocations: 220.2 kB / 0.5669 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4359, allocations: 5.875 kB / 0.5669 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.429e-05/0.436, allocations: 39.91 kB / 0.5669 GB, free: 3.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006642/0.4367, allocations: 118.7 kB / 0.567 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.4382, allocations: 0.6878 MB / 0.5677 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/0.4388, allocations: 0.8152 MB / 0.5685 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000437/0.4392, allocations: 132 kB / 0.5686 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.4394, allocations: 55.41 kB / 0.5687 GB, free: 2.105 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4394, allocations: 4 kB / 0.5687 GB, free: 2.102 MB / 414.1 MB Notification: Performance of Templates: time 0.01721/0.4566, allocations: 8.804 MB / 0.5773 GB, free: 9.328 MB / 430.1 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.251188943628222] Failed to read output from testmodel.py, exit status != 0: 0.46612397162243724 0.48076410199999997 0.066155715 Calling exit ...