Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.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.001296/0.001296, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001435/0.001435, allocations: 217.1 kB / 22.24 MB, free: 5.105 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.824 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.1371/0.1371, allocations: 23.99 MB / 336.4 MB, free: 10.88 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.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [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.001977/0.001977, allocations: 63.91 kB / 471.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3165, allocations: 59.89 MB / 0.5192 GB, free: 9.727 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.MethanElectrosynthesis): time 0.07505/0.3916, allocations: 29.27 MB / 0.5478 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02815/0.4197, allocations: 19.46 MB / 0.5668 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.4216, allocations: 31.75 kB / 0.5668 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.4232, allocations: 0.533 MB / 0.5674 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.4274, allocations: 1.312 MB / 0.5686 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009421/0.4368, allocations: 3.344 MB / 0.5719 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003789/0.4406, allocations: 2.394 MB / 0.5742 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.4423, allocations: 1.251 MB / 0.5755 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.4438, allocations: 1.056 MB / 0.5765 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.4454, allocations: 1.085 MB / 0.5776 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003339/0.4458, allocations: 232 kB / 0.5778 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006272/0.452, allocations: 2.223 MB / 0.58 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006459/0.4527, allocations: 0.5374 MB / 0.5805 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.4539, allocations: 0.9571 MB / 0.5814 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.4639, allocations: 5.011 MB / 0.5863 GB, free: 4.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.464, allocations: 0 / 0.5863 GB, free: 4.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.464, allocations: 4 kB / 0.5863 GB, free: 4.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.476e-05/0.464, allocations: 0 / 0.5863 GB, free: 4.859 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.005012/0.469, allocations: 2.659 MB / 0.5889 GB, free: 2.156 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.469, allocations: 8.031 kB / 0.5889 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.4709, allocations: 0.5103 MB / 0.5894 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.473, allocations: 1.137 MB / 0.5905 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.4732, allocations: 262.9 kB / 0.5908 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.4735, allocations: 188 kB / 0.591 GB, free: 0 / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/0.4776, allocations: 2.712 MB / 0.5936 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.4776, allocations: 0 / 0.5936 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.4778, allocations: 83.98 kB / 0.5937 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.4778, allocations: 48 kB / 0.5937 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00485/0.4827, allocations: 3.306 MB / 0.597 GB, free: 9.777 MB / 446.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.01208/0.4948, allocations: 7.294 MB / 0.6041 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.4968, allocations: 1.12 MB / 0.6052 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009735/0.4978, allocations: 0.5872 MB / 0.6057 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008042/0.5058, allocations: 3.387 MB / 0.6091 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/0.5059, allocations: 47.2 kB / 0.6091 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009338/0.5068, allocations: 187 kB / 0.6093 GB, free: 12.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 6.382e-06/0.5068, allocations: 0 / 0.6093 GB, free: 12.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.02854/0.5354, allocations: 6.913 MB / 0.616 GB, free: 5.965 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.128e-05/0.5355, allocations: 115.8 kB / 0.6161 GB, free: 5.828 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.5381, allocations: 1.827 MB / 0.6179 GB, free: 3.988 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.5383, allocations: 45.7 kB / 0.618 GB, free: 3.938 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000879/0.5391, allocations: 1.053 MB / 0.619 GB, free: 2.871 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005555/0.5397, allocations: 440.4 kB / 0.6194 GB, free: 2.438 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007946/0.5405, allocations: 419.3 kB / 0.6198 GB, free: 2.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5406, allocations: 301.1 kB / 0.6201 GB, free: 1.723 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.5422, allocations: 0.8746 MB / 0.621 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/0.5444, allocations: 1.608 MB / 0.6225 GB, free: 14.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/0.548, allocations: 2.352 MB / 0.6248 GB, free: 12.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-05/0.5481, allocations: 8 kB / 0.6248 GB, free: 12.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008778/0.5568, allocations: 3.315 MB / 0.6281 GB, free: 8.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.5569, allocations: 15.28 kB / 0.6281 GB, free: 8.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/0.5569, allocations: 28 kB / 0.6281 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004824/0.5617, allocations: 1.038 MB / 0.6291 GB, free: 7.758 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.5633, allocations: 435.3 kB / 0.6295 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.5743, allocations: 7.057 MB / 0.6364 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.5761, allocations: 95.91 kB / 0.6365 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004227/0.5765, allocations: 120 kB / 0.6366 GB, free: 15.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.5776, allocations: 401.1 kB / 0.637 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005685/0.5781, allocations: 143.1 kB / 0.6372 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/0.5851, allocations: 2.17 MB / 0.6393 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.5852, allocations: 16 kB / 0.6393 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.5852, allocations: 0 / 0.6393 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.5852, allocations: 11.97 kB / 0.6393 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.596, allocations: 3.511 MB / 0.6427 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.596, allocations: 0 / 0.6427 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/0.5968, allocations: 175.8 kB / 0.6429 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00446/0.6012, allocations: 0.935 MB / 0.6438 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.6014, allocations: 43.95 kB / 0.6438 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009185/0.6106, allocations: 6.34 MB / 0.65 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6106, allocations: 4.125 kB / 0.65 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008049/0.6186, allocations: 2.887 MB / 0.6529 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.6192, allocations: 127.1 kB / 0.653 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003851/0.6196, allocations: 24 kB / 0.653 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6206, allocations: 31.98 kB / 0.653 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/0.621, allocations: 116.7 kB / 0.6532 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.6211, allocations: 51.97 kB / 0.6532 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001877/0.623, allocations: 1.252 MB / 0.6544 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.623, allocations: 0 / 0.6544 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003746/0.6268, allocations: 0.9741 MB / 0.6554 GB, free: 12.03 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.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 (90): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,17), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002456/0.6292, allocations: 1.013 MB / 0.6564 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005296/0.6345, allocations: 2.355 MB / 0.6587 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.6345, allocations: 0 / 0.6587 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.637, allocations: 1.103 MB / 0.6597 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.6389, allocations: 228.2 kB / 0.66 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007/0.6459, allocations: 3.206 MB / 0.6631 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.647, allocations: 0.7332 MB / 0.6638 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00128/0.6483, allocations: 327.3 kB / 0.6641 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/0.6488, allocations: 171.3 kB / 0.6643 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of SimCode: time 1.353e-06/0.6488, allocations: 0 / 0.6643 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of Templates: time 0.06116/0.7099, allocations: 38.23 MB / 0.7016 GB, free: 12.65 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.130492188036442] Failed to read output from testmodel.py, exit status != 0: 0.7194979898631573 0.733624718 0.26655906 Calling exit ...