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.001336/0.001336, allocations: 114.9 kB / 17.13 MB, free: 6.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.001466/0.001466, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.152/0.152, allocations: 23.86 MB / 333.4 MB, free: 1.188 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.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.002056/0.002056, allocations: 64.41 kB / 467.2 MB, free: 30.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1182, allocations: 59.83 MB / 0.5146 GB, free: 12.44 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.04161/0.1598, allocations: 27.58 MB / 0.5416 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02296/0.1827, allocations: 18.28 MB / 0.5594 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.1841, allocations: 27.75 kB / 0.5594 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.1857, allocations: 476.5 kB / 0.5599 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002907/0.1886, allocations: 0.8379 MB / 0.5607 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008361/0.1969, allocations: 2.818 MB / 0.5635 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002802/0.1997, allocations: 1.634 MB / 0.5651 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.2008, allocations: 0.758 MB / 0.5658 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008478/0.2016, allocations: 0.7284 MB / 0.5665 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.2027, allocations: 0.8211 MB / 0.5673 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.2029, allocations: 140 kB / 0.5674 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005415/0.2083, allocations: 1.771 MB / 0.5692 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.2087, allocations: 362.8 kB / 0.5695 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008772/0.2096, allocations: 0.7466 MB / 0.5703 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008127/0.2177, allocations: 3.587 MB / 0.5738 GB, free: 15.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2178, allocations: 0 / 0.5738 GB, free: 15.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2178, allocations: 0 / 0.5738 GB, free: 15.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.307e-05/0.2178, allocations: 0 / 0.5738 GB, free: 15.79 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.003627/0.2214, allocations: 1.976 MB / 0.5757 GB, free: 13.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2215, allocations: 8.031 kB / 0.5757 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.223, allocations: 391.3 kB / 0.5761 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.2247, allocations: 0.9931 MB / 0.577 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.2249, allocations: 153.9 kB / 0.5772 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.2251, allocations: 119.9 kB / 0.5773 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.2278, allocations: 1.653 MB / 0.5789 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.2278, allocations: 0 / 0.5789 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.2279, allocations: 48 kB / 0.579 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.228, allocations: 36 kB / 0.579 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003295/0.2313, allocations: 2.104 MB / 0.581 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008257/0.2395, allocations: 5.437 MB / 0.5864 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.2409, allocations: 0.6946 MB / 0.587 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/0.2415, allocations: 332.4 kB / 0.5874 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2805/0.522, allocations: 5.053 MB / 0.5923 GB, free: 62.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.522, allocations: 37.73 kB / 0.5923 GB, free: 62.18 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003683/0.5224, allocations: 77.38 kB / 0.5924 GB, free: 62.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.555e-06/0.5224, allocations: 0.8125 kB / 0.5924 GB, free: 62.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001634/0.524, allocations: 0.7533 MB / 0.5931 GB, free: 61.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5241, allocations: 112 kB / 0.5932 GB, free: 61.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.5258, allocations: 1.203 MB / 0.5944 GB, free: 61.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.5258, allocations: 31.48 kB / 0.5944 GB, free: 61.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.5263, allocations: 0.7987 MB / 0.5952 GB, free: 61.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.5264, allocations: 144.6 kB / 0.5954 GB, free: 60.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004059/0.5268, allocations: 270.5 kB / 0.5956 GB, free: 60.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.5269, allocations: 352.9 kB / 0.596 GB, free: 60.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005287/0.5274, allocations: 319.5 kB / 0.5963 GB, free: 60.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/0.5283, allocations: 1.05 MB / 0.5973 GB, free: 59.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.5296, allocations: 1.392 MB / 0.5986 GB, free: 57.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.5297, allocations: 8.25 kB / 0.5987 GB, free: 57.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002612/0.5323, allocations: 1.441 MB / 0.6001 GB, free: 57.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.5323, allocations: 17.52 kB / 0.6001 GB, free: 57.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.125e-05/0.5324, allocations: 27.25 kB / 0.6001 GB, free: 57.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006911/0.533, allocations: 153.7 kB / 0.6002 GB, free: 57.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.5342, allocations: 377.4 kB / 0.6006 GB, free: 57.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.5366, allocations: 4.072 MB / 0.6046 GB, free: 53.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.5379, allocations: 78.72 kB / 0.6047 GB, free: 53.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.5381, allocations: 93.69 kB / 0.6048 GB, free: 53.22 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.0005481/0.5386, allocations: 311.5 kB / 0.605 GB, free: 53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.5388, allocations: 109.7 kB / 0.6052 GB, free: 52.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.5406, allocations: 0.8528 MB / 0.606 GB, free: 52.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.5406, allocations: 5.391 kB / 0.606 GB, free: 52.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.5406, allocations: 0 / 0.606 GB, free: 52.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5406, allocations: 2.594 kB / 0.606 GB, free: 52.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.5429, allocations: 1.258 MB / 0.6072 GB, free: 51.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5429, allocations: 3.344 kB / 0.6072 GB, free: 51.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.5431, allocations: 62.64 kB / 0.6073 GB, free: 51.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007878/0.5439, allocations: 183.7 kB / 0.6075 GB, free: 51.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.544, allocations: 13.83 kB / 0.6075 GB, free: 51.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.546, allocations: 3.949 MB / 0.6113 GB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.546, allocations: 3.219 kB / 0.6113 GB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.5473, allocations: 0.8672 MB / 0.6122 GB, free: 47.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.5476, allocations: 173.7 kB / 0.6123 GB, free: 47.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.5477, allocations: 8.219 kB / 0.6124 GB, free: 47.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.5481, allocations: 13.14 kB / 0.6124 GB, free: 47.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.5482, allocations: 38.53 kB / 0.6124 GB, free: 47.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.5482, allocations: 17.67 kB / 0.6124 GB, free: 47.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001283/0.5495, allocations: 0.8867 MB / 0.6133 GB, free: 46.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5495, allocations: 2.656 kB / 0.6133 GB, free: 46.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002474/0.5519, allocations: 0.6263 MB / 0.6139 GB, free: 46.61 MB / 446.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.001434/0.5534, allocations: 0.751 MB / 0.6146 GB, free: 46.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.5553, allocations: 0.769 MB / 0.6154 GB, free: 46.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5553, allocations: 0 / 0.6154 GB, free: 46.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.5558, allocations: 388.9 kB / 0.6158 GB, free: 45.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.5569, allocations: 177.1 kB / 0.6159 GB, free: 45.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.5599, allocations: 1.875 MB / 0.6178 GB, free: 44.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.5604, allocations: 1.06 MB / 0.6188 GB, free: 44.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.5608, allocations: 190.5 kB / 0.619 GB, free: 44.07 MB / 446.1 MB Notification: Performance of SimCode: time 9.31e-07/0.5608, allocations: 0 / 0.619 GB, free: 44.07 MB / 446.1 MB Notification: Performance of Templates: time 0.03561/0.5964, allocations: 37.4 MB / 0.6555 GB, free: 13.1 MB / 446.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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.662429696996696] Failed to read output from testmodel.py, exit status != 0: 0.6043784139910713 0.613080458 0.393120024 Calling exit ...