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.001576/0.001576, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001524/0.001524, allocations: 210.5 kB / 22.98 MB, free: 4.41 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.428/1.428, allocations: 230.6 MB / 256.8 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.1417/0.1417, allocations: 23.88 MB / 337.1 MB, free: 10.99 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.002055/0.002055, allocations: 64.14 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.331, allocations: 59.86 MB / 0.5198 GB, free: 9.793 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.07319/0.4042, allocations: 27.64 MB / 0.5467 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02655/0.4308, allocations: 19.03 MB / 0.5653 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.4322, allocations: 27.75 kB / 0.5654 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.4342, allocations: 489.5 kB / 0.5658 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003475/0.4376, allocations: 0.9711 MB / 0.5668 GB, free: 9.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009846/0.4475, allocations: 3.342 MB / 0.57 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.4504, allocations: 1.806 MB / 0.5718 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.4517, allocations: 0.7589 MB / 0.5725 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.4529, allocations: 0.8102 MB / 0.5733 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.4543, allocations: 0.8951 MB / 0.5742 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003697/0.4546, allocations: 152 kB / 0.5744 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005276/0.4599, allocations: 2.009 MB / 0.5763 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004836/0.4604, allocations: 378.7 kB / 0.5767 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008638/0.4613, allocations: 0.6729 MB / 0.5773 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007523/0.4688, allocations: 4.05 MB / 0.5813 GB, free: 10.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4688, allocations: 4 kB / 0.5813 GB, free: 10.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4688, allocations: 0 / 0.5813 GB, free: 10.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.772e-05/0.4688, allocations: 0 / 0.5813 GB, free: 10.8 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.003414/0.4722, allocations: 2.068 MB / 0.5833 GB, free: 8.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.4723, allocations: 12.03 kB / 0.5833 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.474, allocations: 443.1 kB / 0.5837 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.4759, allocations: 0.9998 MB / 0.5847 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.4761, allocations: 205.7 kB / 0.5849 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.4763, allocations: 120 kB / 0.585 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.479, allocations: 1.768 MB / 0.5868 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.479, allocations: 0 / 0.5868 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.4791, allocations: 52 kB / 0.5868 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.4792, allocations: 32 kB / 0.5868 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003495/0.4827, allocations: 2.315 MB / 0.5891 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008064/0.4907, allocations: 4.81 MB / 0.5938 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.4921, allocations: 0.7006 MB / 0.5945 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005922/0.4927, allocations: 340.3 kB / 0.5948 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006955/0.4997, allocations: 2.857 MB / 0.5976 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.4997, allocations: 42.55 kB / 0.5976 GB, free: 9.711 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.4997, allocations: 0 / 0.5976 GB, free: 9.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001509/0.5012, allocations: 0.6349 MB / 0.5983 GB, free: 9.062 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.5013, allocations: 110.8 kB / 0.5984 GB, free: 8.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.5028, allocations: 1.245 MB / 0.5996 GB, free: 7.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.5028, allocations: 37.64 kB / 0.5996 GB, free: 7.625 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006357/0.5034, allocations: 0.8686 MB / 0.6005 GB, free: 6.746 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.5036, allocations: 154.8 kB / 0.6006 GB, free: 6.594 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/0.504, allocations: 299.3 kB / 0.6009 GB, free: 6.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.5041, allocations: 353.9 kB / 0.6012 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.5047, allocations: 339.8 kB / 0.6016 GB, free: 5.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.5058, allocations: 1.156 MB / 0.6027 GB, free: 4.047 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.5076, allocations: 1.537 MB / 0.6042 GB, free: 2.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.5077, allocations: 8 kB / 0.6042 GB, free: 2.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002402/0.5101, allocations: 1.56 MB / 0.6057 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.5101, allocations: 20.06 kB / 0.6057 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/0.5101, allocations: 32 kB / 0.6058 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.5107, allocations: 157.2 kB / 0.6059 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.5119, allocations: 395.4 kB / 0.6063 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/0.515, allocations: 3.828 MB / 0.61 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000904/0.5159, allocations: 183 kB / 0.6102 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.516, allocations: 104 kB / 0.6103 GB, free: 11.55 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.0005023/0.5165, allocations: 321.1 kB / 0.6106 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.5167, allocations: 111.2 kB / 0.6107 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.5185, allocations: 0.9436 MB / 0.6116 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.5186, allocations: 4 kB / 0.6116 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.5186, allocations: 0 / 0.6116 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5186, allocations: 0 / 0.6116 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.5206, allocations: 1.163 MB / 0.6128 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.5206, allocations: 4 kB / 0.6128 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.5208, allocations: 55.91 kB / 0.6128 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000702/0.5215, allocations: 183.5 kB / 0.613 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.5216, allocations: 12 kB / 0.613 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/0.5245, allocations: 3.688 MB / 0.6166 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.5245, allocations: 4 kB / 0.6166 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.5258, allocations: 0.9069 MB / 0.6175 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.526, allocations: 99.23 kB / 0.6176 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.5261, allocations: 19.89 kB / 0.6176 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.5264, allocations: 12 kB / 0.6176 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.5265, allocations: 39.97 kB / 0.6177 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.5265, allocations: 23.98 kB / 0.6177 GB, free: 3.516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.5276, allocations: 0.8847 MB / 0.6186 GB, free: 2.625 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5276, allocations: 0 / 0.6186 GB, free: 2.625 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002112/0.5297, allocations: 0.7239 MB / 0.6193 GB, free: 1.898 MB / 462.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.001381/0.5311, allocations: 0.8448 MB / 0.6201 GB, free: 1.043 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.5328, allocations: 0.8169 MB / 0.6209 GB, free: 236 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5328, allocations: 1.938 kB / 0.6209 GB, free: 236 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.5333, allocations: 393.6 kB / 0.6213 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.5343, allocations: 156.6 kB / 0.6214 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.5374, allocations: 2.024 MB / 0.6234 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.5379, allocations: 0.4993 MB / 0.6239 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.5383, allocations: 211.3 kB / 0.6241 GB, free: 12.83 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5383, allocations: 0 / 0.6241 GB, free: 12.83 MB / 478.1 MB Notification: Performance of Templates: time 0.04874/0.587, allocations: 40.89 MB / 0.664 GB, free: 4.004 MB / 0.4981 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: 10.327909649990033] Failed to read output from testmodel.py, exit status != 0: 0.5959070390090346 0.609754836 0.137817551 Calling exit ...