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.001303/0.001303, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001583/0.001583, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.789 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.1397/0.1397, allocations: 24 MB / 336.4 MB, free: 10.84 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.002166/0.002166, allocations: 68.19 kB / 471.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2936, allocations: 59.9 MB / 0.5192 GB, free: 9.707 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.07194/0.3655, allocations: 29.85 MB / 0.5484 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.032/0.3975, allocations: 21.97 MB / 0.5698 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.3996, allocations: 31.75 kB / 0.5699 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.4017, allocations: 0.5504 MB / 0.5704 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005973/0.4077, allocations: 1.851 MB / 0.5722 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009568/0.4173, allocations: 3.48 MB / 0.5756 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004166/0.4214, allocations: 2.707 MB / 0.5783 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.4236, allocations: 1.399 MB / 0.5796 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.4256, allocations: 1.282 MB / 0.5809 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002241/0.4278, allocations: 1.276 MB / 0.5821 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006739/0.4285, allocations: 260 kB / 0.5824 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006855/0.4353, allocations: 2.566 MB / 0.5849 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008488/0.4362, allocations: 0.6037 MB / 0.5855 GB, free: 5.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.4379, allocations: 1.074 MB / 0.5865 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.4492, allocations: 5.708 MB / 0.5921 GB, free: 14.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4492, allocations: 0 / 0.5921 GB, free: 14.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4492, allocations: 0 / 0.5921 GB, free: 14.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001077/0.4493, allocations: 4 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.006654/0.4559, allocations: 2.954 MB / 0.595 GB, free: 11.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.456, allocations: 12.03 kB / 0.595 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.4582, allocations: 0.5181 MB / 0.5955 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.4607, allocations: 1.215 MB / 0.5967 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.461, allocations: 275.4 kB / 0.5969 GB, free: 9.781 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003672/0.4613, allocations: 220 kB / 0.5972 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004471/0.4658, allocations: 2.741 MB / 0.5998 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/0.4659, allocations: 3.938 kB / 0.5998 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.4661, allocations: 92 kB / 0.5999 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.4661, allocations: 59.94 kB / 0.6 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005112/0.4712, allocations: 3.16 MB / 0.6031 GB, free: 3.391 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.01372/0.485, allocations: 7.748 MB / 0.6106 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/0.4874, allocations: 1.447 MB / 0.612 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.4888, allocations: 0.8263 MB / 0.6128 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009421/0.4982, allocations: 4.346 MB / 0.6171 GB, free: 4.789 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.4982, allocations: 51.55 kB / 0.6171 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000949/0.4992, allocations: 222.8 kB / 0.6174 GB, free: 4.512 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 3.307e-06/0.4992, allocations: 0 / 0.6174 GB, free: 4.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.03481/0.534, allocations: 9.31 MB / 0.6264 GB, free: 11.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/0.5341, allocations: 128.1 kB / 0.6266 GB, free: 10.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.5358, allocations: 1.308 MB / 0.6278 GB, free: 9.672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001943/0.536, allocations: 49.7 kB / 0.6279 GB, free: 9.617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008439/0.5368, allocations: 1.092 MB / 0.629 GB, free: 8.512 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005783/0.5374, allocations: 0.585 MB / 0.6295 GB, free: 7.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000708/0.5381, allocations: 476.6 kB / 0.63 GB, free: 7.449 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5382, allocations: 305.1 kB / 0.6303 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.5397, allocations: 0.8519 MB / 0.6311 GB, free: 6.293 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.542, allocations: 1.716 MB / 0.6328 GB, free: 4.172 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003979/0.546, allocations: 2.697 MB / 0.6354 GB, free: 1.074 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/0.546, allocations: 12 kB / 0.6354 GB, free: 1.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.008758/0.5548, allocations: 3.464 MB / 0.6388 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.5548, allocations: 20.53 kB / 0.6388 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/0.5548, allocations: 28 kB / 0.6389 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005276/0.5601, allocations: 1.167 MB / 0.64 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.562, allocations: 0.507 MB / 0.6405 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.5726, allocations: 7.191 MB / 0.6475 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.5745, allocations: 111.8 kB / 0.6476 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/0.5748, allocations: 140 kB / 0.6478 GB, free: 4.07 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.0008965/0.5757, allocations: 456.9 kB / 0.6482 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003672/0.576, allocations: 155 kB / 0.6483 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007886/0.5839, allocations: 2.822 MB / 0.6511 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.5839, allocations: 23.88 kB / 0.6511 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.584, allocations: 4 kB / 0.6511 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/0.584, allocations: 7.969 kB / 0.6511 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.5951, allocations: 4.366 MB / 0.6554 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.5951, allocations: 4 kB / 0.6554 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.5962, allocations: 255.6 kB / 0.6556 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004787/0.601, allocations: 1.03 MB / 0.6566 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.6012, allocations: 67.95 kB / 0.6567 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0088/0.61, allocations: 6.489 MB / 0.663 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.61, allocations: 4 kB / 0.6631 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008765/0.6188, allocations: 3.662 MB / 0.6666 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/0.6191, allocations: 135 kB / 0.6668 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.6193, allocations: 39.94 kB / 0.6668 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009503/0.6203, allocations: 39.98 kB / 0.6668 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003617/0.6206, allocations: 153.2 kB / 0.667 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.6208, allocations: 75.95 kB / 0.6671 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001077/0.6219, allocations: 0.8228 MB / 0.6679 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6219, allocations: 3.938 kB / 0.6679 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003325/0.6252, allocations: 1.111 MB / 0.6689 GB, free: 13.86 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.002298/0.6275, allocations: 1.16 MB / 0.6701 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005512/0.633, allocations: 2.574 MB / 0.6726 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.633, allocations: 0 / 0.6726 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002615/0.6356, allocations: 1.308 MB / 0.6739 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.6372, allocations: 273.1 kB / 0.6741 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006784/0.644, allocations: 3.701 MB / 0.6777 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/0.6449, allocations: 0.8189 MB / 0.6785 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001326/0.6462, allocations: 382.1 kB / 0.6789 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/0.6468, allocations: 227.3 kB / 0.6791 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of SimCode: time 7.42e-07/0.6468, allocations: 4 kB / 0.6791 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of Templates: time 0.0681/0.7149, allocations: 43.45 MB / 0.7216 GB, free: 8.039 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: 6.590975619852543] Failed to read output from testmodel.py, exit status != 0: 0.7239418365061283 0.900788527 0.44901782700000004 Calling exit ...