Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001415/0.001415, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001643/0.001643, allocations: 215.9 kB / 22.24 MB, free: 5.258 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.801 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.1496/0.1496, allocations: 23.92 MB / 336.3 MB, free: 11.03 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.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002118/0.002118, allocations: 67.89 kB / 471.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3953, allocations: 59.87 MB / 0.5191 GB, free: 9.77 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.ElectrochemicalAcetateProduction): time 0.07716/0.4724, allocations: 29.73 MB / 0.5481 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03301/0.5054, allocations: 21.98 MB / 0.5696 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.5074, allocations: 31.75 kB / 0.5696 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.5094, allocations: 0.5503 MB / 0.5702 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006468/0.5159, allocations: 1.851 MB / 0.572 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.5265, allocations: 3.472 MB / 0.5754 GB, free: 116 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004779/0.5313, allocations: 2.711 MB / 0.578 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.5336, allocations: 1.43 MB / 0.5794 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.5359, allocations: 1.282 MB / 0.5807 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002687/0.5386, allocations: 1.444 MB / 0.5821 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007077/0.5393, allocations: 260 kB / 0.5823 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007903/0.5472, allocations: 2.625 MB / 0.5849 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.5482, allocations: 0.6154 MB / 0.5855 GB, free: 5.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002114/0.5503, allocations: 1.074 MB / 0.5865 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.5639, allocations: 5.696 MB / 0.5921 GB, free: 14.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.5639, allocations: 8 kB / 0.5921 GB, free: 14.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5639, allocations: 0 / 0.5921 GB, free: 14.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001388/0.564, allocations: 3.938 kB / 0.5921 GB, free: 14.87 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.007548/0.5716, allocations: 2.948 MB / 0.595 GB, free: 11.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5716, allocations: 12.02 kB / 0.595 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/0.5742, allocations: 0.5181 MB / 0.5955 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.5775, allocations: 1.227 MB / 0.5967 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.5778, allocations: 275.4 kB / 0.597 GB, free: 9.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005258/0.5784, allocations: 219.9 kB / 0.5972 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00626/0.5846, allocations: 2.733 MB / 0.5998 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.851e-05/0.5847, allocations: 8 kB / 0.5999 GB, free: 6.699 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.5849, allocations: 84 kB / 0.5999 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.036e-05/0.585, allocations: 56 kB / 0.6 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005607/0.5906, allocations: 3.156 MB / 0.6031 GB, free: 3.402 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.0161/0.6067, allocations: 7.737 MB / 0.6106 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.6094, allocations: 1.463 MB / 0.6121 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.6108, allocations: 0.8224 MB / 0.6129 GB, free: 9.176 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.6215, allocations: 4.349 MB / 0.6171 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/0.6215, allocations: 51.48 kB / 0.6172 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001169/0.6227, allocations: 218.8 kB / 0.6174 GB, free: 4.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 5.41e-06/0.6227, allocations: 0 / 0.6174 GB, free: 4.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.04153/0.6642, allocations: 9.314 MB / 0.6265 GB, free: 11.15 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.6643, allocations: 120.1 kB / 0.6266 GB, free: 11.01 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.6661, allocations: 1.316 MB / 0.6279 GB, free: 9.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.6663, allocations: 49.7 kB / 0.6279 GB, free: 9.625 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008695/0.6672, allocations: 1.092 MB / 0.629 GB, free: 8.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006402/0.6678, allocations: 0.585 MB / 0.6295 GB, free: 7.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007561/0.6686, allocations: 472.6 kB / 0.63 GB, free: 7.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6687, allocations: 305.1 kB / 0.6303 GB, free: 7.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.6703, allocations: 0.8519 MB / 0.6311 GB, free: 6.305 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.6727, allocations: 1.716 MB / 0.6328 GB, free: 4.184 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004263/0.6769, allocations: 2.705 MB / 0.6354 GB, free: 1.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/0.677, allocations: 8 kB / 0.6354 GB, free: 1.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009888/0.6868, allocations: 3.472 MB / 0.6388 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.6869, allocations: 16 kB / 0.6388 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.635e-05/0.6869, allocations: 32 kB / 0.6389 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006175/0.6931, allocations: 1.166 MB / 0.64 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/0.6953, allocations: 0.5109 MB / 0.6405 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.7068, allocations: 7.199 MB / 0.6475 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.7088, allocations: 107.9 kB / 0.6476 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/0.7091, allocations: 144 kB / 0.6478 GB, free: 4.059 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.0009847/0.7101, allocations: 445 kB / 0.6482 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004292/0.7105, allocations: 158.9 kB / 0.6484 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008888/0.7194, allocations: 2.829 MB / 0.6511 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.7194, allocations: 19.94 kB / 0.6511 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7194, allocations: 4 kB / 0.6511 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.7195, allocations: 11.97 kB / 0.6512 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.732, allocations: 4.355 MB / 0.6554 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.732, allocations: 8.031 kB / 0.6554 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.7333, allocations: 259.6 kB / 0.6557 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005638/0.7389, allocations: 1.032 MB / 0.6567 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/0.7391, allocations: 67.94 kB / 0.6567 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009663/0.7488, allocations: 6.485 MB / 0.6631 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7488, allocations: 4.031 kB / 0.6631 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009921/0.7587, allocations: 3.65 MB / 0.6666 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.7592, allocations: 139 kB / 0.6668 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/0.7595, allocations: 39.94 kB / 0.6668 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.7606, allocations: 43.98 kB / 0.6669 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004002/0.761, allocations: 149.1 kB / 0.667 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.7611, allocations: 71.95 kB / 0.6671 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001092/0.7622, allocations: 0.8267 MB / 0.6679 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7622, allocations: 0 / 0.6679 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00356/0.7658, allocations: 1.111 MB / 0.669 GB, free: 13.87 MB / 0.5137 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.002352/0.7681, allocations: 1.156 MB / 0.6701 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005615/0.7737, allocations: 2.587 MB / 0.6726 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7737, allocations: 0 / 0.6726 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00274/0.7765, allocations: 1.312 MB / 0.6739 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.7781, allocations: 275.9 kB / 0.6742 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007015/0.7852, allocations: 3.693 MB / 0.6778 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009663/0.7861, allocations: 0.8228 MB / 0.6786 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00144/0.7876, allocations: 380.7 kB / 0.6789 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/0.7881, allocations: 227.3 kB / 0.6791 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of SimCode: time 9.11e-07/0.7881, allocations: 0 / 0.6791 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of Templates: time 0.0709/0.859, allocations: 44.17 MB / 0.7223 GB, free: 7.324 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.237109506968409] Failed to read output from testmodel.py, exit status != 0: 0.8688521264120936 1.068971218 0.502177085 Calling exit ...