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.001312/0.001312, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001503/0.001503, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.809 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.1372/0.1372, allocations: 23.89 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrochemicalAcetateProduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrochemicalAcetateProduction",fmuType="me",version="2.0",platforms={"static"}) [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.002263/0.002263, allocations: 71.89 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3406, allocations: 59.85 MB / 0.5185 GB, free: 9.535 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.0785/0.4191, allocations: 29.86 MB / 0.5477 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03392/0.453, allocations: 21.97 MB / 0.5692 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.4553, allocations: 35.75 kB / 0.5692 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.4573, allocations: 0.5531 MB / 0.5697 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007336/0.4647, allocations: 1.843 MB / 0.5715 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01183/0.4765, allocations: 3.48 MB / 0.5749 GB, free: 120 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00454/0.481, allocations: 2.699 MB / 0.5776 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.4835, allocations: 1.407 MB / 0.5789 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.4857, allocations: 1.274 MB / 0.5802 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/0.4884, allocations: 1.288 MB / 0.5814 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006951/0.4891, allocations: 264 kB / 0.5817 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00828/0.4973, allocations: 2.562 MB / 0.5842 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.4985, allocations: 0.6037 MB / 0.5848 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.5005, allocations: 1.078 MB / 0.5858 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.5139, allocations: 5.696 MB / 0.5914 GB, free: 15.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.5139, allocations: 0 / 0.5914 GB, free: 15.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5139, allocations: 0 / 0.5914 GB, free: 15.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.558e-05/0.514, allocations: 4 kB / 0.5914 GB, free: 15.14 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.006801/0.5208, allocations: 2.952 MB / 0.5943 GB, free: 12.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.5208, allocations: 8.031 kB / 0.5943 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005244/0.5214, allocations: 308 kB / 0.5946 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.5239, allocations: 0.5103 MB / 0.5951 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.5273, allocations: 1.223 MB / 0.5963 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002981/0.5276, allocations: 275.2 kB / 0.5965 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005892/0.5282, allocations: 223.9 kB / 0.5968 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006027/0.5342, allocations: 2.733 MB / 0.5994 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/0.5343, allocations: 0 / 0.5994 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.5345, allocations: 92 kB / 0.5995 GB, free: 6.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/0.5345, allocations: 56 kB / 0.5996 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005841/0.5404, allocations: 3.16 MB / 0.6027 GB, free: 3.371 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.01667/0.557, allocations: 8.005 MB / 0.6105 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.5599, allocations: 1.455 MB / 0.6119 GB, free: 9.707 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.5613, allocations: 0.829 MB / 0.6127 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/0.5723, allocations: 4.358 MB / 0.617 GB, free: 4.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.418e-05/0.5724, allocations: 51.48 kB / 0.617 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001239/0.5736, allocations: 230.7 kB / 0.6172 GB, free: 4.195 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 7.124e-06/0.5736, allocations: 0 / 0.6172 GB, free: 4.195 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.03775/0.6114, allocations: 9.318 MB / 0.6263 GB, free: 10.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.6115, allocations: 120.1 kB / 0.6264 GB, free: 10.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.6135, allocations: 1.407 MB / 0.6278 GB, free: 9.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003329/0.6138, allocations: 49.7 kB / 0.6279 GB, free: 9.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009652/0.6148, allocations: 1.092 MB / 0.6289 GB, free: 8.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007305/0.6155, allocations: 0.5888 MB / 0.6295 GB, free: 7.496 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007695/0.6163, allocations: 468.6 kB / 0.6299 GB, free: 7.031 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6164, allocations: 309.1 kB / 0.6302 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.6182, allocations: 0.8558 MB / 0.6311 GB, free: 5.867 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/0.621, allocations: 1.716 MB / 0.6328 GB, free: 3.746 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004735/0.6258, allocations: 2.701 MB / 0.6354 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.43e-05/0.6258, allocations: 8 kB / 0.6354 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01025/0.6361, allocations: 3.484 MB / 0.6388 GB, free: 13.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.6361, allocations: 23.94 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.735e-05/0.6362, allocations: 28 kB / 0.6389 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005775/0.6419, allocations: 1.162 MB / 0.64 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.644, allocations: 0.5109 MB / 0.6405 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.6553, allocations: 7.257 MB / 0.6476 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.6575, allocations: 107.9 kB / 0.6477 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004156/0.6579, allocations: 140 kB / 0.6478 GB, free: 3.523 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.001079/0.659, allocations: 444.9 kB / 0.6482 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006868/0.6597, allocations: 170.9 kB / 0.6484 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008611/0.6683, allocations: 2.843 MB / 0.6512 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.707e-05/0.6683, allocations: 16 kB / 0.6512 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.6683, allocations: 4 kB / 0.6512 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.431e-05/0.6683, allocations: 8.016 kB / 0.6512 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.6814, allocations: 4.571 MB / 0.6557 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.6814, allocations: 7.984 kB / 0.6557 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.6826, allocations: 259.9 kB / 0.6559 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005051/0.6877, allocations: 1.03 MB / 0.6569 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/0.6879, allocations: 67.95 kB / 0.657 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009522/0.6975, allocations: 6.56 MB / 0.6634 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6975, allocations: 12.09 kB / 0.6634 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009583/0.707, allocations: 3.654 MB / 0.667 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.7076, allocations: 154.8 kB / 0.6671 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002987/0.7079, allocations: 36 kB / 0.6672 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.7089, allocations: 43.92 kB / 0.6672 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003926/0.7093, allocations: 153 kB / 0.6673 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/0.7094, allocations: 75.89 kB / 0.6674 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001298/0.7107, allocations: 0.8921 MB / 0.6683 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.7107, allocations: 0 / 0.6683 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004003/0.7147, allocations: 1.107 MB / 0.6694 GB, free: 12.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.01223/0.727, allocations: 5.274 MB / 0.6745 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005976/0.733, allocations: 2.579 MB / 0.677 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.733, allocations: 0 / 0.677 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002879/0.7358, allocations: 1.316 MB / 0.6783 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.7378, allocations: 287.8 kB / 0.6786 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03747/0.7752, allocations: 17.23 MB / 0.6954 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.7764, allocations: 0.823 MB / 0.6962 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001695/0.7781, allocations: 392.6 kB / 0.6966 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/0.7795, allocations: 0.878 MB / 0.6975 GB, free: 14.76 MB / 0.545 GB Notification: Performance of SimCode: time 1.823e-06/0.7795, allocations: 0 / 0.6975 GB, free: 14.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3645/1.144, allocations: 58.76 MB / 0.7548 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/16.88, allocations: 5.844 kB / 0.7548 GB, free: 170.6 MB / 0.5606 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrochemicalAcetateProduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrochemicalAcetateProduction.fmu > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.809805039316416] Failed to read output from testmodel.py, exit status != 0: 17.049833504948765 17.063523947 16.54630047 Calling exit ...