Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 105.5 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07381/0.07381, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 68.11 kB / 425.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/0.08765, allocations: 53.61 MB / 479.5 MB, free: 5.777 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.ClimateChange.ElectrolysisMethanation): time 0.03823/0.1259, allocations: 30.61 MB / 0.4981 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2085/0.3344, allocations: 28.88 MB / 0.5263 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.3358, allocations: 27.78 kB / 0.5264 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.3375, allocations: 0.6876 MB / 0.527 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004753/0.3422, allocations: 2.229 MB / 0.5292 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008804/0.351, allocations: 3.918 MB / 0.533 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002964/0.354, allocations: 3.087 MB / 0.5361 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.3558, allocations: 1.967 MB / 0.538 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.357, allocations: 1.462 MB / 0.5394 GB, free: 5.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.3586, allocations: 1.646 MB / 0.541 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003616/0.3589, allocations: 294.6 kB / 0.5413 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008009/0.3669, allocations: 3.144 MB / 0.5444 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.3673, allocations: 0.6865 MB / 0.545 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009215/0.3683, allocations: 1.438 MB / 0.5464 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008996/0.3773, allocations: 6.351 MB / 0.5526 GB, free: 11.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3773, allocations: 4 kB / 0.5526 GB, free: 11.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3773, allocations: 0 / 0.5526 GB, free: 11.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.5e-05/0.3773, allocations: 0 / 0.5526 GB, free: 11.72 MB / 398.1 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.005541/0.3829, allocations: 3.326 MB / 0.5559 GB, free: 8.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3829, allocations: 8.031 kB / 0.5559 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.3851, allocations: 0.5697 MB / 0.5565 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.3872, allocations: 1.408 MB / 0.5578 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.3874, allocations: 270.4 kB / 0.5581 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003552/0.3878, allocations: 246.5 kB / 0.5583 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004498/0.3923, allocations: 3.031 MB / 0.5613 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.3923, allocations: 0 / 0.5613 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.3925, allocations: 98.56 kB / 0.5614 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/0.3926, allocations: 60 kB / 0.5614 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005068/0.3977, allocations: 3.607 MB / 0.565 GB, free: 14.91 MB / 414.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.01435/0.412, allocations: 10.41 MB / 0.5751 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.4149, allocations: 2.255 MB / 0.5773 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.4164, allocations: 1.116 MB / 0.5784 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.4281, allocations: 8.737 MB / 0.5869 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.4282, allocations: 50.48 kB / 0.587 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001088/0.4293, allocations: 268.6 kB / 0.5873 GB, free: 6.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 5.601e-06/0.4293, allocations: 3.938 kB / 0.5873 GB, free: 6.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=181): time 0.03548/0.4648, allocations: 9.707 MB / 0.5967 GB, free: 13.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.4649, allocations: 131.4 kB / 0.5969 GB, free: 12.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.4668, allocations: 1.458 MB / 0.5983 GB, free: 11.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.467, allocations: 57.7 kB / 0.5983 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007349/0.4677, allocations: 1.147 MB / 0.5995 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005564/0.4683, allocations: 0.6317 MB / 0.6001 GB, free: 9.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007698/0.4691, allocations: 0.5129 MB / 0.6006 GB, free: 9.043 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.4692, allocations: 307.7 kB / 0.6009 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.4709, allocations: 0.9423 MB / 0.6018 GB, free: 7.797 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/0.4732, allocations: 1.896 MB / 0.6036 GB, free: 5.488 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004159/0.4774, allocations: 2.995 MB / 0.6066 GB, free: 2.129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/0.4774, allocations: 8 kB / 0.6066 GB, free: 2.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01036/0.4878, allocations: 3.895 MB / 0.6104 GB, free: 14.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.4878, allocations: 19.94 kB / 0.6104 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.377e-05/0.4879, allocations: 32 kB / 0.6104 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005325/0.4932, allocations: 1.177 MB / 0.6116 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.4954, allocations: 0.5811 MB / 0.6121 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009881/0.5053, allocations: 7.51 MB / 0.6195 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.5074, allocations: 109.1 kB / 0.6196 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/0.5078, allocations: 163.9 kB / 0.6197 GB, free: 4.254 MB / 462.1 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.001098/0.5089, allocations: 483.5 kB / 0.6202 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/0.5094, allocations: 177.8 kB / 0.6204 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009852/0.5193, allocations: 3.262 MB / 0.6236 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/0.5193, allocations: 7.969 kB / 0.6236 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5193, allocations: 0 / 0.6236 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.5197, allocations: 226.8 kB / 0.6238 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/0.5201, allocations: 40 kB / 0.6238 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.5213, allocations: 42.64 kB / 0.6239 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/0.5217, allocations: 177.7 kB / 0.624 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007221/0.5289, allocations: 2.861 MB / 0.6268 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005101/0.534, allocations: 3.366 MB / 0.6301 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001388/0.5354, allocations: 0.894 MB / 0.631 GB, free: 8.773 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001279/0.5367, allocations: 0.9623 MB / 0.6319 GB, free: 7.812 MB / 478.1 MB Notification: Performance of Backend: time 3.91e-07/0.5367, allocations: 3.938 kB / 0.6319 GB, free: 7.809 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008918/0.5456, allocations: 3.99 MB / 0.6358 GB, free: 3.816 MB / 478.1 MB Notification: Performance of SimCode: time 0.006574/0.5522, allocations: 4.388 MB / 0.6401 GB, free: 15.39 MB / 494.1 MB Notification: Performance of Templates: time 0.07477/0.627, allocations: 53.47 MB / 0.6923 GB, free: 10.16 MB / 0.5294 GB make -j1 -f Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.makefile (rm -f Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1)