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.001358/0.001358, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00166/0.00166, allocations: 216.6 kB / 22.26 MB, free: 5.082 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.465/1.465, allocations: 230.6 MB / 256 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.1427/0.1427, allocations: 23.9 MB / 336.3 MB, free: 11.18 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.002084/0.002084, allocations: 78.69 kB / 471.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2924, allocations: 59.86 MB / 0.5191 GB, free: 9.816 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.03832/0.3307, allocations: 28.44 MB / 0.5469 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0277/0.3584, allocations: 21.75 MB / 0.5682 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.3599, allocations: 23.81 kB / 0.5682 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.3614, allocations: 0.5405 MB / 0.5687 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.3645, allocations: 1.006 MB / 0.5697 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009254/0.3738, allocations: 3.348 MB / 0.573 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003292/0.3771, allocations: 1.809 MB / 0.5747 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.3782, allocations: 0.7549 MB / 0.5755 GB, free: 328 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.3792, allocations: 0.8065 MB / 0.5763 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.3805, allocations: 0.8989 MB / 0.5771 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.3807, allocations: 148 kB / 0.5773 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006282/0.387, allocations: 2.094 MB / 0.5793 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004854/0.3875, allocations: 378.8 kB / 0.5797 GB, free: 12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009416/0.3884, allocations: 0.8087 MB / 0.5805 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008109/0.3965, allocations: 4.062 MB / 0.5844 GB, free: 7.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3965, allocations: 4 kB / 0.5844 GB, free: 7.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3965, allocations: 0 / 0.5844 GB, free: 7.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.3966, allocations: 3.938 kB / 0.5844 GB, free: 7.098 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.003463/0.4, allocations: 2.072 MB / 0.5865 GB, free: 4.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.4001, allocations: 8.031 kB / 0.5865 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.4019, allocations: 443.1 kB / 0.5869 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.4038, allocations: 0.9959 MB / 0.5879 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.404, allocations: 205.7 kB / 0.5881 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.4042, allocations: 128 kB / 0.5882 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.407, allocations: 1.764 MB / 0.5899 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.4071, allocations: 4 kB / 0.5899 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.4072, allocations: 56 kB / 0.59 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.4072, allocations: 32 kB / 0.59 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003853/0.4111, allocations: 2.334 MB / 0.5923 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009254/0.4204, allocations: 5.531 MB / 0.5977 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.4218, allocations: 0.6899 MB / 0.5984 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.4224, allocations: 344.4 kB / 0.5987 GB, free: 8.125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007327/0.4297, allocations: 2.986 MB / 0.6016 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.4297, allocations: 42.5 kB / 0.6016 GB, free: 5.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.843e-06/0.4297, allocations: 0 / 0.6016 GB, free: 5.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001536/0.4313, allocations: 0.6465 MB / 0.6023 GB, free: 4.402 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.4314, allocations: 114.8 kB / 0.6024 GB, free: 4.266 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.433, allocations: 1.303 MB / 0.6036 GB, free: 2.953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.4331, allocations: 29.7 kB / 0.6037 GB, free: 2.918 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006742/0.4338, allocations: 0.8609 MB / 0.6045 GB, free: 2.047 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.4339, allocations: 162.8 kB / 0.6047 GB, free: 1.887 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.4343, allocations: 291.3 kB / 0.605 GB, free: 1.598 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4345, allocations: 361.9 kB / 0.6053 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/0.435, allocations: 339.8 kB / 0.6056 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.4363, allocations: 1.152 MB / 0.6067 GB, free: 15.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.4383, allocations: 1.545 MB / 0.6083 GB, free: 13.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.4383, allocations: 8 kB / 0.6083 GB, free: 13.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002686/0.441, allocations: 1.555 MB / 0.6098 GB, free: 11.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.441, allocations: 20 kB / 0.6098 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.4411, allocations: 32.69 kB / 0.6098 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006518/0.4417, allocations: 161.4 kB / 0.61 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.4429, allocations: 395.4 kB / 0.6104 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.4463, allocations: 3.879 MB / 0.6141 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.4473, allocations: 194.9 kB / 0.6143 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.4475, allocations: 96 kB / 0.6144 GB, free: 6.762 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.0005423/0.448, allocations: 337.6 kB / 0.6147 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.4483, allocations: 119.2 kB / 0.6149 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.4502, allocations: 0.9404 MB / 0.6158 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4502, allocations: 4 kB / 0.6158 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.4502, allocations: 0 / 0.6158 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.4502, allocations: 3.984 kB / 0.6158 GB, free: 5.312 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.4526, allocations: 1.349 MB / 0.6171 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.4526, allocations: 4 kB / 0.6171 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.4529, allocations: 55.91 kB / 0.6172 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007717/0.4536, allocations: 183.1 kB / 0.6173 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.4537, allocations: 12 kB / 0.6173 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003205/0.4569, allocations: 3.745 MB / 0.621 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4569, allocations: 4 kB / 0.621 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.4583, allocations: 0.9198 MB / 0.6219 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.4586, allocations: 111.2 kB / 0.622 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.4587, allocations: 19.89 kB / 0.622 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.4591, allocations: 11.98 kB / 0.622 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.4592, allocations: 47.89 kB / 0.6221 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.4592, allocations: 12 kB / 0.6221 GB, free: 14.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001321/0.4606, allocations: 0.9703 MB / 0.623 GB, free: 13.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4606, allocations: 0 / 0.623 GB, free: 13.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002143/0.4627, allocations: 0.7084 MB / 0.6237 GB, free: 12.72 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.001595/0.4643, allocations: 0.856 MB / 0.6246 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.4661, allocations: 0.8225 MB / 0.6254 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4661, allocations: 0 / 0.6254 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005898/0.4667, allocations: 397.3 kB / 0.6258 GB, free: 10.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4678, allocations: 191.2 kB / 0.6259 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.4711, allocations: 1.988 MB / 0.6279 GB, free: 8.387 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008013/0.4719, allocations: 1.095 MB / 0.629 GB, free: 7.262 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008855/0.4728, allocations: 317.7 kB / 0.6293 GB, free: 6.973 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.4731, allocations: 155.4 kB / 0.6294 GB, free: 6.82 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4731, allocations: 0 / 0.6294 GB, free: 6.82 MB / 478.1 MB Notification: Performance of Templates: time 0.0394/0.5125, allocations: 22.64 MB / 0.6515 GB, free: 248 kB / 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.78923282539472] Failed to read output from testmodel.py, exit status != 0: 0.5215059528127313 0.536601963 0.13671270500000002 Calling exit ...