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.001591/0.001591, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001809/0.001809, allocations: 214.7 kB / 22.99 MB, free: 4.945 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1381/0.1381, allocations: 23.88 MB / 337.1 MB, free: 11.08 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.002146/0.002146, allocations: 72.19 kB / 472.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3367, allocations: 59.86 MB / 0.5198 GB, free: 9.691 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.07621/0.4129, allocations: 27.71 MB / 0.5468 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02761/0.4406, allocations: 19.02 MB / 0.5654 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.442, allocations: 27.75 kB / 0.5654 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.4438, allocations: 494.7 kB / 0.5659 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003501/0.4473, allocations: 0.9584 MB / 0.5668 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009776/0.4571, allocations: 3.354 MB / 0.5701 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002975/0.46, allocations: 1.802 MB / 0.5719 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.4611, allocations: 0.7509 MB / 0.5726 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000937/0.462, allocations: 0.8141 MB / 0.5734 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.4631, allocations: 0.8053 MB / 0.5742 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.4634, allocations: 151.9 kB / 0.5743 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005366/0.4687, allocations: 1.954 MB / 0.5762 GB, free: 16 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000472/0.4692, allocations: 383 kB / 0.5766 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008104/0.47, allocations: 0.6767 MB / 0.5773 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008217/0.4782, allocations: 4.042 MB / 0.5812 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4783, allocations: 7.922 kB / 0.5812 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4783, allocations: 3.938 kB / 0.5812 GB, free: 10.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.812e-05/0.4783, allocations: 0 / 0.5812 GB, free: 10.89 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.003706/0.482, allocations: 2.06 MB / 0.5832 GB, free: 8.789 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.482, allocations: 12.03 kB / 0.5832 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.4838, allocations: 443.1 kB / 0.5837 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.4859, allocations: 0.992 MB / 0.5846 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.4861, allocations: 209.7 kB / 0.5848 GB, free: 7.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.4863, allocations: 124 kB / 0.585 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/0.4891, allocations: 1.764 MB / 0.5867 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.4892, allocations: 0 / 0.5867 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.4893, allocations: 60 kB / 0.5867 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.4893, allocations: 32 kB / 0.5868 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003627/0.493, allocations: 2.307 MB / 0.589 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00806/0.501, allocations: 4.818 MB / 0.5937 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.5024, allocations: 0.6938 MB / 0.5944 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/0.503, allocations: 336.4 kB / 0.5947 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006993/0.51, allocations: 2.865 MB / 0.5975 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.5101, allocations: 38.56 kB / 0.5976 GB, free: 9.812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/0.5101, allocations: 0 / 0.5976 GB, free: 9.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001524/0.5116, allocations: 0.6387 MB / 0.5982 GB, free: 9.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/0.5117, allocations: 110.8 kB / 0.5983 GB, free: 9.027 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.5134, allocations: 1.241 MB / 0.5995 GB, free: 7.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.5134, allocations: 33.7 kB / 0.5995 GB, free: 7.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006856/0.5141, allocations: 0.8645 MB / 0.6004 GB, free: 6.855 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.5143, allocations: 154.8 kB / 0.6005 GB, free: 6.703 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003791/0.5146, allocations: 295.3 kB / 0.6008 GB, free: 6.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.5148, allocations: 358.2 kB / 0.6011 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005824/0.5154, allocations: 347.8 kB / 0.6015 GB, free: 5.715 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.5168, allocations: 1.156 MB / 0.6026 GB, free: 4.148 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.5187, allocations: 1.533 MB / 0.6041 GB, free: 2.207 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.5187, allocations: 15.94 kB / 0.6041 GB, free: 2.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002612/0.5213, allocations: 1.551 MB / 0.6056 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.5214, allocations: 20 kB / 0.6057 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.5214, allocations: 28.91 kB / 0.6057 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.5221, allocations: 165.2 kB / 0.6058 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5233, allocations: 395.4 kB / 0.6062 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.5267, allocations: 3.828 MB / 0.61 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009474/0.5276, allocations: 178.7 kB / 0.6101 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.5278, allocations: 99.98 kB / 0.6102 GB, free: 11.66 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.0005433/0.5283, allocations: 329.3 kB / 0.6105 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.5285, allocations: 107.3 kB / 0.6106 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.5304, allocations: 0.955 MB / 0.6116 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5305, allocations: 4 kB / 0.6116 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5305, allocations: 4 kB / 0.6116 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5305, allocations: 0 / 0.6116 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.5326, allocations: 1.158 MB / 0.6127 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5326, allocations: 0 / 0.6127 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.5328, allocations: 63.91 kB / 0.6128 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007317/0.5336, allocations: 175.5 kB / 0.6129 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.5336, allocations: 20 kB / 0.613 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003174/0.5368, allocations: 3.696 MB / 0.6166 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.5368, allocations: 7.969 kB / 0.6166 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.5382, allocations: 0.9001 MB / 0.6175 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.5384, allocations: 103.2 kB / 0.6175 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.5386, allocations: 19.89 kB / 0.6176 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.5389, allocations: 8 kB / 0.6176 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.539, allocations: 35.89 kB / 0.6176 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.5391, allocations: 23.98 kB / 0.6176 GB, free: 3.605 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001193/0.5402, allocations: 0.8768 MB / 0.6185 GB, free: 2.723 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5402, allocations: 0 / 0.6185 GB, free: 2.723 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002316/0.5426, allocations: 0.7162 MB / 0.6192 GB, free: 2.004 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.001661/0.5442, allocations: 0.8559 MB / 0.62 GB, free: 1.141 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.5462, allocations: 0.8181 MB / 0.6208 GB, free: 336 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5462, allocations: 0 / 0.6208 GB, free: 336 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006276/0.5468, allocations: 390.3 kB / 0.6212 GB, free: 15.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.5479, allocations: 158.6 kB / 0.6213 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.5515, allocations: 2.024 MB / 0.6233 GB, free: 13.67 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.5521, allocations: 0.4954 MB / 0.6238 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.5525, allocations: 219.3 kB / 0.624 GB, free: 12.93 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5525, allocations: 0 / 0.624 GB, free: 12.93 MB / 478.1 MB Notification: Performance of Templates: time 0.0511/0.6036, allocations: 40.88 MB / 0.6639 GB, free: 4.105 MB / 0.4981 GB " [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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.008752385620028] Failed to read output from testmodel.py, exit status != 0: 0.613265038933605 0.627678057 0.146331486 Calling exit ...