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.00136/0.00136, 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.00144/0.00144, allocations: 210.3 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1393/0.1393, allocations: 23.92 MB / 337.1 MB, free: 10.92 MB / 270.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.002033/0.002033, allocations: 75.88 kB / 472.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3409, allocations: 59.87 MB / 0.5198 GB, free: 9.727 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.07061/0.4115, allocations: 27.55 MB / 0.5467 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02699/0.4385, allocations: 19.03 MB / 0.5653 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.4403, allocations: 27.81 kB / 0.5653 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.442, allocations: 485.8 kB / 0.5658 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.4461, allocations: 0.9674 MB / 0.5668 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01252/0.4586, allocations: 3.344 MB / 0.57 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003587/0.4622, allocations: 1.806 MB / 0.5718 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.4633, allocations: 0.7666 MB / 0.5725 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009763/0.4643, allocations: 0.7986 MB / 0.5733 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.4654, allocations: 0.9068 MB / 0.5742 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.4657, allocations: 148 kB / 0.5743 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005435/0.4711, allocations: 2.001 MB / 0.5763 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000431/0.4715, allocations: 390.7 kB / 0.5767 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007759/0.4723, allocations: 0.669 MB / 0.5773 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007999/0.4803, allocations: 4.05 MB / 0.5813 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4803, allocations: 0 / 0.5813 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4803, allocations: 4 kB / 0.5813 GB, free: 10.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.4803, allocations: 0 / 0.5813 GB, free: 10.81 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.003403/0.4837, allocations: 2.064 MB / 0.5833 GB, free: 8.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4838, allocations: 12.03 kB / 0.5833 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.4856, allocations: 443.1 kB / 0.5837 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.4875, allocations: 0.9959 MB / 0.5847 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.4877, allocations: 209.7 kB / 0.5849 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.4879, allocations: 124 kB / 0.585 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.4907, allocations: 1.76 MB / 0.5867 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.4907, allocations: 7.938 kB / 0.5867 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.4908, allocations: 56 kB / 0.5868 GB, free: 4.992 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.4909, allocations: 35.94 kB / 0.5868 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.4944, allocations: 2.303 MB / 0.5891 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007822/0.5022, allocations: 4.814 MB / 0.5938 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.5035, allocations: 0.6977 MB / 0.5945 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/0.5041, allocations: 340.4 kB / 0.5948 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007222/0.5113, allocations: 2.849 MB / 0.5976 GB, free: 9.785 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.5114, allocations: 42.5 kB / 0.5976 GB, free: 9.734 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.494e-06/0.5114, allocations: 0 / 0.5976 GB, free: 9.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001525/0.5129, allocations: 0.635 MB / 0.5982 GB, free: 9.086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.513, allocations: 110.8 kB / 0.5983 GB, free: 8.953 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.5145, allocations: 1.249 MB / 0.5996 GB, free: 7.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.5145, allocations: 37.64 kB / 0.5996 GB, free: 7.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006568/0.5152, allocations: 0.8684 MB / 0.6004 GB, free: 6.766 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.5153, allocations: 150.8 kB / 0.6006 GB, free: 6.617 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003957/0.5157, allocations: 299.3 kB / 0.6009 GB, free: 6.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.5159, allocations: 353.9 kB / 0.6012 GB, free: 5.969 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005406/0.5164, allocations: 343.8 kB / 0.6015 GB, free: 5.633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.5178, allocations: 1.152 MB / 0.6027 GB, free: 4.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.5198, allocations: 1.545 MB / 0.6042 GB, free: 2.117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/0.5198, allocations: 8 kB / 0.6042 GB, free: 2.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00255/0.5224, allocations: 1.555 MB / 0.6057 GB, free: 0.543 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.5224, allocations: 16 kB / 0.6057 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/0.5224, allocations: 28 kB / 0.6057 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006487/0.5231, allocations: 157.9 kB / 0.6059 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5243, allocations: 399.4 kB / 0.6063 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/0.5276, allocations: 3.833 MB / 0.61 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009477/0.5285, allocations: 178.9 kB / 0.6102 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.5287, allocations: 99.98 kB / 0.6103 GB, free: 11.58 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.0005214/0.5292, allocations: 337 kB / 0.6106 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.5294, allocations: 111.2 kB / 0.6107 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/0.5313, allocations: 0.9339 MB / 0.6116 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5313, allocations: 4 kB / 0.6116 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5313, allocations: 4 kB / 0.6116 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5313, allocations: 3.938 kB / 0.6116 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.5334, allocations: 1.171 MB / 0.6128 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5334, allocations: 0 / 0.6128 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.5336, allocations: 59.91 kB / 0.6128 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007477/0.5344, allocations: 171.1 kB / 0.613 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.5344, allocations: 19.98 kB / 0.613 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.5373, allocations: 3.695 MB / 0.6166 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5373, allocations: 0 / 0.6166 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.5387, allocations: 0.9024 MB / 0.6175 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.5389, allocations: 103.4 kB / 0.6176 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.539, allocations: 23.89 kB / 0.6176 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.5394, allocations: 8 kB / 0.6176 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.5394, allocations: 39.88 kB / 0.6177 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.5395, allocations: 20 kB / 0.6177 GB, free: 3.523 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001083/0.5406, allocations: 0.8807 MB / 0.6185 GB, free: 2.637 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5406, allocations: 0 / 0.6185 GB, free: 2.637 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002127/0.5427, allocations: 0.72 MB / 0.6192 GB, free: 1.914 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.001486/0.5442, allocations: 0.8594 MB / 0.6201 GB, free: 1.047 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.5459, allocations: 0.8109 MB / 0.6209 GB, free: 248 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5459, allocations: 4.062 kB / 0.6209 GB, free: 244 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005538/0.5464, allocations: 389.4 kB / 0.6213 GB, free: 15.83 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.5474, allocations: 161.7 kB / 0.6214 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.5504, allocations: 1.98 MB / 0.6233 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.5509, allocations: 0.5032 MB / 0.6238 GB, free: 13.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000823/0.5518, allocations: 302.5 kB / 0.6241 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.552, allocations: 147.4 kB / 0.6243 GB, free: 12.67 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.552, allocations: 0 / 0.6243 GB, free: 12.67 MB / 478.1 MB Notification: Performance of Templates: time 0.03544/0.5875, allocations: 22.76 MB / 0.6465 GB, free: 6.051 MB / 494.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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5987326559989015] Failed to read output from testmodel.py, exit status != 0: 0.5968656500044744 0.6102501850000001 0.126953388 Calling exit ...