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.001351/0.001351, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001488/0.001488, allocations: 223.4 kB / 23 MB, free: 4.914 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.433/1.433, 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.1337/0.1337, allocations: 23.99 MB / 337.2 MB, free: 10.85 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.002057/0.002057, allocations: 70.86 kB / 472.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.301, allocations: 59.89 MB / 0.52 GB, free: 9.742 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.06974/0.3707, allocations: 24.18 MB / 0.5436 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.3831, allocations: 8.069 MB / 0.5514 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006/0.3837, allocations: 15.88 kB / 0.5515 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000858/0.3845, allocations: 200.6 kB / 0.5517 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.386, allocations: 358.5 kB / 0.552 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004145/0.3901, allocations: 1.437 MB / 0.5534 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.3913, allocations: 0.6723 MB / 0.5541 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.3917, allocations: 187.8 kB / 0.5542 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005049/0.3923, allocations: 335.3 kB / 0.5546 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006522/0.3929, allocations: 325.5 kB / 0.5549 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.3931, allocations: 36 kB / 0.5549 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.3953, allocations: 0.7819 MB / 0.5557 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.3955, allocations: 116.8 kB / 0.5558 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.3958, allocations: 215.8 kB / 0.556 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.3992, allocations: 1.524 MB / 0.5575 GB, free: 2.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3992, allocations: 0 / 0.5575 GB, free: 2.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3992, allocations: 4 kB / 0.5575 GB, free: 2.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.3992, allocations: 4 kB / 0.5575 GB, free: 2.449 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.001964/0.4012, allocations: 0.8788 MB / 0.5583 GB, free: 1.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4012, allocations: 12.03 kB / 0.5583 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008761/0.4021, allocations: 163 kB / 0.5585 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008348/0.4029, allocations: 398.5 kB / 0.5589 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.4029, allocations: 21.03 kB / 0.5589 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-05/0.403, allocations: 36.12 kB / 0.5589 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009461/0.404, allocations: 0.5261 MB / 0.5595 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.404, allocations: 4 kB / 0.5595 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.404, allocations: 16 kB / 0.5595 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.404, allocations: 12.73 kB / 0.5595 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.4054, allocations: 0.7948 MB / 0.5603 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.4081, allocations: 1.734 MB / 0.562 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.4086, allocations: 201.3 kB / 0.5621 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.4088, allocations: 123.2 kB / 0.5623 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002839/0.4117, allocations: 1.275 MB / 0.5635 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4117, allocations: 39.3 kB / 0.5635 GB, free: 12.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.4117, allocations: 0 / 0.5635 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006806/0.4124, allocations: 289.6 kB / 0.5638 GB, free: 12.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.4124, allocations: 55.41 kB / 0.5639 GB, free: 12.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.413, allocations: 447.3 kB / 0.5643 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.4131, allocations: 33.7 kB / 0.5643 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.4133, allocations: 307.8 kB / 0.5646 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.4134, allocations: 71.36 kB / 0.5647 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.4135, allocations: 94.08 kB / 0.5648 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.4137, allocations: 362.7 kB / 0.5651 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.4139, allocations: 88.83 kB / 0.5652 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.4143, allocations: 365.1 kB / 0.5656 GB, free: 10.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.4149, allocations: 496.3 kB / 0.566 GB, free: 9.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.415, allocations: 4 kB / 0.566 GB, free: 9.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008208/0.4158, allocations: 485.2 kB / 0.5665 GB, free: 9.508 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.4158, allocations: 12 kB / 0.5665 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.4158, allocations: 8 kB / 0.5665 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.4158, allocations: 12 kB / 0.5665 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.4162, allocations: 115.8 kB / 0.5666 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/0.4162, allocations: 19.92 kB / 0.5667 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.4165, allocations: 52.12 kB / 0.5667 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.4165, allocations: 40 kB / 0.5667 GB, free: 9.254 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.0002161/0.4168, allocations: 181.5 kB / 0.5669 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.4168, allocations: 43.72 kB / 0.567 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007151/0.4176, allocations: 399.5 kB / 0.5673 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4176, allocations: 3.984 kB / 0.5673 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4176, allocations: 0 / 0.5673 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4176, allocations: 0 / 0.5673 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000868/0.4184, allocations: 0.6272 MB / 0.568 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4184, allocations: 4 kB / 0.568 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.4185, allocations: 8 kB / 0.568 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-06/0.4185, allocations: 4 kB / 0.568 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.4185, allocations: 7.922 kB / 0.568 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4185, allocations: 7.938 kB / 0.568 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4185, allocations: 0 / 0.568 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.4188, allocations: 189.1 kB / 0.5682 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.944e-05/0.4189, allocations: 43.66 kB / 0.5682 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.419, allocations: 23.91 kB / 0.5682 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.4191, allocations: 0 / 0.5682 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.4191, allocations: 11.94 kB / 0.5682 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.4191, allocations: 4 kB / 0.5683 GB, free: 7.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004283/0.4196, allocations: 362.8 kB / 0.5686 GB, free: 7.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4196, allocations: 4 kB / 0.5686 GB, free: 7.215 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008568/0.4204, allocations: 255 kB / 0.5688 GB, free: 6.965 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.0008636/0.4213, allocations: 406.6 kB / 0.5692 GB, free: 6.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.4217, allocations: 218 kB / 0.5694 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4217, allocations: 4.125 kB / 0.5694 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.742e-05/0.4218, allocations: 31.92 kB / 0.5695 GB, free: 6.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.4223, allocations: 98.41 kB / 0.5696 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.4235, allocations: 0.7101 MB / 0.5703 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.4237, allocations: 203.8 kB / 0.5705 GB, free: 5.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.4239, allocations: 91.39 kB / 0.5705 GB, free: 5.148 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4239, allocations: 0 / 0.5705 GB, free: 5.148 MB / 414.1 MB Notification: Performance of Templates: time 0.01317/0.4371, allocations: 7.895 MB / 0.5783 GB, free: 13.27 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: 8.036220887675881] Failed to read output from testmodel.py, exit status != 0: 0.4459815858863294 0.460748093 0.05833348000000001 Calling exit ...