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.001779/0.001779, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002339/0.002339, allocations: 212 kB / 22.25 MB, free: 4.859 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.805 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.1466/0.1466, allocations: 23.98 MB / 336.4 MB, free: 10.86 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.001986/0.001986, allocations: 67.89 kB / 471.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3021, allocations: 59.9 MB / 0.5192 GB, free: 9.703 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.07279/0.3749, allocations: 27.72 MB / 0.5463 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02545/0.4004, allocations: 19.01 MB / 0.5649 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.4019, allocations: 27.75 kB / 0.5649 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.4035, allocations: 497.5 kB / 0.5654 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.4069, allocations: 0.9556 MB / 0.5663 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.4171, allocations: 3.353 MB / 0.5696 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003442/0.4205, allocations: 1.797 MB / 0.5713 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.4215, allocations: 0.7548 MB / 0.5721 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008785/0.4224, allocations: 0.8064 MB / 0.5729 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.4235, allocations: 0.8091 MB / 0.5736 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.4237, allocations: 148 kB / 0.5738 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00572/0.4294, allocations: 1.962 MB / 0.5757 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004351/0.4299, allocations: 382.8 kB / 0.5761 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007629/0.4306, allocations: 0.6767 MB / 0.5767 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009084/0.4397, allocations: 4.046 MB / 0.5807 GB, free: 10.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4397, allocations: 0 / 0.5807 GB, free: 10.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4397, allocations: 0 / 0.5807 GB, free: 10.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.519e-05/0.4398, allocations: 0 / 0.5807 GB, free: 10.67 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.00451/0.4443, allocations: 2.078 MB / 0.5827 GB, free: 8.551 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4443, allocations: 12.02 kB / 0.5827 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.4461, allocations: 439.1 kB / 0.5831 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.4482, allocations: 0.992 MB / 0.5841 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.4483, allocations: 205.7 kB / 0.5843 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.4485, allocations: 128 kB / 0.5844 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/0.4513, allocations: 1.76 MB / 0.5861 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.4513, allocations: 4 kB / 0.5861 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.4515, allocations: 52 kB / 0.5862 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.4515, allocations: 32 kB / 0.5862 GB, free: 4.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/0.455, allocations: 2.319 MB / 0.5885 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007694/0.4626, allocations: 4.811 MB / 0.5932 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.464, allocations: 0.7016 MB / 0.5939 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005857/0.4646, allocations: 336.4 kB / 0.5942 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006893/0.4715, allocations: 2.857 MB / 0.597 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.4715, allocations: 42.5 kB / 0.597 GB, free: 9.578 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.4715, allocations: 0 / 0.597 GB, free: 9.578 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001539/0.473, allocations: 0.631 MB / 0.5976 GB, free: 8.934 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.4731, allocations: 115 kB / 0.5977 GB, free: 8.797 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.4747, allocations: 1.245 MB / 0.599 GB, free: 7.535 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.4748, allocations: 37.7 kB / 0.599 GB, free: 7.492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006781/0.4754, allocations: 0.8606 MB / 0.5998 GB, free: 6.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.4756, allocations: 154.8 kB / 0.6 GB, free: 6.469 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.476, allocations: 295.3 kB / 0.6003 GB, free: 6.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4762, allocations: 357.9 kB / 0.6006 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/0.4767, allocations: 339.8 kB / 0.6009 GB, free: 5.488 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.478, allocations: 1.156 MB / 0.6021 GB, free: 3.922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.4799, allocations: 1.537 MB / 0.6036 GB, free: 1.977 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-05/0.4799, allocations: 12 kB / 0.6036 GB, free: 1.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00264/0.4826, allocations: 1.552 MB / 0.6051 GB, free: 412 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.4826, allocations: 16 kB / 0.6051 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/0.4827, allocations: 28 kB / 0.6051 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/0.4833, allocations: 157.3 kB / 0.6053 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.4845, allocations: 403.7 kB / 0.6057 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/0.4876, allocations: 3.833 MB / 0.6094 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.4886, allocations: 179.1 kB / 0.6096 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.4888, allocations: 104 kB / 0.6097 GB, free: 11.43 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.0005343/0.4893, allocations: 333.1 kB / 0.61 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.4896, allocations: 111.2 kB / 0.6101 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.4914, allocations: 0.9407 MB / 0.611 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.4914, allocations: 4 kB / 0.611 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.4914, allocations: 0 / 0.611 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4915, allocations: 7.984 kB / 0.611 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.4936, allocations: 1.155 MB / 0.6122 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4936, allocations: 7.938 kB / 0.6122 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.4938, allocations: 64.19 kB / 0.6122 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007324/0.4946, allocations: 171.1 kB / 0.6124 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.4946, allocations: 16 kB / 0.6124 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.4976, allocations: 3.703 MB / 0.616 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4976, allocations: 4 kB / 0.616 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.4989, allocations: 0.8985 MB / 0.6169 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.4992, allocations: 99.19 kB / 0.617 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.4993, allocations: 23.89 kB / 0.617 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.4997, allocations: 12.16 kB / 0.617 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.4998, allocations: 39.88 kB / 0.6171 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.4999, allocations: 24 kB / 0.6171 GB, free: 3.367 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.5011, allocations: 0.8807 MB / 0.618 GB, free: 2.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5011, allocations: 0 / 0.618 GB, free: 2.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002366/0.5034, allocations: 0.7162 MB / 0.6187 GB, free: 1.762 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.001922/0.5053, allocations: 0.8521 MB / 0.6195 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.5072, allocations: 0.8108 MB / 0.6203 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5072, allocations: 0 / 0.6203 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.5078, allocations: 401.2 kB / 0.6207 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.5089, allocations: 163 kB / 0.6208 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.5122, allocations: 1.978 MB / 0.6228 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.5129, allocations: 0.5032 MB / 0.6232 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000927/0.5138, allocations: 299.4 kB / 0.6235 GB, free: 12.67 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.5141, allocations: 155.3 kB / 0.6237 GB, free: 12.52 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5141, allocations: 0 / 0.6237 GB, free: 12.52 MB / 478.1 MB Notification: Performance of Templates: time 0.0362/0.5503, allocations: 22.37 MB / 0.6455 GB, free: 6.289 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.509689394384623] Failed to read output from testmodel.py, exit status != 0: 0.5596488136798143 0.5732364870000001 0.13047672800000001 Calling exit ...