Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.00127/0.00127, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001402/0.001402, allocations: 208.8 kB / 22.99 MB, free: 4.957 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1468/0.1468, allocations: 23.89 MB / 337.1 MB, free: 11.07 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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [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.002017/0.002017, allocations: 67.91 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3172, allocations: 59.85 MB / 0.5198 GB, free: 9.738 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.StandardElectrochemicalCell2): time 0.06943/0.3866, allocations: 27.03 MB / 0.5461 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02082/0.4074, allocations: 16.04 MB / 0.5618 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.4087, allocations: 23.81 kB / 0.5618 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.41, allocations: 435.8 kB / 0.5622 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.4128, allocations: 0.8062 MB / 0.563 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008667/0.4214, allocations: 2.85 MB / 0.5658 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.4252, allocations: 1.638 MB / 0.5674 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.4268, allocations: 0.7428 MB / 0.5681 GB, free: 8.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.4281, allocations: 0.7167 MB / 0.5688 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.4295, allocations: 0.8211 MB / 0.5696 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002495/0.4298, allocations: 143.9 kB / 0.5698 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005197/0.435, allocations: 1.712 MB / 0.5715 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003738/0.4354, allocations: 366.8 kB / 0.5718 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006984/0.4361, allocations: 0.6146 MB / 0.5724 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007547/0.4436, allocations: 3.572 MB / 0.5759 GB, free: 356 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4436, allocations: 3.984 kB / 0.5759 GB, free: 352 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4436, allocations: 0 / 0.5759 GB, free: 352 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.4436, allocations: 0 / 0.5759 GB, free: 352 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.003303/0.4469, allocations: 1.897 MB / 0.5777 GB, free: 14.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.447, allocations: 8.031 kB / 0.5778 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.4486, allocations: 395.3 kB / 0.5781 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.4503, allocations: 0.9159 MB / 0.579 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.4505, allocations: 205.5 kB / 0.5792 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.4507, allocations: 112 kB / 0.5793 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.4534, allocations: 1.664 MB / 0.581 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.4534, allocations: 0 / 0.581 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.4535, allocations: 52 kB / 0.581 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.4536, allocations: 32 kB / 0.581 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003162/0.4567, allocations: 2.1 MB / 0.5831 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008028/0.4647, allocations: 4.698 MB / 0.5877 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.4661, allocations: 0.6937 MB / 0.5884 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/0.4667, allocations: 332.4 kB / 0.5887 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006739/0.4734, allocations: 2.647 MB / 0.5913 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.4735, allocations: 38.56 kB / 0.5913 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003303/0.4738, allocations: 71.3 kB / 0.5914 GB, free: 156 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.4738, allocations: 0 / 0.5914 GB, free: 156 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.001414/0.4752, allocations: 0.6082 MB / 0.592 GB, free: 15.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.4753, allocations: 106.8 kB / 0.5921 GB, free: 15.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.4766, allocations: 1.158 MB / 0.5932 GB, free: 14.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.4767, allocations: 33.7 kB / 0.5932 GB, free: 14.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/0.4773, allocations: 0.81 MB / 0.594 GB, free: 13.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.4774, allocations: 142.9 kB / 0.5941 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/0.4777, allocations: 278.7 kB / 0.5944 GB, free: 12.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.4779, allocations: 403 kB / 0.5948 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.4785, allocations: 326.5 kB / 0.5951 GB, free: 12.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.4796, allocations: 1.054 MB / 0.5961 GB, free: 10.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.4813, allocations: 1.403 MB / 0.5975 GB, free: 9.039 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.4814, allocations: 8 kB / 0.5975 GB, free: 9.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002442/0.4838, allocations: 1.448 MB / 0.5989 GB, free: 7.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.4838, allocations: 16 kB / 0.5989 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/0.4839, allocations: 28 kB / 0.599 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006753/0.4845, allocations: 153.5 kB / 0.5991 GB, free: 7.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.4857, allocations: 375.6 kB / 0.5995 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.4891, allocations: 3.816 MB / 0.6032 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009575/0.49, allocations: 72.17 kB / 0.6033 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.4902, allocations: 95.92 kB / 0.6034 GB, free: 2.762 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * 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.000525/0.4907, allocations: 321.1 kB / 0.6037 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.4909, allocations: 95.34 kB / 0.6038 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.4927, allocations: 0.843 MB / 0.6046 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4927, allocations: 8 kB / 0.6046 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4927, allocations: 0 / 0.6046 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4927, allocations: 3.984 kB / 0.6046 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.4947, allocations: 1.061 MB / 0.6056 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.4947, allocations: 4.188 kB / 0.6056 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.495, allocations: 59.95 kB / 0.6057 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007928/0.4958, allocations: 171 kB / 0.6059 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.4958, allocations: 23.98 kB / 0.6059 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/0.4989, allocations: 3.699 MB / 0.6095 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.4989, allocations: 7.938 kB / 0.6095 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.5004, allocations: 0.8426 MB / 0.6103 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.5006, allocations: 79.42 kB / 0.6104 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.5008, allocations: 15.92 kB / 0.6104 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.5011, allocations: 12.16 kB / 0.6104 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.5012, allocations: 35.98 kB / 0.6105 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.5012, allocations: 23.97 kB / 0.6105 GB, free: 11.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001029/0.5023, allocations: 0.8152 MB / 0.6113 GB, free: 10.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5023, allocations: 0 / 0.6113 GB, free: 10.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002241/0.5045, allocations: 0.6461 MB / 0.6119 GB, free: 9.551 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 23 * 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.00145/0.506, allocations: 0.7437 MB / 0.6126 GB, free: 8.797 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.5078, allocations: 0.7711 MB / 0.6134 GB, free: 8.031 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5078, allocations: 4.062 kB / 0.6134 GB, free: 8.027 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.5084, allocations: 377.1 kB / 0.6137 GB, free: 7.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.5094, allocations: 160 kB / 0.6139 GB, free: 7.488 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.5125, allocations: 1.851 MB / 0.6157 GB, free: 5.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.513, allocations: 476.5 kB / 0.6162 GB, free: 5.082 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008434/0.5139, allocations: 262.6 kB / 0.6164 GB, free: 4.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.5141, allocations: 135.4 kB / 0.6165 GB, free: 4.707 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5141, allocations: 0 / 0.6165 GB, free: 4.707 MB / 462.1 MB Notification: Performance of Templates: time 0.0323/0.5464, allocations: 20.28 MB / 0.6363 GB, free: 0.5508 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.446283211000264] Failed to read output from testmodel.py, exit status != 0: 0.5556405959941912 0.5692922890000001 0.122626233 Calling exit ...