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.001369/0.001369, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001479/0.001479, allocations: 212.6 kB / 23.01 MB, free: 4.566 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.1344/0.1344, allocations: 23.89 MB / 337.1 MB, free: 11.19 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.002276/0.002276, allocations: 67.91 kB / 472.5 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3436, allocations: 59.88 MB / 0.5199 GB, free: 9.84 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.04015/0.3838, allocations: 28.48 MB / 0.5477 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02871/0.4125, allocations: 21.76 MB / 0.569 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.4141, allocations: 27.75 kB / 0.569 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.4159, allocations: 0.532 MB / 0.5695 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.4196, allocations: 1.007 MB / 0.5705 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.4313, allocations: 3.359 MB / 0.5738 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003802/0.4351, allocations: 1.806 MB / 0.5755 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.4363, allocations: 0.7588 MB / 0.5763 GB, free: 284 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.4373, allocations: 0.8026 MB / 0.577 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.4386, allocations: 0.899 MB / 0.5779 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.4388, allocations: 148 kB / 0.5781 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006527/0.4454, allocations: 2.086 MB / 0.5801 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005607/0.4459, allocations: 382.8 kB / 0.5805 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.447, allocations: 0.8126 MB / 0.5813 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00993/0.4569, allocations: 4.058 MB / 0.5852 GB, free: 7.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4569, allocations: 0 / 0.5852 GB, free: 7.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4569, allocations: 0 / 0.5852 GB, free: 7.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.376e-05/0.457, allocations: 0 / 0.5852 GB, free: 7.07 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.00382/0.4608, allocations: 2.072 MB / 0.5873 GB, free: 4.957 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4608, allocations: 16.02 kB / 0.5873 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.4626, allocations: 443.1 kB / 0.5877 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.4646, allocations: 0.9959 MB / 0.5887 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.4648, allocations: 205.7 kB / 0.5889 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/0.465, allocations: 128 kB / 0.589 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.4679, allocations: 1.76 MB / 0.5907 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.4679, allocations: 0 / 0.5907 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.4681, allocations: 52 kB / 0.5907 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.4681, allocations: 32 kB / 0.5908 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.4717, allocations: 2.346 MB / 0.5931 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009145/0.4809, allocations: 5.524 MB / 0.5985 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.4823, allocations: 0.6979 MB / 0.5991 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/0.4829, allocations: 340.3 kB / 0.5995 GB, free: 8.094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007482/0.4904, allocations: 2.986 MB / 0.6024 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.4904, allocations: 38.56 kB / 0.6024 GB, free: 5.035 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.374e-06/0.4904, allocations: 0 / 0.6024 GB, free: 5.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001646/0.4921, allocations: 0.6465 MB / 0.6031 GB, free: 4.375 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.4921, allocations: 115 kB / 0.6032 GB, free: 4.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.4938, allocations: 1.307 MB / 0.6044 GB, free: 2.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.4939, allocations: 37.64 kB / 0.6045 GB, free: 2.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007044/0.4946, allocations: 0.8568 MB / 0.6053 GB, free: 2.012 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.4948, allocations: 158.8 kB / 0.6055 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/0.4951, allocations: 291.3 kB / 0.6057 GB, free: 1.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.4954, allocations: 353.9 kB / 0.6061 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.4959, allocations: 347.8 kB / 0.6064 GB, free: 0.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.4973, allocations: 1.156 MB / 0.6075 GB, free: 15.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.4992, allocations: 1.537 MB / 0.609 GB, free: 13.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.4992, allocations: 8 kB / 0.609 GB, free: 13.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002661/0.5019, allocations: 1.571 MB / 0.6106 GB, free: 11.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.5019, allocations: 16 kB / 0.6106 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/0.5019, allocations: 35.94 kB / 0.6106 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.5026, allocations: 157.4 kB / 0.6108 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.5037, allocations: 399.6 kB / 0.6112 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.5072, allocations: 3.871 MB / 0.6149 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.5083, allocations: 190.8 kB / 0.6151 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.5084, allocations: 104 kB / 0.6152 GB, free: 6.727 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.0005385/0.509, allocations: 329.5 kB / 0.6155 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.5092, allocations: 115.3 kB / 0.6156 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.511, allocations: 0.9448 MB / 0.6166 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5111, allocations: 7.938 kB / 0.6166 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.5111, allocations: 0 / 0.6166 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5111, allocations: 7.984 kB / 0.6166 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.5133, allocations: 1.34 MB / 0.6179 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5134, allocations: 0 / 0.6179 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.5136, allocations: 63.91 kB / 0.618 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007532/0.5144, allocations: 179.3 kB / 0.6181 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.5144, allocations: 16 kB / 0.6181 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00316/0.5176, allocations: 3.745 MB / 0.6218 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5176, allocations: 3.938 kB / 0.6218 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.5189, allocations: 0.9133 MB / 0.6227 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.5192, allocations: 119.1 kB / 0.6228 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.5194, allocations: 16 kB / 0.6228 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.5197, allocations: 12 kB / 0.6228 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.5198, allocations: 39.83 kB / 0.6229 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.5198, allocations: 20 kB / 0.6229 GB, free: 14.37 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.5211, allocations: 0.9742 MB / 0.6238 GB, free: 13.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5211, allocations: 0 / 0.6238 GB, free: 13.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002272/0.5234, allocations: 0.7007 MB / 0.6245 GB, free: 12.69 MB / 478.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.001652/0.525, allocations: 0.8599 MB / 0.6254 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.5269, allocations: 0.8174 MB / 0.6262 GB, free: 11.01 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5269, allocations: 0 / 0.6262 GB, free: 11.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.5274, allocations: 391.1 kB / 0.6265 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.5286, allocations: 202.4 kB / 0.6267 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.5321, allocations: 2.031 MB / 0.6287 GB, free: 8.312 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.5329, allocations: 1.095 MB / 0.6298 GB, free: 7.188 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.5334, allocations: 215.3 kB / 0.63 GB, free: 6.977 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5334, allocations: 0 / 0.63 GB, free: 6.977 MB / 478.1 MB Notification: Performance of Templates: time 0.05334/0.5867, allocations: 40.91 MB / 0.6699 GB, free: 14.13 MB / 0.5137 GB " [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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.075079755013576] Failed to read output from testmodel.py, exit status != 0: 0.5965166779933497 0.610619547 0.150351646 Calling exit ...