Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.001318/0.001318, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001609/0.001609, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.1348/0.1348, allocations: 23.85 MB / 337 MB, free: 11.25 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.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [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.002173/0.002173, allocations: 68.17 kB / 472.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3203, allocations: 59.85 MB / 0.5198 GB, free: 10.1 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.CheckSubstancesData.StandardElectrochemicalCell): time 0.04163/0.3619, allocations: 28.42 MB / 0.5476 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02939/0.3913, allocations: 21.76 MB / 0.5688 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.3929, allocations: 27.75 kB / 0.5688 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.3948, allocations: 0.5243 MB / 0.5693 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.3983, allocations: 1.014 MB / 0.5703 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009728/0.408, allocations: 3.337 MB / 0.5736 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003197/0.4112, allocations: 1.817 MB / 0.5754 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.4126, allocations: 0.7588 MB / 0.5761 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.4139, allocations: 0.7986 MB / 0.5769 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.4155, allocations: 0.9067 MB / 0.5778 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.4159, allocations: 152 kB / 0.5779 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006565/0.4224, allocations: 2.079 MB / 0.58 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006159/0.4231, allocations: 386.8 kB / 0.5803 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.4244, allocations: 0.8087 MB / 0.5811 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009892/0.4343, allocations: 4.062 MB / 0.5851 GB, free: 7.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4343, allocations: 0 / 0.5851 GB, free: 7.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.4343, allocations: 0 / 0.5851 GB, free: 7.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.336e-05/0.4344, allocations: 0 / 0.5851 GB, free: 7.395 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.004918/0.4393, allocations: 2.068 MB / 0.5871 GB, free: 5.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4394, allocations: 8.031 kB / 0.5871 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.4415, allocations: 447.1 kB / 0.5875 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.4437, allocations: 0.9958 MB / 0.5885 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.4439, allocations: 209.7 kB / 0.5887 GB, free: 3.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/0.4442, allocations: 124 kB / 0.5888 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.4476, allocations: 1.768 MB / 0.5905 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.4476, allocations: 0 / 0.5905 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.4478, allocations: 52 kB / 0.5906 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/0.4478, allocations: 32 kB / 0.5906 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/0.4516, allocations: 2.33 MB / 0.5929 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0097/0.4613, allocations: 5.524 MB / 0.5983 GB, free: 9.496 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.4628, allocations: 0.7055 MB / 0.599 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006449/0.4635, allocations: 336.3 kB / 0.5993 GB, free: 8.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007608/0.4711, allocations: 2.998 MB / 0.6022 GB, free: 5.406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.4711, allocations: 38.56 kB / 0.6023 GB, free: 5.359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.285e-06/0.4711, allocations: 0 / 0.6023 GB, free: 5.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001683/0.4728, allocations: 0.6465 MB / 0.6029 GB, free: 4.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.4729, allocations: 115 kB / 0.603 GB, free: 4.562 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.4748, allocations: 1.295 MB / 0.6043 GB, free: 3.258 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.4748, allocations: 33.7 kB / 0.6043 GB, free: 3.219 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000704/0.4755, allocations: 0.8646 MB / 0.6052 GB, free: 2.344 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.4757, allocations: 150.8 kB / 0.6053 GB, free: 2.195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000388/0.4761, allocations: 295.3 kB / 0.6056 GB, free: 1.902 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.4763, allocations: 357.9 kB / 0.6059 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.4768, allocations: 347.8 kB / 0.6063 GB, free: 1.207 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.4781, allocations: 1.152 MB / 0.6074 GB, free: 15.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/0.4802, allocations: 1.541 MB / 0.6089 GB, free: 13.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.373e-05/0.4803, allocations: 8 kB / 0.6089 GB, free: 13.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003017/0.4833, allocations: 1.571 MB / 0.6104 GB, free: 12.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.4833, allocations: 19.94 kB / 0.6104 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.817e-05/0.4834, allocations: 35.94 kB / 0.6105 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007154/0.4841, allocations: 153.4 kB / 0.6106 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4853, allocations: 399.6 kB / 0.611 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.4887, allocations: 3.866 MB / 0.6148 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.4898, allocations: 194.8 kB / 0.615 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.49, allocations: 104.1 kB / 0.6151 GB, free: 7.055 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005515/0.4905, allocations: 333 kB / 0.6154 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.4908, allocations: 119.2 kB / 0.6155 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.4928, allocations: 0.9437 MB / 0.6164 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4928, allocations: 4 kB / 0.6164 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4928, allocations: 4 kB / 0.6164 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4928, allocations: 4 kB / 0.6164 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.4954, allocations: 1.332 MB / 0.6177 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.4954, allocations: 4 kB / 0.6177 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.4956, allocations: 63.91 kB / 0.6178 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007673/0.4964, allocations: 171.5 kB / 0.618 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.4964, allocations: 15.98 kB / 0.618 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/0.4998, allocations: 3.749 MB / 0.6216 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.4998, allocations: 7.969 kB / 0.6216 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.5013, allocations: 0.9056 MB / 0.6225 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003207/0.5016, allocations: 111.1 kB / 0.6226 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.5018, allocations: 19.89 kB / 0.6227 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.5023, allocations: 12.06 kB / 0.6227 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.5023, allocations: 43.81 kB / 0.6227 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.5024, allocations: 23.94 kB / 0.6227 GB, free: 14.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001405/0.5038, allocations: 0.9664 MB / 0.6237 GB, free: 13.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5038, allocations: 0 / 0.6237 GB, free: 13.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002479/0.5063, allocations: 0.7007 MB / 0.6244 GB, free: 13.03 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (cathode.temperature,anode.temperature) * 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 (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/0.5081, allocations: 0.8676 MB / 0.6252 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.51, allocations: 0.8254 MB / 0.626 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.51, allocations: 0 / 0.626 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.5106, allocations: 391 kB / 0.6264 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.5118, allocations: 195.3 kB / 0.6266 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.5153, allocations: 2.024 MB / 0.6285 GB, free: 8.645 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008806/0.5161, allocations: 1.091 MB / 0.6296 GB, free: 7.523 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.5166, allocations: 215.3 kB / 0.6298 GB, free: 7.312 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5166, allocations: 0 / 0.6298 GB, free: 7.312 MB / 478.1 MB Notification: Performance of Templates: time 0.05187/0.5685, allocations: 40.92 MB / 0.6698 GB, free: 14.46 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.852999533060938] Failed to read output from testmodel.py, exit status != 0: 0.5783284630160779 0.593411057 0.15572251 Calling exit ...