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.001254/0.001254, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001485/0.001485, allocations: 211.4 kB / 22.99 MB, free: 4.984 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1367/0.1367, allocations: 23.89 MB / 337.1 MB, free: 10.98 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.002082/0.002082, allocations: 67.89 kB / 472.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2969, allocations: 59.86 MB / 0.5198 GB, free: 9.805 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.07007/0.3669, allocations: 27.02 MB / 0.5461 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02205/0.389, allocations: 16.04 MB / 0.5618 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.3901, allocations: 27.75 kB / 0.5618 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.3913, allocations: 423.1 kB / 0.5622 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.3935, allocations: 0.8141 MB / 0.563 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007762/0.4012, allocations: 2.858 MB / 0.5658 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.4035, allocations: 1.633 MB / 0.5674 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009749/0.4045, allocations: 0.739 MB / 0.5681 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007935/0.4053, allocations: 0.7245 MB / 0.5688 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.4063, allocations: 0.8211 MB / 0.5697 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.4065, allocations: 144 kB / 0.5698 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/0.4105, allocations: 1.712 MB / 0.5715 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.4109, allocations: 358.8 kB / 0.5718 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006545/0.4115, allocations: 0.6224 MB / 0.5724 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005469/0.417, allocations: 3.575 MB / 0.5759 GB, free: 316 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.417, allocations: 0 / 0.5759 GB, free: 316 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.417, allocations: 0 / 0.5759 GB, free: 316 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.417, allocations: 0 / 0.5759 GB, free: 316 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.003301/0.4203, allocations: 1.901 MB / 0.5778 GB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.4204, allocations: 8.031 kB / 0.5778 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.422, allocations: 395.3 kB / 0.5781 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.4238, allocations: 0.9003 MB / 0.579 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.424, allocations: 209.5 kB / 0.5792 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.4242, allocations: 112 kB / 0.5793 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.4269, allocations: 1.672 MB / 0.581 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.427, allocations: 0 / 0.581 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.4271, allocations: 48 kB / 0.581 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.4271, allocations: 32 kB / 0.581 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.4304, allocations: 2.1 MB / 0.5831 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007915/0.4383, allocations: 4.698 MB / 0.5877 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.4397, allocations: 0.6917 MB / 0.5884 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.4403, allocations: 332.4 kB / 0.5887 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006759/0.4471, allocations: 2.643 MB / 0.5913 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.4471, allocations: 38.56 kB / 0.5913 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002712/0.4474, allocations: 71.3 kB / 0.5914 GB, free: 128 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.4474, allocations: 0 / 0.5914 GB, free: 128 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.001492/0.4489, allocations: 0.6004 MB / 0.5919 GB, free: 15.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.4489, allocations: 110.8 kB / 0.592 GB, free: 15.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.4503, allocations: 1.158 MB / 0.5932 GB, free: 14.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.4504, allocations: 33.7 kB / 0.5932 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006156/0.451, allocations: 0.8139 MB / 0.594 GB, free: 13.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.4511, allocations: 142.9 kB / 0.5941 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.4515, allocations: 274.7 kB / 0.5944 GB, free: 12.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.4517, allocations: 398.7 kB / 0.5948 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.4523, allocations: 330.6 kB / 0.5951 GB, free: 12.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.4535, allocations: 1.061 MB / 0.5961 GB, free: 10.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.4552, allocations: 1.407 MB / 0.5975 GB, free: 9.004 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.4552, allocations: 8 kB / 0.5975 GB, free: 8.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002357/0.4576, allocations: 1.448 MB / 0.5989 GB, free: 7.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.4576, allocations: 20.03 kB / 0.599 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/0.4577, allocations: 28 kB / 0.599 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006527/0.4583, allocations: 149.5 kB / 0.5991 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.4596, allocations: 379.4 kB / 0.5995 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003336/0.4629, allocations: 3.808 MB / 0.6032 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/0.4637, allocations: 72.17 kB / 0.6033 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.4638, allocations: 95.98 kB / 0.6034 GB, free: 2.73 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.0004744/0.4643, allocations: 317.1 kB / 0.6037 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.4645, allocations: 95.34 kB / 0.6038 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.4663, allocations: 0.8498 MB / 0.6046 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4663, allocations: 11.92 kB / 0.6046 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.4663, allocations: 0 / 0.6046 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4663, allocations: 4.047 kB / 0.6046 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.4682, allocations: 1.05 MB / 0.6056 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4682, allocations: 7.984 kB / 0.6056 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.4685, allocations: 59.91 kB / 0.6057 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000783/0.4693, allocations: 179.2 kB / 0.6059 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.4693, allocations: 16 kB / 0.6059 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00314/0.4724, allocations: 3.699 MB / 0.6095 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4724, allocations: 8.094 kB / 0.6095 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.4737, allocations: 0.8504 MB / 0.6103 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.4739, allocations: 79.41 kB / 0.6104 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.474, allocations: 11.94 kB / 0.6104 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.4744, allocations: 8 kB / 0.6104 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.4745, allocations: 36.02 kB / 0.6105 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.4745, allocations: 23.98 kB / 0.6105 GB, free: 10.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00105/0.4756, allocations: 0.8152 MB / 0.6113 GB, free: 10.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4756, allocations: 0 / 0.6113 GB, free: 10.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001902/0.4775, allocations: 0.6422 MB / 0.6119 GB, free: 9.523 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.001299/0.4788, allocations: 0.7421 MB / 0.6126 GB, free: 8.773 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.4803, allocations: 0.771 MB / 0.6134 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4804, allocations: 0 / 0.6134 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005639/0.4809, allocations: 377.4 kB / 0.6137 GB, free: 7.613 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009642/0.4819, allocations: 162.6 kB / 0.6139 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.4847, allocations: 1.849 MB / 0.6157 GB, free: 5.555 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.4852, allocations: 476.5 kB / 0.6162 GB, free: 5.055 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007484/0.486, allocations: 271.2 kB / 0.6164 GB, free: 4.805 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.4862, allocations: 135.4 kB / 0.6165 GB, free: 4.672 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4862, allocations: 0 / 0.6165 GB, free: 4.672 MB / 462.1 MB Notification: Performance of Templates: time 0.03267/0.5189, allocations: 20.28 MB / 0.6363 GB, free: 0.5195 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 gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.589627307999763] Failed to read output from testmodel.py, exit status != 0: 0.5273506280063884 0.541782682 0.121638721 Calling exit ...