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.001284/0.001284, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001467/0.001467, allocations: 209.8 kB / 22.99 MB, free: 4.41 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1433/0.1433, allocations: 23.93 MB / 337.1 MB, free: 10.89 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.002021/0.002021, allocations: 71.89 kB / 472.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3868, allocations: 59.88 MB / 0.5198 GB, free: 9.719 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.07498/0.4617, allocations: 27.11 MB / 0.5463 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02263/0.4844, allocations: 16.04 MB / 0.562 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.4859, allocations: 27.75 kB / 0.562 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.4875, allocations: 427.6 kB / 0.5624 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.4904, allocations: 0.8067 MB / 0.5632 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009304/0.4998, allocations: 2.85 MB / 0.566 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003044/0.5028, allocations: 1.639 MB / 0.5676 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.504, allocations: 0.739 MB / 0.5683 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009587/0.5049, allocations: 0.7206 MB / 0.569 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.506, allocations: 0.8172 MB / 0.5698 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.5062, allocations: 148 kB / 0.5699 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005427/0.5117, allocations: 1.72 MB / 0.5716 GB, free: 4.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004229/0.5121, allocations: 354.9 kB / 0.572 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007875/0.5129, allocations: 0.6223 MB / 0.5726 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008692/0.5216, allocations: 3.568 MB / 0.5761 GB, free: 152 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5216, allocations: 0 / 0.5761 GB, free: 152 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5216, allocations: 3.938 kB / 0.5761 GB, free: 148 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.5216, allocations: 0 / 0.5761 GB, free: 148 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.003183/0.5248, allocations: 1.901 MB / 0.5779 GB, free: 14.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5248, allocations: 8.031 kB / 0.5779 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.5263, allocations: 395.1 kB / 0.5783 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.5281, allocations: 0.9081 MB / 0.5792 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.5283, allocations: 209.5 kB / 0.5794 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.5286, allocations: 123.9 kB / 0.5795 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.5312, allocations: 1.657 MB / 0.5811 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.5313, allocations: 3.938 kB / 0.5811 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.5314, allocations: 52 kB / 0.5812 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.5315, allocations: 28 kB / 0.5812 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0032/0.5347, allocations: 2.104 MB / 0.5833 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008059/0.5427, allocations: 4.698 MB / 0.5878 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.5441, allocations: 0.6782 MB / 0.5885 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.5446, allocations: 332.4 kB / 0.5888 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006412/0.5511, allocations: 2.659 MB / 0.5914 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.5511, allocations: 38.5 kB / 0.5915 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003085/0.5514, allocations: 67.55 kB / 0.5915 GB, free: 15.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.855e-06/0.5514, allocations: 0 / 0.5915 GB, free: 15.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001437/0.5528, allocations: 0.6003 MB / 0.5921 GB, free: 15.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.5529, allocations: 114.7 kB / 0.5922 GB, free: 15.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.5543, allocations: 1.162 MB / 0.5933 GB, free: 14.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.5543, allocations: 29.7 kB / 0.5934 GB, free: 13.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/0.555, allocations: 0.8061 MB / 0.5942 GB, free: 13.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.5551, allocations: 142.9 kB / 0.5943 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.5554, allocations: 270.7 kB / 0.5946 GB, free: 12.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.5557, allocations: 406.7 kB / 0.5949 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.5562, allocations: 326.7 kB / 0.5953 GB, free: 12.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.5573, allocations: 1.058 MB / 0.5963 GB, free: 10.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.5591, allocations: 1.403 MB / 0.5977 GB, free: 8.844 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.5591, allocations: 8 kB / 0.5977 GB, free: 8.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002355/0.5614, allocations: 1.441 MB / 0.5991 GB, free: 7.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.5615, allocations: 20.03 kB / 0.5991 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.5615, allocations: 27.94 kB / 0.5991 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006757/0.5622, allocations: 161.3 kB / 0.5993 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.5633, allocations: 383.4 kB / 0.5996 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/0.5665, allocations: 3.812 MB / 0.6034 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008788/0.5674, allocations: 76.17 kB / 0.6034 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.5675, allocations: 87.98 kB / 0.6035 GB, free: 2.562 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.0005509/0.5681, allocations: 317.1 kB / 0.6038 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.5683, allocations: 99.34 kB / 0.6039 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.5699, allocations: 0.8466 MB / 0.6047 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5699, allocations: 0 / 0.6047 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5699, allocations: 4 kB / 0.6047 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5699, allocations: 7.938 kB / 0.6048 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.5719, allocations: 1.058 MB / 0.6058 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.5719, allocations: 4 kB / 0.6058 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.5722, allocations: 59.91 kB / 0.6058 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007784/0.573, allocations: 179.4 kB / 0.606 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.573, allocations: 12 kB / 0.606 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003254/0.5763, allocations: 3.699 MB / 0.6096 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5763, allocations: 4.094 kB / 0.6096 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.5776, allocations: 0.8542 MB / 0.6105 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.5779, allocations: 87.31 kB / 0.6106 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.578, allocations: 8 kB / 0.6106 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.5784, allocations: 8 kB / 0.6106 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.5784, allocations: 39.94 kB / 0.6106 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.5785, allocations: 20 kB / 0.6106 GB, free: 10.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001213/0.5797, allocations: 0.8152 MB / 0.6114 GB, free: 10 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5797, allocations: 0 / 0.6114 GB, free: 10 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002568/0.5823, allocations: 0.6422 MB / 0.6121 GB, free: 9.355 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.001393/0.5837, allocations: 0.7491 MB / 0.6128 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.5854, allocations: 0.771 MB / 0.6135 GB, free: 7.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.5854, allocations: 4 kB / 0.6135 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.5859, allocations: 381.3 kB / 0.6139 GB, free: 7.434 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009637/0.5869, allocations: 151.3 kB / 0.6141 GB, free: 7.289 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.5902, allocations: 1.88 MB / 0.6159 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.5908, allocations: 476.5 kB / 0.6163 GB, free: 4.848 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/0.5912, allocations: 187.3 kB / 0.6165 GB, free: 4.664 MB / 462.1 MB Notification: Performance of SimCode: time 1.492e-06/0.5912, allocations: 0 / 0.6165 GB, free: 4.664 MB / 462.1 MB Notification: Performance of Templates: time 0.04716/0.6384, allocations: 37.4 MB / 0.653 GB, free: 15.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: 10.199387294007465] Failed to read output from testmodel.py, exit status != 0: 0.6479299190104939 0.6625420439999999 0.137862546 Calling exit ...