Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001608/0.001608, allocations: 113.5 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.001646/0.001646, allocations: 206.5 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.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.134/0.134, allocations: 23.89 MB / 333.4 MB, free: 1.172 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002064/0.002064, allocations: 66.12 kB / 467.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09401, allocations: 59.84 MB / 0.5147 GB, free: 12.38 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.04091/0.1349, allocations: 28.44 MB / 0.5425 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02766/0.1626, allocations: 21.7 MB / 0.5637 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009583/0.1635, allocations: 31.75 kB / 0.5637 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.165, allocations: 0.5352 MB / 0.5642 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.1676, allocations: 1.005 MB / 0.5652 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008495/0.1761, allocations: 3.304 MB / 0.5684 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002603/0.1787, allocations: 1.809 MB / 0.5702 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009751/0.1796, allocations: 0.7702 MB / 0.571 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009212/0.1806, allocations: 0.8063 MB / 0.5717 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.1817, allocations: 0.9028 MB / 0.5726 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.1819, allocations: 148 kB / 0.5728 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005732/0.1877, allocations: 2.083 MB / 0.5748 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.1881, allocations: 390.8 kB / 0.5752 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008312/0.1889, allocations: 0.801 MB / 0.576 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007109/0.196, allocations: 4.062 MB / 0.5799 GB, free: 9.465 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.196, allocations: 0 / 0.5799 GB, free: 9.465 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.196, allocations: 0 / 0.5799 GB, free: 9.465 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.1961, allocations: 0 / 0.5799 GB, free: 9.465 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.003663/0.1997, allocations: 2.146 MB / 0.582 GB, free: 7.262 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1998, allocations: 16.03 kB / 0.582 GB, free: 7.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.2016, allocations: 439.1 kB / 0.5825 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.2034, allocations: 1.072 MB / 0.5835 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.2036, allocations: 154.3 kB / 0.5836 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.2038, allocations: 120 kB / 0.5838 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/0.2068, allocations: 1.752 MB / 0.5855 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.2068, allocations: 0 / 0.5855 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.207, allocations: 59.98 kB / 0.5855 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.207, allocations: 32 kB / 0.5856 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003804/0.2108, allocations: 2.315 MB / 0.5878 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2109/0.4217, allocations: 5.573 MB / 0.5933 GB, free: 61.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.4231, allocations: 0.694 MB / 0.5939 GB, free: 61.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/0.4237, allocations: 343.7 kB / 0.5943 GB, free: 61.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007288/0.431, allocations: 5.721 MB / 0.5999 GB, free: 57.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.431, allocations: 42.44 kB / 0.5999 GB, free: 56.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.374e-06/0.431, allocations: 0 / 0.5999 GB, free: 56.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001576/0.4326, allocations: 0.7998 MB / 0.6007 GB, free: 56.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.4326, allocations: 108.6 kB / 0.6008 GB, free: 56.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.4341, allocations: 1.288 MB / 0.602 GB, free: 55.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.4342, allocations: 32.55 kB / 0.6021 GB, free: 55.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/0.4346, allocations: 0.8647 MB / 0.6029 GB, free: 55.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.919e-05/0.4347, allocations: 154 kB / 0.6031 GB, free: 55.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.4351, allocations: 294.8 kB / 0.6033 GB, free: 55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4352, allocations: 360.3 kB / 0.6037 GB, free: 54.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/0.4357, allocations: 336.4 kB / 0.604 GB, free: 54.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/0.4366, allocations: 1.149 MB / 0.6051 GB, free: 53.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.4379, allocations: 1.536 MB / 0.6066 GB, free: 51.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.4379, allocations: 8.125 kB / 0.6066 GB, free: 51.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002386/0.4403, allocations: 1.554 MB / 0.6082 GB, free: 51.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.4403, allocations: 17.72 kB / 0.6082 GB, free: 51.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/0.4404, allocations: 30.25 kB / 0.6082 GB, free: 51.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/0.441, allocations: 155.5 kB / 0.6084 GB, free: 51.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.4423, allocations: 394.9 kB / 0.6087 GB, free: 51.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.4444, allocations: 4.077 MB / 0.6127 GB, free: 47.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.4454, allocations: 195.3 kB / 0.6129 GB, free: 47.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.4456, allocations: 102 kB / 0.613 GB, free: 47.06 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.000474/0.446, allocations: 327 kB / 0.6133 GB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.4462, allocations: 129.4 kB / 0.6134 GB, free: 46.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.448, allocations: 0.9352 MB / 0.6143 GB, free: 46.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.448, allocations: 3.312 kB / 0.6143 GB, free: 46.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.448, allocations: 6.172 kB / 0.6143 GB, free: 46.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.448, allocations: 1.469 kB / 0.6144 GB, free: 46.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.45, allocations: 1.381 MB / 0.6157 GB, free: 45.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.45, allocations: 2.75 kB / 0.6157 GB, free: 45.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.4503, allocations: 58 kB / 0.6158 GB, free: 45.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007037/0.451, allocations: 180.2 kB / 0.6159 GB, free: 45.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.451, allocations: 16.28 kB / 0.6159 GB, free: 45.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.4529, allocations: 3.946 MB / 0.6198 GB, free: 41.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4529, allocations: 2.719 kB / 0.6198 GB, free: 41.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.454, allocations: 0.9184 MB / 0.6207 GB, free: 40.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.4542, allocations: 200.2 kB / 0.6209 GB, free: 40.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.4543, allocations: 12.95 kB / 0.6209 GB, free: 40.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.4547, allocations: 8.344 kB / 0.6209 GB, free: 40.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.4548, allocations: 39.7 kB / 0.6209 GB, free: 40.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.4548, allocations: 23 kB / 0.621 GB, free: 40.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001014/0.4558, allocations: 0.9607 MB / 0.6219 GB, free: 40.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4558, allocations: 0 / 0.6219 GB, free: 40.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001858/0.4577, allocations: 0.7127 MB / 0.6226 GB, free: 40.19 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.001075/0.4588, allocations: 0.8636 MB / 0.6234 GB, free: 39.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.4603, allocations: 0.8209 MB / 0.6242 GB, free: 39.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4603, allocations: 1.812 kB / 0.6242 GB, free: 39.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004631/0.4607, allocations: 394.9 kB / 0.6246 GB, free: 39.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4618, allocations: 187 kB / 0.6248 GB, free: 39.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.4641, allocations: 2.021 MB / 0.6268 GB, free: 38.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.4645, allocations: 1.092 MB / 0.6278 GB, free: 37.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.4648, allocations: 220.9 kB / 0.6281 GB, free: 37.12 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4648, allocations: 0 / 0.6281 GB, free: 37.12 MB / 446.1 MB Notification: Performance of Templates: time 0.03166/0.4965, allocations: 40.91 MB / 0.668 GB, free: 15.83 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.004500772018218] Failed to read output from testmodel.py, exit status != 0: 0.5046474669943564 0.526990563 0.32674478399999995 Calling exit ...