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.001335/0.001335, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001499/0.001499, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.988 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.137/0.137, allocations: 23.89 MB / 336.3 MB, free: 11.13 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.002095/0.002095, allocations: 63.91 kB / 471.7 MB, free: 7.109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3037, allocations: 59.88 MB / 0.5191 GB, free: 9.797 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.03896/0.3427, allocations: 24.29 MB / 0.5429 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.355, allocations: 9.253 MB / 0.5519 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.3555, allocations: 11.88 kB / 0.5519 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006925/0.3562, allocations: 224.3 kB / 0.5521 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.3573, allocations: 366.4 kB / 0.5525 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.3614, allocations: 1.437 MB / 0.5539 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.3626, allocations: 0.672 MB / 0.5545 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.3629, allocations: 192.8 kB / 0.5547 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.3633, allocations: 330.2 kB / 0.555 GB, free: 4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005363/0.3638, allocations: 349.5 kB / 0.5554 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.138e-05/0.3639, allocations: 36 kB / 0.5554 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.3662, allocations: 0.835 MB / 0.5562 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.3664, allocations: 120.5 kB / 0.5563 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.3667, allocations: 259.3 kB / 0.5566 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.3693, allocations: 1.531 MB / 0.5581 GB, free: 1.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3693, allocations: 4.562 kB / 0.5581 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3693, allocations: 0 / 0.5581 GB, free: 1.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3693, allocations: 0 / 0.5581 GB, free: 1.305 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.001526/0.3708, allocations: 0.8823 MB / 0.5589 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3708, allocations: 8.641 kB / 0.5589 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008358/0.3717, allocations: 167 kB / 0.5591 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007399/0.3724, allocations: 390.4 kB / 0.5595 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.3724, allocations: 25.03 kB / 0.5595 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.3725, allocations: 36.73 kB / 0.5595 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.3734, allocations: 0.5297 MB / 0.56 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3734, allocations: 0 / 0.56 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.3735, allocations: 15.98 kB / 0.5601 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.3735, allocations: 12 kB / 0.5601 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.3748, allocations: 0.8062 MB / 0.5609 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.3775, allocations: 1.848 MB / 0.5627 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.378, allocations: 210 kB / 0.5629 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.3782, allocations: 122.4 kB / 0.563 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002946/0.3812, allocations: 1.334 MB / 0.5643 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3812, allocations: 31.36 kB / 0.5643 GB, free: 11.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.3812, allocations: 0 / 0.5643 GB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006617/0.3819, allocations: 304 kB / 0.5646 GB, free: 11.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.3819, allocations: 55.41 kB / 0.5647 GB, free: 11.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.3825, allocations: 474.7 kB / 0.5651 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.3826, allocations: 41.69 kB / 0.5651 GB, free: 10.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.3828, allocations: 300 kB / 0.5654 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.3829, allocations: 59.48 kB / 0.5655 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.383, allocations: 98.08 kB / 0.5656 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3832, allocations: 362.7 kB / 0.5659 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.3834, allocations: 88.81 kB / 0.566 GB, free: 9.777 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.3838, allocations: 365.1 kB / 0.5664 GB, free: 9.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/0.3844, allocations: 0.5002 MB / 0.5668 GB, free: 8.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.3844, allocations: 4 kB / 0.5669 GB, free: 8.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008204/0.3853, allocations: 497.5 kB / 0.5673 GB, free: 8.164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3853, allocations: 8 kB / 0.5673 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.3853, allocations: 15.98 kB / 0.5674 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.3853, allocations: 12 kB / 0.5674 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.3856, allocations: 107.8 kB / 0.5675 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.3857, allocations: 15.94 kB / 0.5675 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.386, allocations: 55.62 kB / 0.5675 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.386, allocations: 39.92 kB / 0.5676 GB, free: 7.914 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.0002141/0.3862, allocations: 185.5 kB / 0.5677 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.3863, allocations: 47.67 kB / 0.5678 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.3871, allocations: 395.9 kB / 0.5682 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3871, allocations: 0 / 0.5682 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3871, allocations: 0 / 0.5682 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3871, allocations: 0 / 0.5682 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/0.388, allocations: 0.6967 MB / 0.5689 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3881, allocations: 4 kB / 0.5689 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.3881, allocations: 15.88 kB / 0.5689 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3881, allocations: 4 kB / 0.5689 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3881, allocations: 0 / 0.5689 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3881, allocations: 4 kB / 0.5689 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3881, allocations: 0 / 0.5689 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.3884, allocations: 205.1 kB / 0.5691 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3885, allocations: 59.58 kB / 0.5691 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/0.3886, allocations: 11.94 kB / 0.5691 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3887, allocations: 4 kB / 0.5691 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.3888, allocations: 4.125 kB / 0.5692 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3888, allocations: 8 kB / 0.5692 GB, free: 6.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005095/0.3893, allocations: 414.8 kB / 0.5696 GB, free: 5.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3893, allocations: 0 / 0.5696 GB, free: 5.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000827/0.3901, allocations: 255.1 kB / 0.5698 GB, free: 5.48 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.000699/0.3908, allocations: 418 kB / 0.5702 GB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000468/0.3913, allocations: 221.7 kB / 0.5704 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3913, allocations: 0 / 0.5704 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.026e-05/0.3913, allocations: 31.92 kB / 0.5704 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.392, allocations: 124.7 kB / 0.5706 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.3932, allocations: 0.6813 MB / 0.5712 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.3937, allocations: 0.8113 MB / 0.572 GB, free: 3.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003745/0.394, allocations: 136.3 kB / 0.5721 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.3942, allocations: 67.34 kB / 0.5722 GB, free: 2.938 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3942, allocations: 0 / 0.5722 GB, free: 2.938 MB / 414.1 MB Notification: Performance of Templates: time 0.01651/0.4107, allocations: 8.938 MB / 0.5809 GB, free: 10.04 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.031728549860418] Failed to read output from testmodel.py, exit status != 0: 0.419601924251765 0.43506872300000005 0.062466375000000005 Calling exit ...