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.001334/0.001334, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001456/0.001456, allocations: 209 kB / 22.24 MB, free: 5.262 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.797 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.1363/0.1363, allocations: 24 MB / 336.4 MB, free: 10.85 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.00225/0.00225, allocations: 67.91 kB / 471.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3217, allocations: 59.89 MB / 0.5192 GB, free: 9.797 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.0733/0.395, allocations: 27.19 MB / 0.5458 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02427/0.4193, allocations: 16.04 MB / 0.5614 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.4208, allocations: 23.81 kB / 0.5615 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.4225, allocations: 431.5 kB / 0.5619 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003195/0.4257, allocations: 0.8061 MB / 0.5627 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008962/0.4347, allocations: 2.847 MB / 0.5654 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003018/0.4377, allocations: 1.637 MB / 0.567 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.4391, allocations: 0.7233 MB / 0.5677 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.4403, allocations: 0.7245 MB / 0.5685 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.4417, allocations: 0.7391 MB / 0.5692 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.4421, allocations: 140 kB / 0.5693 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005352/0.4474, allocations: 1.669 MB / 0.5709 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005605/0.448, allocations: 362.8 kB / 0.5713 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.4491, allocations: 0.6185 MB / 0.5719 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008423/0.4576, allocations: 3.572 MB / 0.5754 GB, free: 56 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4576, allocations: 4 kB / 0.5754 GB, free: 52 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4576, allocations: 0 / 0.5754 GB, free: 52 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.051e-05/0.4577, allocations: 0 / 0.5754 GB, free: 52 kB / 414.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.004267/0.4619, allocations: 1.893 MB / 0.5772 GB, free: 14.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.462, allocations: 12.02 kB / 0.5772 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.4637, allocations: 395.1 kB / 0.5776 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.4657, allocations: 0.9236 MB / 0.5785 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.4659, allocations: 205.5 kB / 0.5787 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/0.4661, allocations: 116 kB / 0.5788 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/0.4694, allocations: 1.664 MB / 0.5805 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.4694, allocations: 3.984 kB / 0.5805 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.4696, allocations: 48 kB / 0.5805 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.4696, allocations: 32 kB / 0.5805 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/0.4731, allocations: 2.096 MB / 0.5826 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008717/0.4818, allocations: 4.706 MB / 0.5872 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.4832, allocations: 0.6781 MB / 0.5878 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/0.4838, allocations: 336.4 kB / 0.5882 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00673/0.4905, allocations: 2.643 MB / 0.5907 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.4906, allocations: 34.56 kB / 0.5908 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003423/0.4909, allocations: 71.36 kB / 0.5908 GB, free: 15.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.825e-06/0.4909, allocations: 0 / 0.5908 GB, free: 15.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001498/0.4924, allocations: 0.6043 MB / 0.5914 GB, free: 15.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.4925, allocations: 106.8 kB / 0.5915 GB, free: 15.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.494, allocations: 1.162 MB / 0.5927 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.4941, allocations: 33.7 kB / 0.5927 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00063/0.4947, allocations: 0.8061 MB / 0.5935 GB, free: 13.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.4949, allocations: 142.9 kB / 0.5936 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/0.4952, allocations: 274.7 kB / 0.5939 GB, free: 12.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.4955, allocations: 403 kB / 0.5943 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.496, allocations: 330.5 kB / 0.5946 GB, free: 11.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.4973, allocations: 1.054 MB / 0.5956 GB, free: 10.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.4993, allocations: 1.41 MB / 0.597 GB, free: 8.746 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.581e-05/0.4993, allocations: 8 kB / 0.597 GB, free: 8.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002852/0.5022, allocations: 1.444 MB / 0.5984 GB, free: 7.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.5022, allocations: 16 kB / 0.5984 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-05/0.5023, allocations: 28 kB / 0.5985 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007492/0.503, allocations: 157.2 kB / 0.5986 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.5042, allocations: 375.5 kB / 0.599 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/0.508, allocations: 3.82 MB / 0.6027 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/0.509, allocations: 76.16 kB / 0.6028 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.5091, allocations: 91.98 kB / 0.6029 GB, free: 2.465 MB / 446.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.0005328/0.5097, allocations: 313.1 kB / 0.6031 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.5099, allocations: 91.39 kB / 0.6032 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.5116, allocations: 0.8545 MB / 0.6041 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5116, allocations: 8 kB / 0.6041 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5116, allocations: 0 / 0.6041 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5116, allocations: 7.922 kB / 0.6041 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.5137, allocations: 1.062 MB / 0.6051 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.5137, allocations: 4 kB / 0.6051 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.514, allocations: 64.14 kB / 0.6052 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007335/0.5147, allocations: 171.2 kB / 0.6054 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.5148, allocations: 19.98 kB / 0.6054 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003115/0.5179, allocations: 3.695 MB / 0.609 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.5179, allocations: 7.938 kB / 0.609 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.5192, allocations: 0.831 MB / 0.6098 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.5195, allocations: 91.3 kB / 0.6099 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.5197, allocations: 11.94 kB / 0.6099 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.5201, allocations: 20.14 kB / 0.6099 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.5202, allocations: 31.89 kB / 0.6099 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.5202, allocations: 20 kB / 0.61 GB, free: 10.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001179/0.5214, allocations: 0.8152 MB / 0.6108 GB, free: 9.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5214, allocations: 0 / 0.6108 GB, free: 9.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002178/0.5236, allocations: 0.646 MB / 0.6114 GB, free: 9.254 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.00162/0.5252, allocations: 0.7392 MB / 0.6121 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.527, allocations: 0.771 MB / 0.6129 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.527, allocations: 192 / 0.6129 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.5276, allocations: 390.7 kB / 0.6132 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.5286, allocations: 151.8 kB / 0.6134 GB, free: 7.191 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.5319, allocations: 1.844 MB / 0.6152 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.5325, allocations: 484.5 kB / 0.6156 GB, free: 4.785 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008324/0.5334, allocations: 267.3 kB / 0.6159 GB, free: 4.539 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.5336, allocations: 135.3 kB / 0.616 GB, free: 4.406 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5336, allocations: 0 / 0.616 GB, free: 4.406 MB / 462.1 MB Notification: Performance of Templates: time 0.03484/0.5685, allocations: 19.93 MB / 0.6355 GB, free: 0.6016 MB / 478.1 MB " [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: 5.368268683552742] Failed to read output from testmodel.py, exit status != 0: 0.5784222148358822 0.5930508320000001 0.132215299 Calling exit ...