Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.001363/0.001363, 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.001455/0.001455, allocations: 215.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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.1592/0.1592, allocations: 23.89 MB / 337.1 MB, free: 11.21 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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [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.002049/0.002049, allocations: 63.91 kB / 472.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 59.88 MB / 0.5199 GB, free: 9.82 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.StandardElectrochemicalCell2): time 0.04361/0.377, allocations: 27.89 MB / 0.5471 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02509/0.4021, allocations: 18.32 MB / 0.565 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.4038, allocations: 23.81 kB / 0.565 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.4055, allocations: 479.6 kB / 0.5655 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003475/0.409, allocations: 0.8454 MB / 0.5663 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008854/0.4178, allocations: 2.846 MB / 0.5691 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003315/0.4211, allocations: 1.638 MB / 0.5707 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.4223, allocations: 0.739 MB / 0.5714 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.4234, allocations: 0.7284 MB / 0.5721 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.4246, allocations: 0.8134 MB / 0.5729 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.4248, allocations: 140 kB / 0.5731 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006194/0.431, allocations: 1.782 MB / 0.5748 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006361/0.4316, allocations: 362.8 kB / 0.5751 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.4327, allocations: 0.7427 MB / 0.5759 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009427/0.4421, allocations: 3.575 MB / 0.5794 GB, free: 13.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4421, allocations: 3.938 kB / 0.5794 GB, free: 13.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4421, allocations: 0 / 0.5794 GB, free: 13.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.145e-05/0.4422, allocations: 4 kB / 0.5794 GB, free: 13.12 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.003571/0.4457, allocations: 1.897 MB / 0.5812 GB, free: 11.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4458, allocations: 8.031 kB / 0.5812 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.4474, allocations: 399.1 kB / 0.5816 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.4492, allocations: 0.912 MB / 0.5825 GB, free: 9.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.4494, allocations: 209.5 kB / 0.5827 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.4496, allocations: 116 kB / 0.5828 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.4522, allocations: 1.66 MB / 0.5844 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.4523, allocations: 3.938 kB / 0.5844 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.4524, allocations: 55.94 kB / 0.5845 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-05/0.4524, allocations: 36 kB / 0.5845 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.4556, allocations: 2.12 MB / 0.5866 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008859/0.4645, allocations: 5.384 MB / 0.5918 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.4658, allocations: 0.6998 MB / 0.5925 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005818/0.4664, allocations: 328.4 kB / 0.5928 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006763/0.4732, allocations: 2.773 MB / 0.5956 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.4732, allocations: 50.5 kB / 0.5956 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003526/0.4735, allocations: 75.25 kB / 0.5957 GB, free: 11.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.394e-06/0.4736, allocations: 0 / 0.5957 GB, free: 11.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001409/0.475, allocations: 0.6082 MB / 0.5963 GB, free: 11.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.475, allocations: 111.1 kB / 0.5964 GB, free: 11.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.4765, allocations: 1.214 MB / 0.5976 GB, free: 10 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.4766, allocations: 33.7 kB / 0.5976 GB, free: 9.965 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000604/0.4772, allocations: 0.7984 MB / 0.5984 GB, free: 9.156 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.4773, allocations: 142.9 kB / 0.5985 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/0.4777, allocations: 274.7 kB / 0.5988 GB, free: 8.742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4778, allocations: 353.9 kB / 0.5991 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.4784, allocations: 330.5 kB / 0.5994 GB, free: 8.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.4795, allocations: 1.05 MB / 0.6004 GB, free: 6.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.4812, allocations: 1.407 MB / 0.6018 GB, free: 4.883 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.4812, allocations: 8 kB / 0.6018 GB, free: 4.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002464/0.4837, allocations: 1.452 MB / 0.6032 GB, free: 3.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.4837, allocations: 16 kB / 0.6033 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/0.4838, allocations: 31.94 kB / 0.6033 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000655/0.4844, allocations: 157.3 kB / 0.6034 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4856, allocations: 375.8 kB / 0.6038 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.4888, allocations: 3.862 MB / 0.6076 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009424/0.4898, allocations: 76 kB / 0.6076 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.4899, allocations: 95.98 kB / 0.6077 GB, free: 14.52 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * 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.0005184/0.4905, allocations: 313.1 kB / 0.608 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.4907, allocations: 107.3 kB / 0.6081 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.4924, allocations: 0.8531 MB / 0.609 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4924, allocations: 4 kB / 0.609 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.4924, allocations: 0 / 0.609 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.4924, allocations: 3.984 kB / 0.609 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.4946, allocations: 1.239 MB / 0.6102 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4946, allocations: 0 / 0.6102 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.4948, allocations: 55.97 kB / 0.6102 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007538/0.4956, allocations: 175.4 kB / 0.6104 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.4956, allocations: 20 kB / 0.6104 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/0.4987, allocations: 3.737 MB / 0.6141 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4987, allocations: 11.91 kB / 0.6141 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.5001, allocations: 0.8638 MB / 0.6149 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.5003, allocations: 95.27 kB / 0.615 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.5004, allocations: 8 kB / 0.615 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.5008, allocations: 20 kB / 0.615 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.5009, allocations: 39.89 kB / 0.6151 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.5009, allocations: 23.98 kB / 0.6151 GB, free: 6.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001205/0.5021, allocations: 0.8888 MB / 0.616 GB, free: 5.586 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5021, allocations: 0 / 0.616 GB, free: 5.586 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002225/0.5044, allocations: 0.6306 MB / 0.6166 GB, free: 4.953 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 23 * 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.00141/0.5058, allocations: 0.7449 MB / 0.6173 GB, free: 4.203 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.5076, allocations: 0.7755 MB / 0.6181 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5076, allocations: 0 / 0.6181 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.5082, allocations: 374.5 kB / 0.6184 GB, free: 3.043 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.5093, allocations: 175.9 kB / 0.6186 GB, free: 2.875 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.5125, allocations: 1.884 MB / 0.6204 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.5133, allocations: 1.063 MB / 0.6215 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/0.5137, allocations: 187.3 kB / 0.6217 GB, free: 15.65 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5137, allocations: 4 kB / 0.6217 GB, free: 15.65 MB / 478.1 MB Notification: Performance of Templates: time 0.04702/0.5607, allocations: 37.4 MB / 0.6582 GB, free: 10.32 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.937947486003395] Failed to read output from testmodel.py, exit status != 0: 0.5704952570085879 0.5849695979999999 0.13957682999999996 Calling exit ...