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.00134/0.00134, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009428/0.0009428, allocations: 177.4 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.9485/0.9485, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.08961/0.08961, allocations: 17.45 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.323e-06/1.323e-06, allocations: 0 / 300.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.413e-05, allocations: 3.078 kB / 300.8 MB, free: 1.691 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.0362/0.03621, allocations: 39.94 MB / 340.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.051, allocations: 17.1 MB / 357.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.05191, allocations: 39.69 kB / 357.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008318/0.05274, allocations: 499.7 kB / 358.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.05536, allocations: 1.791 MB / 360.1 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.05874, allocations: 2.455 MB / 362.6 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.06087, allocations: 3.193 MB / 365.8 MB, free: 3.207 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.06217, allocations: 1.68 MB / 367.5 MB, free: 1.461 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.06384, allocations: 2.149 MB / 369.6 MB, free: 15.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.06526, allocations: 1.419 MB / 371 MB, free: 13.89 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003716/0.06563, allocations: 292 kB / 371.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/0.06841, allocations: 1.821 MB / 373.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004132/0.06882, allocations: 0.7087 MB / 373.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007459/0.06956, allocations: 1.06 MB / 374.9 MB, free: 10 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.0731, allocations: 4.222 MB / 379.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.07311, allocations: 0 / 379.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.07311, allocations: 0 / 379.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.07313, allocations: 0 / 379.1 MB, free: 5.766 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.002844/0.07598, allocations: 3.03 MB / 382.2 MB, free: 2.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.548e-05/0.076, allocations: 8.031 kB / 382.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.0774, allocations: 0.8924 MB / 383.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.07844, allocations: 0.9057 MB / 384 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.07859, allocations: 347.5 kB / 384.3 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.07881, allocations: 240.3 kB / 384.5 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.08066, allocations: 2.162 MB / 386.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.0807, allocations: 3.938 kB / 386.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.08084, allocations: 96 kB / 386.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.08087, allocations: 60 kB / 386.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.08261, allocations: 1.663 MB / 388.5 MB, free: 12.14 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.006932/0.08954, allocations: 6.832 MB / 395.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.09064, allocations: 1.189 MB / 396.5 MB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/0.09111, allocations: 484.3 kB / 397 MB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004696/0.09581, allocations: 3.849 MB / 400.9 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.09583, allocations: 47.86 kB / 400.9 MB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000555/0.09639, allocations: 286.6 kB / 401.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=134): time 2.795e-06/0.09639, allocations: 0 / 401.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=181): time 0.01507/0.1115, allocations: 6.844 MB / 408 MB, free: 8.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.1115, allocations: 128.8 kB / 408.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007474/0.1123, allocations: 1.172 MB / 409.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.337e-05/0.1123, allocations: 53.7 kB / 409.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.1128, allocations: 1.074 MB / 410.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.1131, allocations: 0.6584 MB / 411.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/0.1135, allocations: 0.5012 MB / 411.6 MB, free: 4.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.1136, allocations: 301.1 kB / 411.9 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.114, allocations: 349 kB / 412.3 MB, free: 4.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008211/0.1149, allocations: 1.3 MB / 413.6 MB, free: 2.273 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.1164, allocations: 2 MB / 415.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.1164, allocations: 8 kB / 415.6 MB, free: 15.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.003628/0.12, allocations: 2.182 MB / 417.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.12, allocations: 20 kB / 417.8 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.1201, allocations: 32 kB / 417.8 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/0.1227, allocations: 1.024 MB / 418.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.1239, allocations: 0.6396 MB / 419.5 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00432/0.1282, allocations: 5.674 MB / 425.1 MB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/0.129, allocations: 111.9 kB / 425.2 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.1291, allocations: 135.9 kB / 425.4 MB, free: 5.676 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.0003965/0.1295, allocations: 287.8 kB / 425.7 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.1298, allocations: 155.8 kB / 425.8 MB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/0.1334, allocations: 1.91 MB / 427.7 MB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.1335, allocations: 20 kB / 427.7 MB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1335, allocations: 4 kB / 427.7 MB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.1335, allocations: 7.969 kB / 427.8 MB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005149/0.1386, allocations: 2.789 MB / 430.5 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1386, allocations: 0 / 430.5 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/0.1394, allocations: 339.6 kB / 430.9 MB, free: 68 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/0.142, allocations: 0.9067 MB / 431.8 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.1421, allocations: 63.95 kB / 431.8 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003521/0.1457, allocations: 5.094 MB / 436.9 MB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1457, allocations: 4 kB / 436.9 MB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003821/0.1495, allocations: 2.219 MB / 439.2 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1496, allocations: 142.8 kB / 439.3 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.1498, allocations: 36.14 kB / 439.3 MB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.1503, allocations: 47.92 kB / 439.4 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.1506, allocations: 185.6 kB / 439.6 MB, free: 7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.311e-05/0.1507, allocations: 71.95 kB / 439.6 MB, free: 6.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003933/0.1511, allocations: 0.5374 MB / 440.2 MB, free: 6.383 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1511, allocations: 0 / 440.2 MB, free: 6.383 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002096/0.1532, allocations: 0.9632 MB / 441.1 MB, free: 5.418 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.001088/0.1543, allocations: 0.8298 MB / 442 MB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.1564, allocations: 1.881 MB / 443.8 MB, free: 2.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-05/0.1565, allocations: 27.84 kB / 443.9 MB, free: 2.625 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.1578, allocations: 1.044 MB / 444.9 MB, free: 1.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/0.1587, allocations: 351.6 kB / 445.3 MB, free: 1.199 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.1143/0.273, allocations: 3.584 MB / 448.8 MB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.2733, allocations: 379.7 kB / 449.2 MB, free: 103.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001044/0.2744, allocations: 410.1 kB / 449.6 MB, free: 103.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008357/0.2752, allocations: 0.5163 MB / 450.1 MB, free: 103.1 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2752, allocations: 2.406 kB / 450.1 MB, free: 103.1 MB / 410.7 MB Notification: Performance of Templates: time 0.03825/0.3134, allocations: 43.77 MB / 493.9 MB, free: 79.22 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9225620040670037]