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.001328/0.001328, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001414/0.001414, allocations: 207.2 kB / 22.99 MB, free: 4.957 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.1387/0.1387, allocations: 23.89 MB / 337.1 MB, free: 11 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.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.002079/0.002079, allocations: 75.88 kB / 472.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2939, allocations: 59.86 MB / 0.5198 GB, free: 9.828 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.07271/0.3666, allocations: 27.55 MB / 0.5467 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02604/0.3926, allocations: 19.01 MB / 0.5652 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.3939, allocations: 27.75 kB / 0.5653 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.3953, allocations: 497.2 kB / 0.5657 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.3981, allocations: 0.9635 MB / 0.5667 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009145/0.4072, allocations: 3.343 MB / 0.5699 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00295/0.4102, allocations: 1.806 MB / 0.5717 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.4112, allocations: 0.7666 MB / 0.5725 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008846/0.4121, allocations: 0.8102 MB / 0.5732 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.4133, allocations: 0.8912 MB / 0.5741 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.4135, allocations: 148 kB / 0.5743 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005257/0.4188, allocations: 2.009 MB / 0.5762 GB, free: 0 / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004223/0.4192, allocations: 382.9 kB / 0.5766 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007126/0.4199, allocations: 0.669 MB / 0.5772 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007196/0.4271, allocations: 4.054 MB / 0.5812 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4271, allocations: 7.938 kB / 0.5812 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4271, allocations: 0 / 0.5812 GB, free: 10.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.4271, allocations: 4 kB / 0.5812 GB, free: 10.87 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.003534/0.4307, allocations: 2.06 MB / 0.5832 GB, free: 8.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4307, allocations: 8.031 kB / 0.5832 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.4326, allocations: 447 kB / 0.5837 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.4346, allocations: 0.9881 MB / 0.5846 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.4348, allocations: 217.6 kB / 0.5848 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.435, allocations: 120 kB / 0.5849 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002947/0.438, allocations: 1.76 MB / 0.5867 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.438, allocations: 3.938 kB / 0.5867 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.4382, allocations: 55.94 kB / 0.5867 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.4382, allocations: 32 kB / 0.5867 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003664/0.4419, allocations: 2.323 MB / 0.589 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00806/0.4499, allocations: 4.81 MB / 0.5937 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.4513, allocations: 0.69 MB / 0.5944 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/0.452, allocations: 336.4 kB / 0.5947 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007306/0.4593, allocations: 2.865 MB / 0.5975 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.4593, allocations: 38.56 kB / 0.5975 GB, free: 9.793 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.4593, allocations: 0 / 0.5975 GB, free: 9.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.00159/0.4609, allocations: 0.639 MB / 0.5982 GB, free: 9.141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.461, allocations: 110.8 kB / 0.5983 GB, free: 9.008 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.4625, allocations: 1.245 MB / 0.5995 GB, free: 7.746 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/0.4626, allocations: 33.7 kB / 0.5995 GB, free: 7.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007562/0.4634, allocations: 0.8723 MB / 0.6004 GB, free: 6.824 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.4635, allocations: 150.8 kB / 0.6005 GB, free: 6.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.464, allocations: 295.3 kB / 0.6008 GB, free: 6.383 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.4642, allocations: 357.9 kB / 0.6011 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/0.4648, allocations: 335.8 kB / 0.6015 GB, free: 5.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.4664, allocations: 1.159 MB / 0.6026 GB, free: 4.129 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.4685, allocations: 1.541 MB / 0.6041 GB, free: 2.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.882e-05/0.4686, allocations: 8 kB / 0.6041 GB, free: 2.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002611/0.4712, allocations: 1.552 MB / 0.6056 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4712, allocations: 16 kB / 0.6056 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.192e-05/0.4712, allocations: 35.98 kB / 0.6057 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006516/0.4719, allocations: 157.3 kB / 0.6058 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.4731, allocations: 395.8 kB / 0.6062 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/0.4765, allocations: 3.828 MB / 0.6099 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009413/0.4774, allocations: 179.1 kB / 0.6101 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.4775, allocations: 104 kB / 0.6102 GB, free: 11.64 MB / 462.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.0005136/0.4781, allocations: 332.2 kB / 0.6105 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.4783, allocations: 111.2 kB / 0.6106 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.4802, allocations: 0.9405 MB / 0.6115 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.4802, allocations: 4 kB / 0.6115 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.4802, allocations: 4 kB / 0.6116 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4803, allocations: 0 / 0.6116 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.4824, allocations: 1.162 MB / 0.6127 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.4824, allocations: 4.281 kB / 0.6127 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.4827, allocations: 63.91 kB / 0.6128 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007974/0.4835, allocations: 171.3 kB / 0.6129 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.4835, allocations: 12 kB / 0.6129 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/0.4867, allocations: 3.712 MB / 0.6166 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4867, allocations: 4 kB / 0.6166 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.4881, allocations: 0.888 MB / 0.6174 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.4883, allocations: 99.23 kB / 0.6175 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.4884, allocations: 24.03 kB / 0.6175 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.4888, allocations: 12 kB / 0.6176 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.4889, allocations: 35.95 kB / 0.6176 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.4889, allocations: 16 kB / 0.6176 GB, free: 3.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001109/0.49, allocations: 0.8885 MB / 0.6185 GB, free: 2.707 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.49, allocations: 0 / 0.6185 GB, free: 2.707 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0022/0.4922, allocations: 0.72 MB / 0.6192 GB, free: 1.984 MB / 462.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.001602/0.4938, allocations: 0.8566 MB / 0.62 GB, free: 1.117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.4957, allocations: 0.8106 MB / 0.6208 GB, free: 320 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4957, allocations: 384 / 0.6208 GB, free: 320 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.4963, allocations: 385.2 kB / 0.6212 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.4973, allocations: 169.3 kB / 0.6213 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.5005, allocations: 1.98 MB / 0.6233 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.5011, allocations: 0.5032 MB / 0.6238 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008466/0.5019, allocations: 298.2 kB / 0.624 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.5022, allocations: 151.3 kB / 0.6242 GB, free: 12.75 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5022, allocations: 0 / 0.6242 GB, free: 12.75 MB / 478.1 MB Notification: Performance of Templates: time 0.03691/0.5391, allocations: 22.75 MB / 0.6464 GB, free: 6.133 MB / 494.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 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.599135557000409] Failed to read output from testmodel.py, exit status != 0: 0.5477231910044793 0.566554095 0.135452566 Calling exit ...