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.001593/0.001593, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001419/0.001419, allocations: 204.7 kB / 23 MB, free: 4.934 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1373/0.1373, allocations: 23.93 MB / 337.1 MB, free: 10.92 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.002039/0.002039, allocations: 64.12 kB / 472.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2862, allocations: 59.89 MB / 0.5199 GB, free: 9.75 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.07516/0.3614, allocations: 29.2 MB / 0.5484 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02736/0.3887, allocations: 19.46 MB / 0.5674 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.3903, allocations: 35.75 kB / 0.5674 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.3919, allocations: 0.5211 MB / 0.5679 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.3959, allocations: 1.318 MB / 0.5692 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009557/0.4054, allocations: 3.344 MB / 0.5725 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004012/0.4095, allocations: 2.403 MB / 0.5748 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.4113, allocations: 1.267 MB / 0.576 GB, free: 160 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.4128, allocations: 1.063 MB / 0.5771 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.4147, allocations: 1.222 MB / 0.5783 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004239/0.4151, allocations: 236 kB / 0.5785 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006062/0.4212, allocations: 2.277 MB / 0.5807 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00077/0.422, allocations: 0.5414 MB / 0.5813 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.4233, allocations: 0.9609 MB / 0.5822 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.434, allocations: 5.007 MB / 0.5871 GB, free: 4.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.434, allocations: 0 / 0.5871 GB, free: 4.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.434, allocations: 0 / 0.5871 GB, free: 4.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.037e-05/0.4341, allocations: 0 / 0.5871 GB, free: 4.816 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.005161/0.4392, allocations: 2.659 MB / 0.5897 GB, free: 2.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4393, allocations: 8.031 kB / 0.5897 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.4413, allocations: 0.5142 MB / 0.5902 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.4436, allocations: 1.137 MB / 0.5913 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/0.4438, allocations: 262.9 kB / 0.5916 GB, free: 140 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003501/0.4442, allocations: 184 kB / 0.5917 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004423/0.4486, allocations: 2.715 MB / 0.5944 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/0.4486, allocations: 0 / 0.5944 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.4488, allocations: 80 kB / 0.5945 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.4489, allocations: 52 kB / 0.5945 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005044/0.4539, allocations: 3.314 MB / 0.5977 GB, free: 9.723 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.01263/0.4665, allocations: 7.289 MB / 0.6049 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.4686, allocations: 1.101 MB / 0.6059 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009946/0.4696, allocations: 0.5872 MB / 0.6065 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00798/0.4775, allocations: 3.395 MB / 0.6098 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.4776, allocations: 47.16 kB / 0.6099 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007979/0.4784, allocations: 186.9 kB / 0.61 GB, free: 12.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.815e-06/0.4784, allocations: 4 kB / 0.6101 GB, free: 12.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.02718/0.5056, allocations: 6.909 MB / 0.6168 GB, free: 5.922 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.5056, allocations: 119.9 kB / 0.6169 GB, free: 5.781 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.508, allocations: 1.831 MB / 0.6187 GB, free: 3.938 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.5082, allocations: 45.7 kB / 0.6187 GB, free: 3.887 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000797/0.509, allocations: 1.041 MB / 0.6198 GB, free: 2.832 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004366/0.5094, allocations: 440.4 kB / 0.6202 GB, free: 2.398 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006312/0.51, allocations: 415.3 kB / 0.6206 GB, free: 1.984 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5102, allocations: 313 kB / 0.6209 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.5116, allocations: 0.8707 MB / 0.6217 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.5137, allocations: 1.612 MB / 0.6233 GB, free: 14.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003419/0.5172, allocations: 2.352 MB / 0.6256 GB, free: 12.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.5172, allocations: 8 kB / 0.6256 GB, free: 12.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008471/0.5257, allocations: 3.312 MB / 0.6288 GB, free: 8.812 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.5257, allocations: 16 kB / 0.6289 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.171e-05/0.5257, allocations: 24 kB / 0.6289 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004885/0.5306, allocations: 1.041 MB / 0.6299 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.5322, allocations: 427.4 kB / 0.6303 GB, free: 7.301 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.5427, allocations: 7.054 MB / 0.6372 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.5444, allocations: 95.91 kB / 0.6373 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/0.5446, allocations: 120 kB / 0.6374 GB, free: 15.7 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.0008238/0.5454, allocations: 405.1 kB / 0.6378 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/0.5458, allocations: 143.2 kB / 0.6379 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006688/0.5525, allocations: 2.171 MB / 0.64 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.5525, allocations: 7.984 kB / 0.64 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5525, allocations: 4 kB / 0.6401 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.5528, allocations: 123.1 kB / 0.6402 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.553, allocations: 27.94 kB / 0.6402 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008209/0.5538, allocations: 35.92 kB / 0.6402 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.5541, allocations: 116.8 kB / 0.6403 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005434/0.5595, allocations: 2.076 MB / 0.6424 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003598/0.5631, allocations: 2.291 MB / 0.6446 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009067/0.564, allocations: 0.5192 MB / 0.6451 GB, free: 7.719 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00159/0.5656, allocations: 1.252 MB / 0.6463 GB, free: 6.461 MB / 494.1 MB Notification: Performance of Backend: time 1.61e-07/0.5656, allocations: 0 / 0.6463 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007295/0.5729, allocations: 3.214 MB / 0.6495 GB, free: 3.199 MB / 494.1 MB Notification: Performance of SimCode: time 0.00558/0.5785, allocations: 3.729 MB / 0.6531 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.07062/0.6491, allocations: 46.01 MB / 0.698 GB, free: 1.504 MB / 0.5294 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: 6.383065104018897] Failed to read output from testmodel.py, exit status != 0: 0.658475661999546 0.673780379 0.236485407 Calling exit ...