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.001381/0.001381, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001509/0.001509, allocations: 208.7 kB / 22.99 MB, free: 4.984 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1341/0.1341, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.001995/0.001995, allocations: 71.89 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3592, allocations: 59.85 MB / 0.5197 GB, free: 9.785 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.07433/0.4335, allocations: 27.56 MB / 0.5467 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02566/0.4592, allocations: 19.02 MB / 0.5652 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.4606, allocations: 23.81 kB / 0.5653 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.4621, allocations: 493.4 kB / 0.5657 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.4658, allocations: 0.9711 MB / 0.5667 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.476, allocations: 3.339 MB / 0.5699 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003339/0.4793, allocations: 1.802 MB / 0.5717 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.4806, allocations: 0.7705 MB / 0.5725 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.4817, allocations: 0.8024 MB / 0.5732 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.4828, allocations: 0.9029 MB / 0.5741 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.4831, allocations: 148 kB / 0.5743 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005939/0.489, allocations: 2.005 MB / 0.5762 GB, free: 4 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.4896, allocations: 386.8 kB / 0.5766 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009699/0.4905, allocations: 0.669 MB / 0.5772 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.501, allocations: 4.054 MB / 0.5812 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.501, allocations: 4 kB / 0.5812 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.501, allocations: 0 / 0.5812 GB, free: 10.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.724e-05/0.5011, allocations: 0 / 0.5812 GB, free: 10.88 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.003738/0.5048, allocations: 2.068 MB / 0.5832 GB, free: 8.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.5048, allocations: 8.031 kB / 0.5832 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.5067, allocations: 447.1 kB / 0.5837 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.5087, allocations: 0.9958 MB / 0.5846 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.5089, allocations: 209.7 kB / 0.5848 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/0.5092, allocations: 120 kB / 0.5849 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.5121, allocations: 1.768 MB / 0.5867 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.5121, allocations: 0 / 0.5867 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.5123, allocations: 52 kB / 0.5867 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.5123, allocations: 32 kB / 0.5868 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003637/0.516, allocations: 2.307 MB / 0.589 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008424/0.5244, allocations: 4.814 MB / 0.5937 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.5258, allocations: 0.7012 MB / 0.5944 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.5264, allocations: 336.4 kB / 0.5947 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007159/0.5335, allocations: 2.857 MB / 0.5975 GB, free: 9.852 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.5336, allocations: 42.5 kB / 0.5975 GB, free: 9.801 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.926e-06/0.5336, allocations: 0 / 0.5975 GB, free: 9.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001596/0.5352, allocations: 0.6349 MB / 0.5982 GB, free: 9.152 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.5352, allocations: 106.8 kB / 0.5983 GB, free: 9.023 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.5367, allocations: 1.249 MB / 0.5995 GB, free: 7.758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.5367, allocations: 41.95 kB / 0.5995 GB, free: 7.711 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006589/0.5374, allocations: 0.8684 MB / 0.6004 GB, free: 6.832 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.5375, allocations: 154.8 kB / 0.6005 GB, free: 6.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.5379, allocations: 295.3 kB / 0.6008 GB, free: 6.387 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5381, allocations: 357.9 kB / 0.6011 GB, free: 6.031 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.5386, allocations: 339.8 kB / 0.6015 GB, free: 5.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.5399, allocations: 1.152 MB / 0.6026 GB, free: 4.137 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.5418, allocations: 1.545 MB / 0.6041 GB, free: 2.184 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/0.5418, allocations: 8 kB / 0.6041 GB, free: 2.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002677/0.5445, allocations: 1.552 MB / 0.6056 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.5445, allocations: 19.98 kB / 0.6056 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.664e-05/0.5446, allocations: 32 kB / 0.6057 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006804/0.5452, allocations: 157.3 kB / 0.6058 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5464, allocations: 395.5 kB / 0.6062 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.5496, allocations: 3.824 MB / 0.6099 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.5507, allocations: 187 kB / 0.6101 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.5509, allocations: 104 kB / 0.6102 GB, free: 11.64 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.0005544/0.5514, allocations: 329 kB / 0.6105 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.5517, allocations: 111.2 kB / 0.6106 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.5535, allocations: 0.9335 MB / 0.6115 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5535, allocations: 4 kB / 0.6115 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5535, allocations: 0 / 0.6115 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5536, allocations: 0 / 0.6115 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.5557, allocations: 1.17 MB / 0.6127 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.5557, allocations: 4 kB / 0.6127 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.5559, allocations: 63.84 kB / 0.6128 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000773/0.5567, allocations: 175.6 kB / 0.6129 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.5568, allocations: 16 kB / 0.6129 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/0.5599, allocations: 3.692 MB / 0.6165 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.5599, allocations: 4.062 kB / 0.6165 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.5614, allocations: 0.8959 MB / 0.6174 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.5616, allocations: 99.23 kB / 0.6175 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.5618, allocations: 23.88 kB / 0.6175 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.5621, allocations: 8 kB / 0.6175 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.5622, allocations: 35.89 kB / 0.6176 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.5622, allocations: 24.06 kB / 0.6176 GB, free: 3.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001166/0.5634, allocations: 0.8807 MB / 0.6185 GB, free: 2.715 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5634, allocations: 0 / 0.6185 GB, free: 2.715 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002319/0.5657, allocations: 0.7239 MB / 0.6192 GB, free: 1.988 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.00159/0.5673, allocations: 0.8481 MB / 0.62 GB, free: 1.133 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.5691, allocations: 0.8183 MB / 0.6208 GB, free: 328 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5691, allocations: 0 / 0.6208 GB, free: 328 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.5697, allocations: 390.2 kB / 0.6212 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.5707, allocations: 164 kB / 0.6213 GB, free: 15.76 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.5737, allocations: 1.988 MB / 0.6233 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.5742, allocations: 0.4993 MB / 0.6238 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008317/0.575, allocations: 296.9 kB / 0.624 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.5753, allocations: 155.3 kB / 0.6242 GB, free: 12.75 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5753, allocations: 3.938 kB / 0.6242 GB, free: 12.75 MB / 478.1 MB Notification: Performance of Templates: time 0.03561/0.6109, allocations: 22.76 MB / 0.6464 GB, free: 6.125 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6381403709965525] Failed to read output from testmodel.py, exit status != 0: 0.6204186149989255 0.633420635 0.129387733 Calling exit ...