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.001279/0.001279, 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.001457/0.001457, allocations: 209.9 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.414/1.414, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1326/0.1326, allocations: 23.92 MB / 337.1 MB, free: 11.04 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.002046/0.002046, allocations: 67.89 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2731, allocations: 59.87 MB / 0.5198 GB, free: 9.762 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.06916/0.3423, allocations: 27.54 MB / 0.5467 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.3674, allocations: 19.03 MB / 0.5653 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.3686, allocations: 27.75 kB / 0.5653 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.37, allocations: 489.4 kB / 0.5658 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.3728, allocations: 0.9633 MB / 0.5667 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008646/0.3814, allocations: 3.343 MB / 0.57 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002529/0.384, allocations: 1.802 MB / 0.5718 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009951/0.3849, allocations: 0.7666 MB / 0.5725 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008715/0.3858, allocations: 0.8102 MB / 0.5733 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.3869, allocations: 0.9029 MB / 0.5742 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.3872, allocations: 148 kB / 0.5743 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004745/0.3919, allocations: 2.005 MB / 0.5763 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004406/0.3924, allocations: 386.8 kB / 0.5767 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007406/0.3931, allocations: 0.6729 MB / 0.5773 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00717/0.4003, allocations: 4.046 MB / 0.5813 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4003, allocations: 0 / 0.5813 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4003, allocations: 0 / 0.5813 GB, free: 10.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.075e-05/0.4003, allocations: 0 / 0.5813 GB, free: 10.82 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.003565/0.4039, allocations: 2.072 MB / 0.5833 GB, free: 8.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4039, allocations: 12.03 kB / 0.5833 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.4058, allocations: 439.1 kB / 0.5837 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.4077, allocations: 0.992 MB / 0.5847 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.4079, allocations: 209.7 kB / 0.5849 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.4081, allocations: 128 kB / 0.585 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.411, allocations: 1.764 MB / 0.5867 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.4111, allocations: 4 kB / 0.5867 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.4112, allocations: 55.94 kB / 0.5868 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.4113, allocations: 35.98 kB / 0.5868 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00361/0.4149, allocations: 2.303 MB / 0.5891 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008016/0.4229, allocations: 4.81 MB / 0.5938 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.4243, allocations: 0.6977 MB / 0.5945 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006052/0.4249, allocations: 344.4 kB / 0.5948 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007076/0.432, allocations: 2.853 MB / 0.5976 GB, free: 9.785 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.432, allocations: 42.5 kB / 0.5976 GB, free: 9.734 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.896e-06/0.432, allocations: 0 / 0.5976 GB, free: 9.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001521/0.4335, allocations: 0.631 MB / 0.5982 GB, free: 9.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.4336, allocations: 118.8 kB / 0.5983 GB, free: 8.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.435, allocations: 1.245 MB / 0.5996 GB, free: 7.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.4351, allocations: 33.95 kB / 0.5996 GB, free: 7.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006296/0.4357, allocations: 0.8684 MB / 0.6004 GB, free: 6.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4359, allocations: 150.8 kB / 0.6006 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000391/0.4363, allocations: 299.3 kB / 0.6009 GB, free: 6.324 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4364, allocations: 353.9 kB / 0.6012 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/0.437, allocations: 343.8 kB / 0.6015 GB, free: 5.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.4382, allocations: 1.152 MB / 0.6027 GB, free: 4.074 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.44, allocations: 1.541 MB / 0.6042 GB, free: 2.125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.44, allocations: 8 kB / 0.6042 GB, free: 2.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002503/0.4425, allocations: 1.56 MB / 0.6057 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.4425, allocations: 16 kB / 0.6057 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/0.4426, allocations: 31.98 kB / 0.6057 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006138/0.4432, allocations: 157.3 kB / 0.6059 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.4444, allocations: 403.4 kB / 0.6063 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.4476, allocations: 3.825 MB / 0.61 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/0.4485, allocations: 183 kB / 0.6102 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.4487, 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.0005105/0.4492, allocations: 331.9 kB / 0.6106 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.4494, allocations: 111.2 kB / 0.6107 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.4513, allocations: 0.9315 MB / 0.6116 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4513, allocations: 4 kB / 0.6116 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4513, allocations: 7.938 kB / 0.6116 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.4513, allocations: 0 / 0.6116 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.4534, allocations: 1.17 MB / 0.6128 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4534, allocations: 0 / 0.6128 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.4537, allocations: 59.91 kB / 0.6128 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007781/0.4545, allocations: 179.3 kB / 0.613 GB, free: 8.656 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.4545, allocations: 16 kB / 0.613 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/0.4575, allocations: 3.691 MB / 0.6166 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4575, allocations: 4.438 kB / 0.6166 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.4588, allocations: 0.9035 MB / 0.6175 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.4591, allocations: 99.2 kB / 0.6176 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.4592, allocations: 23.88 kB / 0.6176 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.4596, allocations: 8 kB / 0.6176 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.4597, allocations: 35.89 kB / 0.6177 GB, free: 3.555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.4597, allocations: 24.06 kB / 0.6177 GB, free: 3.531 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001096/0.4608, allocations: 0.8807 MB / 0.6185 GB, free: 2.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4608, allocations: 0 / 0.6185 GB, free: 2.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002038/0.4628, allocations: 0.7239 MB / 0.6192 GB, free: 1.918 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.001476/0.4643, allocations: 0.8517 MB / 0.6201 GB, free: 1.059 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.466, allocations: 0.8185 MB / 0.6209 GB, free: 252 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.466, allocations: 0 / 0.6209 GB, free: 252 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.4666, allocations: 393.9 kB / 0.6213 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.4676, allocations: 154.3 kB / 0.6214 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.4706, allocations: 1.99 MB / 0.6233 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.4711, allocations: 0.4993 MB / 0.6238 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008295/0.4719, allocations: 299.2 kB / 0.6241 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.4722, allocations: 155.3 kB / 0.6243 GB, free: 12.67 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4722, allocations: 0 / 0.6243 GB, free: 12.67 MB / 478.1 MB Notification: Performance of Templates: time 0.03505/0.5073, allocations: 22.75 MB / 0.6465 GB, free: 6.055 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 gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.337949820997892] Failed to read output from testmodel.py, exit status != 0: 0.5161719349998748 0.530413252 0.126963667 Calling exit ...