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.001321/0.001321, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001519/0.001519, allocations: 221.7 kB / 23.01 MB, free: 4.609 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.1452/0.1452, allocations: 23.85 MB / 337 MB, free: 11.21 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.002001/0.002001, allocations: 64.17 kB / 472.4 MB, free: 7.195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3212, allocations: 59.87 MB / 0.5198 GB, free: 9.844 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.03875/0.3599, allocations: 27.8 MB / 0.547 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02358/0.3835, allocations: 18.32 MB / 0.5649 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.3852, allocations: 23.81 kB / 0.5649 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.3868, allocations: 483.5 kB / 0.5653 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.3899, allocations: 0.8336 MB / 0.5662 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008941/0.3988, allocations: 2.858 MB / 0.5689 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002987/0.4018, allocations: 1.643 MB / 0.5705 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.403, allocations: 0.7273 MB / 0.5713 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009917/0.404, allocations: 0.7284 MB / 0.572 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.4052, allocations: 0.8133 MB / 0.5728 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.4054, allocations: 144 kB / 0.5729 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005718/0.4111, allocations: 1.782 MB / 0.5746 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005473/0.4117, allocations: 358.8 kB / 0.575 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.4127, allocations: 0.7427 MB / 0.5757 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00862/0.4213, allocations: 3.579 MB / 0.5792 GB, free: 13.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4213, allocations: 8 kB / 0.5792 GB, free: 13.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4213, allocations: 0 / 0.5792 GB, free: 13.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.077e-05/0.4213, allocations: 0 / 0.5792 GB, free: 13.2 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.003617/0.425, allocations: 1.897 MB / 0.5811 GB, free: 11.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.425, allocations: 12.03 kB / 0.5811 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.4266, allocations: 395.3 kB / 0.5815 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.4284, allocations: 0.912 MB / 0.5823 GB, free: 9.926 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.4286, allocations: 205.5 kB / 0.5825 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.4288, allocations: 112 kB / 0.5826 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.4316, allocations: 1.657 MB / 0.5843 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.4316, allocations: 11.88 kB / 0.5843 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.4317, allocations: 52 kB / 0.5843 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.4317, allocations: 32 kB / 0.5844 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.4351, allocations: 2.12 MB / 0.5864 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008909/0.444, allocations: 5.396 MB / 0.5917 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.4453, allocations: 0.6859 MB / 0.5924 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005917/0.4459, allocations: 332.4 kB / 0.5927 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006737/0.4527, allocations: 2.769 MB / 0.5954 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.4527, allocations: 46.48 kB / 0.5954 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003265/0.453, allocations: 79.25 kB / 0.5955 GB, free: 12.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.923e-06/0.453, allocations: 0 / 0.5955 GB, free: 12.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001386/0.4544, allocations: 0.6083 MB / 0.5961 GB, free: 11.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.4545, allocations: 110.8 kB / 0.5962 GB, free: 11.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.456, allocations: 1.214 MB / 0.5974 GB, free: 10.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.4561, allocations: 29.7 kB / 0.5974 GB, free: 10.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000625/0.4567, allocations: 0.7945 MB / 0.5982 GB, free: 9.262 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.4568, allocations: 146.9 kB / 0.5983 GB, free: 9.117 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.4572, allocations: 274.9 kB / 0.5986 GB, free: 8.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4573, allocations: 357.9 kB / 0.5989 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/0.4579, allocations: 334.4 kB / 0.5993 GB, free: 8.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.459, allocations: 1.05 MB / 0.6003 GB, free: 6.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.4608, allocations: 1.403 MB / 0.6017 GB, free: 4.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.4608, allocations: 8 kB / 0.6017 GB, free: 4.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002372/0.4632, allocations: 1.456 MB / 0.6031 GB, free: 3.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.4632, allocations: 16 kB / 0.6031 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/0.4633, allocations: 31.94 kB / 0.6031 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006411/0.4639, allocations: 154.1 kB / 0.6033 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.4651, allocations: 367.4 kB / 0.6036 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/0.4684, allocations: 3.874 MB / 0.6074 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008548/0.4692, allocations: 80.06 kB / 0.6075 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.4694, allocations: 91.98 kB / 0.6076 GB, free: 14.61 MB / 462.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.0004783/0.4699, allocations: 313.1 kB / 0.6079 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.4701, allocations: 111.3 kB / 0.608 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.4718, allocations: 0.8545 MB / 0.6088 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.4718, allocations: 4 kB / 0.6088 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.4718, allocations: 0 / 0.6088 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4718, allocations: 0 / 0.6088 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.474, allocations: 1.235 MB / 0.61 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.474, allocations: 4.188 kB / 0.61 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.4742, allocations: 63.91 kB / 0.6101 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007623/0.475, allocations: 179 kB / 0.6103 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.475, allocations: 12 kB / 0.6103 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/0.4783, allocations: 3.745 MB / 0.6139 GB, free: 7.672 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4783, allocations: 3.984 kB / 0.6139 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.4797, allocations: 0.8559 MB / 0.6148 GB, free: 6.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.4799, allocations: 95.28 kB / 0.6149 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.48, allocations: 16.05 kB / 0.6149 GB, free: 6.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.4804, allocations: 12 kB / 0.6149 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.4805, allocations: 35.83 kB / 0.6149 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.4805, allocations: 20 kB / 0.6149 GB, free: 6.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001228/0.4817, allocations: 0.8966 MB / 0.6158 GB, free: 5.684 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4817, allocations: 0 / 0.6158 GB, free: 5.684 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001984/0.4837, allocations: 0.6267 MB / 0.6164 GB, free: 5.055 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.001328/0.4851, allocations: 0.7451 MB / 0.6171 GB, free: 4.301 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.4868, allocations: 0.7629 MB / 0.6179 GB, free: 3.543 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.4868, allocations: 1.938 kB / 0.6179 GB, free: 3.543 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.4874, allocations: 393.5 kB / 0.6183 GB, free: 3.133 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.4884, allocations: 177.1 kB / 0.6184 GB, free: 2.969 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.4916, allocations: 1.888 MB / 0.6203 GB, free: 1.016 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.4924, allocations: 1.059 MB / 0.6213 GB, free: 15.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.4928, allocations: 191.2 kB / 0.6215 GB, free: 15.74 MB / 478.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4928, allocations: 0 / 0.6215 GB, free: 15.74 MB / 478.1 MB Notification: Performance of Templates: time 0.04562/0.5384, allocations: 37.4 MB / 0.658 GB, free: 10.41 MB / 0.4981 GB " [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.065017441986129] Failed to read output from testmodel.py, exit status != 0: 0.5479251218494028 0.574057107 0.147725881 Calling exit ...