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.001517/0.001517, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.002455/0.002455, allocations: 215.8 kB / 22.3 MB, free: 5.281 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.539/1.539, allocations: 230.6 MB / 256.1 MB, free: 7.727 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.1546/0.1546, allocations: 23.88 MB / 336.4 MB, free: 10.91 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.002163/0.002163, allocations: 67.91 kB / 471.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3771, allocations: 59.86 MB / 0.5191 GB, free: 9.828 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.07648/0.4536, allocations: 27.69 MB / 0.5462 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02709/0.4807, allocations: 19.03 MB / 0.5648 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.4825, allocations: 23.81 kB / 0.5648 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.4842, allocations: 493.7 kB / 0.5652 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.4887, allocations: 0.9711 MB / 0.5662 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01266/0.5014, allocations: 3.342 MB / 0.5695 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003513/0.5049, allocations: 1.798 MB / 0.5712 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.5061, allocations: 0.7473 MB / 0.5719 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.5072, allocations: 0.8024 MB / 0.5727 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.5084, allocations: 0.813 MB / 0.5735 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002477/0.5086, allocations: 148 kB / 0.5737 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005355/0.514, allocations: 1.966 MB / 0.5756 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004975/0.5145, allocations: 382.7 kB / 0.5759 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008429/0.5153, allocations: 0.6768 MB / 0.5766 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008551/0.5239, allocations: 4.046 MB / 0.5806 GB, free: 10.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5239, allocations: 0 / 0.5806 GB, free: 10.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5239, allocations: 0 / 0.5806 GB, free: 10.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.5239, allocations: 0 / 0.5806 GB, free: 10.78 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.003681/0.5276, allocations: 2.064 MB / 0.5826 GB, free: 8.672 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.5276, allocations: 16.03 kB / 0.5826 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.5295, allocations: 443.1 kB / 0.583 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.5313, allocations: 0.9959 MB / 0.584 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.5315, allocations: 205.7 kB / 0.5842 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.5317, allocations: 128 kB / 0.5843 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.5346, allocations: 1.764 MB / 0.586 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.5346, allocations: 7.938 kB / 0.586 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.5347, allocations: 52 kB / 0.5861 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/0.5348, allocations: 32 kB / 0.5861 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003557/0.5383, allocations: 2.299 MB / 0.5884 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007715/0.546, allocations: 4.819 MB / 0.5931 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.5474, allocations: 0.6977 MB / 0.5937 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/0.548, allocations: 332.4 kB / 0.5941 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006832/0.5549, allocations: 2.861 MB / 0.5969 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.5549, allocations: 46.5 kB / 0.5969 GB, free: 9.695 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.993e-06/0.5549, allocations: 0 / 0.5969 GB, free: 9.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001495/0.5564, allocations: 0.631 MB / 0.5975 GB, free: 9.051 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.5565, allocations: 114.8 kB / 0.5976 GB, free: 8.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.5579, allocations: 1.237 MB / 0.5988 GB, free: 7.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.5579, allocations: 37.64 kB / 0.5989 GB, free: 7.617 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006627/0.5586, allocations: 0.8684 MB / 0.5997 GB, free: 6.738 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.5588, allocations: 159.1 kB / 0.5999 GB, free: 6.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.5591, allocations: 299.3 kB / 0.6002 GB, free: 6.285 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5593, allocations: 349.9 kB / 0.6005 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.5598, allocations: 343.8 kB / 0.6008 GB, free: 5.602 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.5611, allocations: 1.156 MB / 0.6019 GB, free: 4.035 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.5631, allocations: 1.533 MB / 0.6034 GB, free: 2.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.637e-05/0.5632, allocations: 8 kB / 0.6035 GB, free: 2.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002766/0.5659, allocations: 1.564 MB / 0.605 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.566, allocations: 20.25 kB / 0.605 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.507e-05/0.566, allocations: 28 kB / 0.605 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/0.5667, allocations: 157.3 kB / 0.6052 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.5679, allocations: 395.4 kB / 0.6056 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/0.5714, allocations: 3.839 MB / 0.6093 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.5725, allocations: 179 kB / 0.6095 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.5727, allocations: 99.98 kB / 0.6096 GB, free: 11.54 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.0006443/0.5734, allocations: 325.1 kB / 0.6099 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.5736, allocations: 115.2 kB / 0.61 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.5757, allocations: 0.9434 MB / 0.6109 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5757, allocations: 4 kB / 0.6109 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.5757, allocations: 0 / 0.6109 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.5757, allocations: 8.016 kB / 0.6109 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.5782, allocations: 1.155 MB / 0.6121 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5782, allocations: 7.984 kB / 0.6121 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.5784, allocations: 55.92 kB / 0.6121 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007526/0.5792, allocations: 179.5 kB / 0.6123 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.5792, allocations: 12 kB / 0.6123 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.5825, allocations: 3.704 MB / 0.6159 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.5825, allocations: 7.984 kB / 0.6159 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.5838, allocations: 0.8951 MB / 0.6168 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.584, allocations: 103.2 kB / 0.6169 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.5842, allocations: 19.89 kB / 0.6169 GB, free: 3.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.5846, allocations: 8 kB / 0.6169 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.5847, allocations: 35.89 kB / 0.617 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.5847, allocations: 23.98 kB / 0.617 GB, free: 3.488 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.5859, allocations: 0.8807 MB / 0.6178 GB, free: 2.602 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5859, allocations: 4.062 kB / 0.6178 GB, free: 2.598 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002372/0.5883, allocations: 0.7123 MB / 0.6185 GB, free: 1.883 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.002149/0.5904, allocations: 0.8487 MB / 0.6194 GB, free: 1.023 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.5923, allocations: 0.8247 MB / 0.6202 GB, free: 208 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5923, allocations: 0 / 0.6202 GB, free: 208 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.593, allocations: 391.5 kB / 0.6205 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.594, allocations: 169.9 kB / 0.6207 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.5977, allocations: 1.976 MB / 0.6226 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.5984, allocations: 0.511 MB / 0.6231 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008977/0.5993, allocations: 291 kB / 0.6234 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.5996, allocations: 148.4 kB / 0.6236 GB, free: 12.64 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5996, allocations: 0 / 0.6236 GB, free: 12.64 MB / 478.1 MB Notification: Performance of Templates: time 0.03774/0.6373, allocations: 20.61 MB / 0.6437 GB, free: 8.172 MB / 494.1 MB " [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: 6.16262885928154] Failed to read output from testmodel.py, exit status != 0: 0.6471113935112953 0.673664244 0.144711257 Calling exit ...