Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.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: 110.2 kB / 19.69 MB, free: 2.254 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.001493/0.001493, allocations: 214.6 kB / 23.01 MB, free: 4.566 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.1413/0.1413, allocations: 23.89 MB / 337.1 MB, free: 11.18 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.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") [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.002031/0.002031, allocations: 63.91 kB / 472.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3083, allocations: 59.87 MB / 0.5199 GB, free: 9.836 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66: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:14335:7-14335:66: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.ClimateChange.HydrogenotrophicMethanogenesis): time 0.03782/0.3461, allocations: 26.75 MB / 0.546 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02188/0.368, allocations: 16.81 MB / 0.5624 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.3691, allocations: 15.88 kB / 0.5624 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.3702, allocations: 336.7 kB / 0.5628 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.3752, allocations: 1.506 MB / 0.5642 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007134/0.3824, allocations: 2.022 MB / 0.5662 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002877/0.3852, allocations: 1.543 MB / 0.5677 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.3864, allocations: 0.7038 MB / 0.5684 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.3874, allocations: 0.7794 MB / 0.5692 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.3887, allocations: 0.8605 MB / 0.57 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.3889, allocations: 136 kB / 0.5701 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006269/0.3952, allocations: 1.81 MB / 0.5719 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006798/0.3959, allocations: 323 kB / 0.5722 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.3971, allocations: 0.6845 MB / 0.5729 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008855/0.4059, allocations: 3.451 MB / 0.5762 GB, free: 292 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4059, allocations: 0 / 0.5762 GB, free: 292 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.406, allocations: 0 / 0.5762 GB, free: 292 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.406, allocations: 0 / 0.5762 GB, free: 292 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003605/0.4096, allocations: 1.777 MB / 0.578 GB, free: 14.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4096, allocations: 12.03 kB / 0.578 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.4108, allocations: 279.7 kB / 0.5783 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.412, allocations: 0.6127 MB / 0.5789 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.4121, allocations: 134.1 kB / 0.579 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.4123, allocations: 120.3 kB / 0.5791 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.4145, allocations: 1.333 MB / 0.5804 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.4146, allocations: 0 / 0.5804 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.4147, allocations: 48 kB / 0.5804 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.4147, allocations: 24 kB / 0.5805 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.4175, allocations: 1.695 MB / 0.5821 GB, free: 10.13 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007203/0.4247, allocations: 4.245 MB / 0.5863 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/0.4282, allocations: 1.914 MB / 0.5881 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008745/0.429, allocations: 0.5299 MB / 0.5887 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006374/0.4354, allocations: 2.943 MB / 0.5915 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4355, allocations: 47.22 kB / 0.5916 GB, free: 212 kB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.544e-06/0.4355, allocations: 0 / 0.5916 GB, free: 212 kB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01529/0.4508, allocations: 3.433 MB / 0.5949 GB, free: 12.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.4508, allocations: 68.33 kB / 0.595 GB, free: 12.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007591/0.4516, allocations: 0.5823 MB / 0.5956 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/0.4516, allocations: 45.69 kB / 0.5956 GB, free: 12.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.4521, allocations: 0.5467 MB / 0.5961 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/0.4524, allocations: 345.1 kB / 0.5965 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/0.4527, allocations: 242.7 kB / 0.5967 GB, free: 10.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.4529, allocations: 394.7 kB / 0.5971 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.4536, allocations: 362.4 kB / 0.5974 GB, free: 10.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.4546, allocations: 0.7477 MB / 0.5982 GB, free: 9.203 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.4564, allocations: 1.208 MB / 0.5993 GB, free: 7.816 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.4564, allocations: 7.938 kB / 0.5993 GB, free: 7.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004228/0.4606, allocations: 1.467 MB / 0.6008 GB, free: 6.328 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.4606, allocations: 12 kB / 0.6008 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.4607, allocations: 12 kB / 0.6008 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.4626, allocations: 241.8 kB / 0.601 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.4641, allocations: 327.5 kB / 0.6013 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005825/0.4699, allocations: 3.664 MB / 0.6049 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009084/0.4708, allocations: 40 kB / 0.605 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.4709, allocations: 67.97 kB / 0.605 GB, free: 1.746 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004897/0.4714, allocations: 281.5 kB / 0.6053 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.4716, allocations: 91.39 kB / 0.6054 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/0.4757, allocations: 1.324 MB / 0.6067 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.4757, allocations: 11.94 kB / 0.6067 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4757, allocations: 4 kB / 0.6067 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.4757, allocations: 8.109 kB / 0.6067 GB, free: 8 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.4773, allocations: 1.03 MB / 0.6077 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4773, allocations: 7.984 kB / 0.6077 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.4785, allocations: 211.8 kB / 0.6079 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.4805, allocations: 233.6 kB / 0.6081 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.4806, allocations: 31.98 kB / 0.6082 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005465/0.4861, allocations: 3.573 MB / 0.6116 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.4861, allocations: 4.031 kB / 0.6117 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/0.4908, allocations: 1.737 MB / 0.6133 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.4911, allocations: 79.45 kB / 0.6134 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.4912, allocations: 20 kB / 0.6134 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.4917, allocations: 23.98 kB / 0.6135 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.4919, allocations: 88.78 kB / 0.6136 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/0.492, allocations: 39.94 kB / 0.6136 GB, free: 8.609 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005051/0.4925, allocations: 395.1 kB / 0.614 GB, free: 8.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4925, allocations: 3.938 kB / 0.614 GB, free: 8.227 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002042/0.4945, allocations: 0.6779 MB / 0.6146 GB, free: 7.547 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (solution.temperature,CH4.logn,CO2.logn,H2O.logn,H2.logn) * 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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/0.496, allocations: 0.8248 MB / 0.6154 GB, free: 6.711 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002315/0.4983, allocations: 1.196 MB / 0.6166 GB, free: 5.492 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4983, allocations: 0 / 0.6166 GB, free: 5.492 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.4995, allocations: 0.6902 MB / 0.6173 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.5005, allocations: 210.5 kB / 0.6175 GB, free: 4.566 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.5041, allocations: 2.046 MB / 0.6195 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007195/0.5048, allocations: 1.038 MB / 0.6205 GB, free: 1.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.5053, allocations: 208.3 kB / 0.6207 GB, free: 1.219 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5053, allocations: 0 / 0.6207 GB, free: 1.219 MB / 462.1 MB Notification: Performance of Templates: time 0.03509/0.5404, allocations: 26.77 MB / 0.6468 GB, free: 6.492 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.456779207015643] Failed to read output from testmodel.py, exit status != 0: 0.5499070619989652 0.5644300019999999 0.15527273400000002 Calling exit ...