Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.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.001223/0.001223, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001356/0.001356, allocations: 220.5 kB / 22.25 MB, free: 5.098 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1359/0.1359, allocations: 23.88 MB / 336.3 MB, free: 10.97 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") [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.001989/0.001989, allocations: 63.89 kB / 471.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2782, allocations: 59.86 MB / 0.519 GB, free: 9.75 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.ElectrochemicalAcetateProduction): time 0.07172/0.3499, allocations: 29.74 MB / 0.5481 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03007/0.38, allocations: 21.97 MB / 0.5695 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.382, allocations: 35.69 kB / 0.5696 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.384, allocations: 0.5542 MB / 0.5701 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006053/0.3901, allocations: 1.843 MB / 0.5719 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009525/0.3996, allocations: 3.48 MB / 0.5753 GB, free: 212 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004173/0.4038, allocations: 2.707 MB / 0.5779 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.4058, allocations: 1.434 MB / 0.5793 GB, free: 12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.4075, allocations: 1.278 MB / 0.5806 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.4097, allocations: 1.452 MB / 0.582 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004001/0.4101, allocations: 260 kB / 0.5822 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006512/0.4166, allocations: 2.633 MB / 0.5848 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006786/0.4173, allocations: 0.6076 MB / 0.5854 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.4186, allocations: 1.07 MB / 0.5865 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.4295, allocations: 5.7 MB / 0.592 GB, free: 14.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4296, allocations: 0 / 0.592 GB, free: 14.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4296, allocations: 3.938 kB / 0.592 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.4296, allocations: 0 / 0.592 GB, free: 14.96 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: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.005845/0.4354, allocations: 2.952 MB / 0.5949 GB, free: 11.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4355, allocations: 8.031 kB / 0.5949 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.4376, allocations: 0.5142 MB / 0.5954 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.4399, allocations: 1.223 MB / 0.5966 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.4401, allocations: 283.3 kB / 0.5969 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003616/0.4405, allocations: 216 kB / 0.5971 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004313/0.4448, allocations: 2.737 MB / 0.5998 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/0.4448, allocations: 4 kB / 0.5998 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.445, allocations: 87.94 kB / 0.5999 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-05/0.4451, allocations: 56 kB / 0.5999 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005053/0.4501, allocations: 3.16 MB / 0.603 GB, free: 3.496 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.01366/0.4638, allocations: 7.725 MB / 0.6105 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.4663, allocations: 1.471 MB / 0.612 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.4676, allocations: 0.8263 MB / 0.6128 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009495/0.4771, allocations: 4.35 MB / 0.617 GB, free: 4.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.4771, allocations: 47.5 kB / 0.6171 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009831/0.4781, allocations: 222.8 kB / 0.6173 GB, free: 4.613 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 3.006e-06/0.4781, allocations: 0 / 0.6173 GB, free: 4.613 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.03674/0.5148, allocations: 9.314 MB / 0.6264 GB, free: 11.24 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.5149, allocations: 124.1 kB / 0.6265 GB, free: 11.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.5165, allocations: 1.308 MB / 0.6278 GB, free: 9.777 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.5166, allocations: 49.7 kB / 0.6278 GB, free: 9.723 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007939/0.5174, allocations: 1.092 MB / 0.6289 GB, free: 8.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005485/0.518, allocations: 0.5889 MB / 0.6295 GB, free: 8.023 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007213/0.5187, allocations: 476.6 kB / 0.6299 GB, free: 7.551 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5188, allocations: 305.1 kB / 0.6302 GB, free: 7.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.5203, allocations: 0.852 MB / 0.631 GB, free: 6.395 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.5225, allocations: 1.716 MB / 0.6327 GB, free: 4.273 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/0.5264, allocations: 2.705 MB / 0.6354 GB, free: 1.168 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.5264, allocations: 8 kB / 0.6354 GB, free: 1.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009018/0.5354, allocations: 3.476 MB / 0.6388 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.5354, allocations: 19.94 kB / 0.6388 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/0.5355, allocations: 31.94 kB / 0.6388 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005704/0.5412, allocations: 1.158 MB / 0.6399 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.5429, allocations: 0.5109 MB / 0.6404 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.5533, allocations: 7.198 MB / 0.6475 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.5549, allocations: 111.9 kB / 0.6476 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.5551, allocations: 140 kB / 0.6477 GB, free: 4.152 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (270): * Single equations (assignments): 265 * 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 {(1,20), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007942/0.5559, allocations: 441 kB / 0.6481 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/0.5563, allocations: 162.9 kB / 0.6483 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008328/0.5646, allocations: 2.822 MB / 0.651 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.5646, allocations: 23.94 kB / 0.6511 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5646, allocations: 0 / 0.6511 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.5647, allocations: 11.97 kB / 0.6511 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.5759, allocations: 4.359 MB / 0.6553 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.576, allocations: 4 kB / 0.6553 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.5771, allocations: 263.9 kB / 0.6556 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005055/0.5821, allocations: 1.022 MB / 0.6566 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.5823, allocations: 63.95 kB / 0.6566 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008714/0.591, allocations: 6.503 MB / 0.663 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.591, allocations: 0 / 0.663 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008949/0.6, allocations: 3.654 MB / 0.6666 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.6003, allocations: 135 kB / 0.6667 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.6005, allocations: 39.92 kB / 0.6667 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6016, allocations: 43.98 kB / 0.6668 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/0.6019, allocations: 157 kB / 0.6669 GB, free: 15.97 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.6021, allocations: 71.95 kB / 0.667 GB, free: 15.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.001022/0.6031, allocations: 0.8189 MB / 0.6678 GB, free: 15.08 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/0.6031, allocations: 3.938 kB / 0.6678 GB, free: 15.07 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.003059/0.6062, allocations: 1.114 MB / 0.6689 GB, free: 13.96 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,AcAc.logn,CO2.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 (133): * Single equations (assignments): 128 * 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,21), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001908/0.6081, allocations: 1.16 MB / 0.67 GB, free: 12.79 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.004918/0.613, allocations: 2.579 MB / 0.6725 GB, free: 10.16 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.613, allocations: 0 / 0.6725 GB, free: 10.16 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002441/0.6154, allocations: 1.319 MB / 0.6738 GB, free: 8.805 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.6168, allocations: 264.7 kB / 0.6741 GB, free: 8.547 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/0.623, allocations: 3.685 MB / 0.6777 GB, free: 4.797 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/0.6238, allocations: 0.8267 MB / 0.6785 GB, free: 3.934 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001176/0.625, allocations: 376.9 kB / 0.6788 GB, free: 3.578 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.6255, allocations: 235.2 kB / 0.6791 GB, free: 3.348 MB / 0.5138 GB Notification: Performance of SimCode: time 5.41e-07/0.6255, allocations: 0 / 0.6791 GB, free: 3.348 MB / 0.5138 GB Notification: Performance of Templates: time 0.06631/0.6919, allocations: 44.17 MB / 0.7222 GB, free: 7.41 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.474199506919831] Failed to read output from testmodel.py, exit status != 0: 0.7005252321250737 0.8679462280000001 0.435851772 Calling exit ...