Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.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.000845/0.000845, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008905/0.0008905, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9201/0.9201, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.09546/0.09546, allocations: 17.46 MB / 277.7 MB, free: 11.46 MB / 266.7 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.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 300.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.443e-05, allocations: 2.859 kB / 300.7 MB, free: 1.742 MB / 266.7 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.ElectrolysisMethanation): time 0.03695/0.03697, allocations: 39.9 MB / 340.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0162/0.05317, allocations: 17.1 MB / 357.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.05472, allocations: 39.69 kB / 357.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.05601, allocations: 495.7 kB / 358.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.05947, allocations: 1.822 MB / 360.1 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.06383, allocations: 2.491 MB / 362.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003177/0.06701, allocations: 3.185 MB / 365.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.06879, allocations: 1.684 MB / 367.4 MB, free: 1.512 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.07113, allocations: 2.161 MB / 369.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.07271, allocations: 1.415 MB / 371 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004584/0.07316, allocations: 300 kB / 371.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004052/0.07722, allocations: 1.751 MB / 373.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007499/0.07797, allocations: 0.7126 MB / 373.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.07944, allocations: 1.056 MB / 374.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00889/0.08833, allocations: 4.23 MB / 379.1 MB, free: 5.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.08834, allocations: 0 / 379.1 MB, free: 5.863 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.08834, allocations: 3.938 kB / 379.1 MB, free: 5.859 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.573e-05/0.0884, allocations: 0 / 379.1 MB, free: 5.859 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 609 * Number of variables: 609 Notification: Performance of Generate backend data structure: time 0.005075/0.09348, allocations: 3.038 MB / 382.1 MB, free: 2.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.09351, allocations: 8.031 kB / 382.1 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.09554, allocations: 0.8807 MB / 383 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.09723, allocations: 0.9136 MB / 383.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.09742, allocations: 347.5 kB / 384.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003677/0.09778, allocations: 240.3 kB / 384.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/0.101, allocations: 2.151 MB / 386.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.232e-05/0.101, allocations: 7.938 kB / 386.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.1012, allocations: 96 kB / 386.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.1013, allocations: 60 kB / 386.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.104, allocations: 1.659 MB / 388.5 MB, free: 12.23 MB / 362.7 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.008075/0.112, allocations: 6.832 MB / 395.3 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1131, allocations: 1.193 MB / 396.5 MB, free: 4.012 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.1136, allocations: 480.3 kB / 396.9 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00486/0.1184, allocations: 3.845 MB / 400.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1185, allocations: 59.81 kB / 400.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008188/0.1193, allocations: 278.6 kB / 401.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=134): time 3.577e-06/0.1193, allocations: 0 / 401.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=181): time 0.01496/0.1343, allocations: 6.852 MB / 408 MB, free: 8.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.1343, allocations: 124.8 kB / 408.1 MB, free: 8.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.1354, allocations: 1.172 MB / 409.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.991e-05/0.1354, allocations: 57.7 kB / 409.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.1359, allocations: 1.074 MB / 410.4 MB, free: 5.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/0.1362, allocations: 0.6545 MB / 411.1 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004543/0.1367, allocations: 0.5012 MB / 411.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.1367, allocations: 305.1 kB / 411.9 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.1372, allocations: 349 kB / 412.2 MB, free: 4.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000815/0.138, allocations: 1.3 MB / 413.5 MB, free: 2.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.1397, allocations: 2 MB / 415.5 MB, free: 15.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.1397, allocations: 12 kB / 415.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.003503/0.1432, allocations: 2.178 MB / 417.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1432, allocations: 18.5 kB / 417.7 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.1432, allocations: 32 kB / 417.7 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/0.1459, allocations: 1.013 MB / 418.7 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009852/0.1469, allocations: 0.5772 MB / 419.3 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/0.1511, allocations: 5.627 MB / 425 MB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000858/0.1519, allocations: 107.9 kB / 425.1 MB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.1521, allocations: 136.1 kB / 425.2 MB, free: 5.895 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (305): * Single equations (assignments): 300 * 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 {(3,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 {(1,18), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004406/0.1525, allocations: 291.7 kB / 425.5 MB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.1527, allocations: 151.9 kB / 425.6 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/0.1562, allocations: 1.922 MB / 427.5 MB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.1562, allocations: 20 kB / 427.6 MB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1562, allocations: 4 kB / 427.6 MB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.1562, allocations: 7.969 kB / 427.6 MB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/0.1611, allocations: 2.781 MB / 430.4 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1611, allocations: 4 kB / 430.4 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.1618, allocations: 300 kB / 430.7 MB, free: 324 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/0.1642, allocations: 0.9025 MB / 431.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/0.1643, allocations: 67.95 kB / 431.6 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003524/0.1678, allocations: 5.072 MB / 436.7 MB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1678, allocations: 0 / 436.7 MB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/0.1714, allocations: 2.219 MB / 438.9 MB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.1716, allocations: 142.8 kB / 439.1 MB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.1717, allocations: 40 kB / 439.1 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.1722, allocations: 47.98 kB / 439.1 MB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.1725, allocations: 185.5 kB / 439.3 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-05/0.1725, allocations: 63.95 kB / 439.4 MB, free: 7.211 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004274/0.173, allocations: 0.5335 MB / 439.9 MB, free: 6.668 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.173, allocations: 0 / 439.9 MB, free: 6.668 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002115/0.1751, allocations: 0.9632 MB / 440.9 MB, free: 5.703 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,CH4.logn,CO2.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 (156): * Single equations (assignments): 151 * 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 {(3,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,19), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.1762, allocations: 0.8454 MB / 441.7 MB, free: 4.848 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.1787, allocations: 1.874 MB / 443.6 MB, free: 2.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.68e-05/0.1787, allocations: 31.84 kB / 443.6 MB, free: 2.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009901/0.1797, allocations: 1.035 MB / 444.7 MB, free: 1.824 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008451/0.1805, allocations: 351.8 kB / 445 MB, free: 1.484 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1125/0.293, allocations: 3.581 MB / 448.6 MB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.2934, allocations: 379.3 kB / 449 MB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001151/0.2946, allocations: 418.8 kB / 449.4 MB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008488/0.2954, allocations: 0.5149 MB / 449.9 MB, free: 102.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.833e-06/0.2954, allocations: 0 / 449.9 MB, free: 102.7 MB / 410.7 MB Notification: Performance of Templates: time 0.03964/0.335, allocations: 43.77 MB / 493.6 MB, free: 78.94 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.893181357998401]