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.0014/0.0014, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001446/0.001446, allocations: 204 kB / 20.09 MB, free: 2.977 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.144/0.144, allocations: 23.86 MB / 333.4 MB, free: 1.223 MB / 254.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.002014/0.002014, allocations: 68.48 kB / 467.2 MB, free: 30.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1107, allocations: 59.82 MB / 0.5146 GB, free: 12.49 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.04225/0.153, allocations: 28.19 MB / 0.5422 GB, free: 348 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02731/0.1803, allocations: 21.69 MB / 0.5633 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.1817, allocations: 27.75 kB / 0.5634 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.1834, allocations: 0.5391 MB / 0.5639 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003293/0.1867, allocations: 1.009 MB / 0.5649 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009392/0.1961, allocations: 3.303 MB / 0.5681 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003096/0.1992, allocations: 1.809 MB / 0.5699 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.2003, allocations: 0.7701 MB / 0.5706 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.2014, allocations: 0.8024 MB / 0.5714 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.2026, allocations: 0.9067 MB / 0.5723 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.2029, allocations: 148 kB / 0.5724 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006452/0.2093, allocations: 2.094 MB / 0.5745 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005725/0.2099, allocations: 382.8 kB / 0.5748 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.2109, allocations: 0.8048 MB / 0.5756 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009425/0.2203, allocations: 4.062 MB / 0.5796 GB, free: 9.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2204, allocations: 0 / 0.5796 GB, free: 9.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2204, allocations: 0 / 0.5796 GB, free: 9.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001007/0.2205, allocations: 4 kB / 0.5796 GB, free: 9.82 MB / 446.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.004703/0.2252, allocations: 2.146 MB / 0.5817 GB, free: 7.617 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.2252, allocations: 12.03 kB / 0.5817 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.2272, allocations: 443.1 kB / 0.5821 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.229, allocations: 1.06 MB / 0.5832 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.2292, allocations: 158.3 kB / 0.5833 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.2295, allocations: 120 kB / 0.5834 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/0.2324, allocations: 1.752 MB / 0.5851 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.2324, allocations: 0 / 0.5851 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.2326, allocations: 56 kB / 0.5852 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.2326, allocations: 32 kB / 0.5852 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003681/0.2363, allocations: 2.323 MB / 0.5875 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2953/0.5315, allocations: 5.57 MB / 0.5929 GB, free: 62.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.5331, allocations: 0.696 MB / 0.5936 GB, free: 61.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006643/0.5338, allocations: 337.4 kB / 0.5939 GB, free: 61.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007959/0.5417, allocations: 5.719 MB / 0.5995 GB, free: 57.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.5418, allocations: 44.31 kB / 0.5996 GB, free: 57.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.325e-06/0.5418, allocations: 0 / 0.5996 GB, free: 57.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001733/0.5435, allocations: 0.8007 MB / 0.6003 GB, free: 56.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.5436, allocations: 115 kB / 0.6005 GB, free: 56.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.5453, allocations: 1.287 MB / 0.6017 GB, free: 56.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.5453, allocations: 34.89 kB / 0.6017 GB, free: 56.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.5458, allocations: 0.8576 MB / 0.6026 GB, free: 55.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.5459, allocations: 155.9 kB / 0.6027 GB, free: 55.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003799/0.5463, allocations: 293 kB / 0.603 GB, free: 55.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5464, allocations: 356.7 kB / 0.6034 GB, free: 55.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006129/0.547, allocations: 338.1 kB / 0.6037 GB, free: 54.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009455/0.548, allocations: 1.156 MB / 0.6048 GB, free: 53.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.5494, allocations: 1.531 MB / 0.6063 GB, free: 52.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/0.5495, allocations: 7.719 kB / 0.6063 GB, free: 52.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002612/0.5521, allocations: 1.551 MB / 0.6078 GB, free: 51.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.5521, allocations: 22.36 kB / 0.6078 GB, free: 51.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.919e-05/0.5522, allocations: 29.97 kB / 0.6079 GB, free: 51.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007178/0.5529, allocations: 158 kB / 0.608 GB, free: 51.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.5542, allocations: 394.9 kB / 0.6084 GB, free: 51.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.5565, allocations: 4.072 MB / 0.6124 GB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.5578, allocations: 191.9 kB / 0.6126 GB, free: 47.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.5579, allocations: 105.7 kB / 0.6127 GB, free: 47.41 MB / 446.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.0005813/0.5585, allocations: 327.5 kB / 0.613 GB, free: 47.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.5588, allocations: 119 kB / 0.6131 GB, free: 47.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.5608, allocations: 0.9479 MB / 0.614 GB, free: 46.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5608, allocations: 2.5 kB / 0.614 GB, free: 46.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5608, allocations: 1.375 kB / 0.614 GB, free: 46.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5608, allocations: 4.484 kB / 0.614 GB, free: 46.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.5631, allocations: 1.372 MB / 0.6154 GB, free: 45.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.5631, allocations: 5.312 kB / 0.6154 GB, free: 45.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.5634, allocations: 64.92 kB / 0.6154 GB, free: 45.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007503/0.5641, allocations: 175.9 kB / 0.6156 GB, free: 45.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.5642, allocations: 21.03 kB / 0.6156 GB, free: 45.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.5662, allocations: 3.947 MB / 0.6195 GB, free: 41.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5662, allocations: 6.688 kB / 0.6195 GB, free: 41.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.5675, allocations: 0.9147 MB / 0.6204 GB, free: 41.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.5677, allocations: 191 kB / 0.6205 GB, free: 41.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.5679, allocations: 19.02 kB / 0.6206 GB, free: 41.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.5683, allocations: 11.91 kB / 0.6206 GB, free: 41.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.5683, allocations: 40.06 kB / 0.6206 GB, free: 41.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.5684, allocations: 19.28 kB / 0.6206 GB, free: 41.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.5696, allocations: 0.9565 MB / 0.6216 GB, free: 40.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5696, allocations: 1.312 kB / 0.6216 GB, free: 40.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002367/0.5719, allocations: 0.7077 MB / 0.6223 GB, free: 40.55 MB / 446.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.001539/0.5735, allocations: 0.8607 MB / 0.6231 GB, free: 40.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.5753, allocations: 0.817 MB / 0.6239 GB, free: 40.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5754, allocations: 0 / 0.6239 GB, free: 40.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005068/0.5759, allocations: 391.7 kB / 0.6243 GB, free: 39.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5772, allocations: 193.9 kB / 0.6245 GB, free: 39.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.5805, allocations: 2.037 MB / 0.6264 GB, free: 38.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.5809, allocations: 1.094 MB / 0.6275 GB, free: 37.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.5813, allocations: 217.2 kB / 0.6277 GB, free: 37.58 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5813, allocations: 0 / 0.6277 GB, free: 37.58 MB / 446.1 MB Notification: Performance of Templates: time 0.03716/0.6185, allocations: 40.91 MB / 0.6677 GB, free: 440 kB / 446.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: 10.607522209000308] Failed to read output from testmodel.py, exit status != 0: 0.6271880239946768 0.6430565450000001 0.418497569 Calling exit ...