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.001324/0.001324, allocations: 116.5 kB / 17.13 MB, free: 5.945 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.001362/0.001362, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1398/0.1398, allocations: 23.9 MB / 333.4 MB, free: 1.172 MB / 254.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.002106/0.002106, allocations: 74.23 kB / 467.2 MB, free: 30.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09515, allocations: 59.83 MB / 0.5147 GB, free: 12.39 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.04442/0.1396, allocations: 30.3 MB / 0.5443 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02854/0.1681, allocations: 22.16 MB / 0.5659 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.1695, allocations: 27.81 kB / 0.566 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.1712, allocations: 0.5816 MB / 0.5665 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.1749, allocations: 1.35 MB / 0.5679 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008811/0.1838, allocations: 3.312 MB / 0.5711 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003972/0.1877, allocations: 2.394 MB / 0.5734 GB, free: 176 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.1897, allocations: 1.286 MB / 0.5747 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.1911, allocations: 1.063 MB / 0.5757 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.1928, allocations: 1.222 MB / 0.5769 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000353/0.1932, allocations: 232 kB / 0.5771 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006995/0.2002, allocations: 2.379 MB / 0.5795 GB, free: 9.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008107/0.201, allocations: 0.5374 MB / 0.58 GB, free: 9.395 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.2024, allocations: 1.132 MB / 0.5811 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.2137, allocations: 5.031 MB / 0.586 GB, free: 3.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2137, allocations: 0 / 0.586 GB, free: 3.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2137, allocations: 4 kB / 0.586 GB, free: 3.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.182e-05/0.2137, allocations: 0 / 0.586 GB, free: 3.203 MB / 446.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.005765/0.2195, allocations: 2.727 MB / 0.5887 GB, free: 424 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2195, allocations: 15.97 kB / 0.5887 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2206/0.4402, allocations: 0.5057 MB / 0.5892 GB, free: 64.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.4426, allocations: 1.207 MB / 0.5904 GB, free: 63.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.4428, allocations: 203.6 kB / 0.5906 GB, free: 63.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.4431, allocations: 188 kB / 0.5907 GB, free: 63.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004291/0.4474, allocations: 2.651 MB / 0.5933 GB, free: 62.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.4475, allocations: 11.66 kB / 0.5933 GB, free: 62.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.4476, allocations: 80.91 kB / 0.5934 GB, free: 62.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.4477, allocations: 47.16 kB / 0.5935 GB, free: 62.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00485/0.4525, allocations: 3.285 MB / 0.5967 GB, free: 61.5 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.01201/0.4645, allocations: 8.524 MB / 0.605 GB, free: 56.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.4664, allocations: 1.258 MB / 0.6062 GB, free: 55.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009066/0.4673, allocations: 0.5936 MB / 0.6068 GB, free: 55.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00763/0.4749, allocations: 5.596 MB / 0.6123 GB, free: 51.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.475, allocations: 42.66 kB / 0.6123 GB, free: 51.07 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009097/0.4759, allocations: 203.3 kB / 0.6125 GB, free: 50.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 3.046e-06/0.4759, allocations: 0 / 0.6125 GB, free: 50.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=115): time 0.02681/0.5027, allocations: 7.237 MB / 0.6196 GB, free: 47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.5027, allocations: 118.3 kB / 0.6197 GB, free: 46.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.5045, allocations: 1.852 MB / 0.6215 GB, free: 45.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.5047, allocations: 46.48 kB / 0.6215 GB, free: 45.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.5051, allocations: 1.037 MB / 0.6225 GB, free: 44.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.5054, allocations: 440.7 kB / 0.623 GB, free: 44.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005615/0.506, allocations: 424.4 kB / 0.6234 GB, free: 44.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.506, allocations: 301.1 kB / 0.6236 GB, free: 44.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.5071, allocations: 0.8532 MB / 0.6245 GB, free: 43.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.5086, allocations: 1.583 MB / 0.626 GB, free: 42.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.5111, allocations: 2.337 MB / 0.6283 GB, free: 40.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.5111, allocations: 8 kB / 0.6283 GB, free: 40.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.007265/0.5183, allocations: 3.302 MB / 0.6315 GB, free: 36.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.5184, allocations: 18.66 kB / 0.6316 GB, free: 36.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.5184, allocations: 24 kB / 0.6316 GB, free: 36.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004543/0.5229, allocations: 1.026 MB / 0.6326 GB, free: 35.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.5244, allocations: 435.3 kB / 0.633 GB, free: 35.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00805/0.5324, allocations: 7.482 MB / 0.6403 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.5343, allocations: 94.53 kB / 0.6404 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.5345, allocations: 116 kB / 0.6405 GB, free: 27.33 MB / 446.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.0006975/0.5352, allocations: 403.7 kB / 0.6409 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.5355, allocations: 156.7 kB / 0.641 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006228/0.5418, allocations: 2.18 MB / 0.6432 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5418, allocations: 21.52 kB / 0.6432 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5418, allocations: 0 / 0.6432 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.5418, allocations: 11.97 kB / 0.6432 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008763/0.5506, allocations: 3.937 MB / 0.647 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.5506, allocations: 2.562 kB / 0.6471 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/0.5513, allocations: 175.8 kB / 0.6472 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004246/0.5555, allocations: 0.9211 MB / 0.6481 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.5557, allocations: 47.95 kB / 0.6482 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006745/0.5624, allocations: 6.77 MB / 0.6548 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5624, allocations: 4.031 kB / 0.6548 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00663/0.569, allocations: 2.901 MB / 0.6576 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.5694, allocations: 220.1 kB / 0.6578 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.5696, allocations: 30.56 kB / 0.6579 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009408/0.5706, allocations: 31.98 kB / 0.6579 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.5709, allocations: 107.5 kB / 0.658 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.589e-05/0.571, allocations: 54.62 kB / 0.658 GB, free: 8.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001159/0.5722, allocations: 1.306 MB / 0.6593 GB, free: 7.609 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5722, allocations: 3 kB / 0.6593 GB, free: 7.609 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002776/0.5749, allocations: 0.9741 MB / 0.6603 GB, free: 6.633 MB / 446.1 MB 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.001623/0.5766, allocations: 1.017 MB / 0.6613 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004086/0.5806, allocations: 2.411 MB / 0.6636 GB, free: 3.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.5806, allocations: 4 kB / 0.6636 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.5825, allocations: 1.171 MB / 0.6648 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.5842, allocations: 234.5 kB / 0.665 GB, free: 1.879 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005489/0.5896, allocations: 3.273 MB / 0.6682 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.5908, allocations: 1.305 MB / 0.6695 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.5914, allocations: 222.1 kB / 0.6697 GB, free: 13.14 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5914, allocations: 3.938 kB / 0.6697 GB, free: 13.14 MB / 462.1 MB Notification: Performance of Templates: time 0.08257/0.674, allocations: 65.48 MB / 0.7336 GB, free: 12.28 MB / 0.5137 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 os._exit(0), Time elapsed: 11.142333158000838] Failed to read output from testmodel.py, exit status != 0: 0.6826788919861428 0.697179168 0.48033303899999996 Calling exit ...