Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001874/0.001874, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002107/0.002107, allocations: 169.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1466/0.1466, allocations: 17.38 MB / 276.9 MB, free: 11.68 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.285e-05, allocations: 2.312 kB / 352.7 MB, free: 10.33 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.04041/0.04043, allocations: 28.36 MB / 381.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0275/0.06793, allocations: 18.21 MB / 399.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.06907, allocations: 27.81 kB / 399.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.07037, allocations: 436.5 kB / 399.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002774/0.07315, allocations: 0.8335 MB / 400.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008598/0.08175, allocations: 2.938 MB / 403.5 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002865/0.08461, allocations: 1.688 MB / 405.2 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.08581, allocations: 0.7862 MB / 406 MB, free: 5.059 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.0872, allocations: 1.026 MB / 407 MB, free: 4.031 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.08859, allocations: 0.6702 MB / 407.7 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000267/0.08886, allocations: 143.9 kB / 407.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004843/0.0937, allocations: 1.68 MB / 409.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004599/0.09416, allocations: 374.7 kB / 409.9 MB, free: 1.168 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007698/0.09493, allocations: 0.534 MB / 410.4 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.163/0.2579, allocations: 3.76 MB / 414.2 MB, free: 37.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.2579, allocations: 0 / 414.2 MB, free: 37.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.2579, allocations: 0 / 414.2 MB, free: 37.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.466e-05/0.258, allocations: 1.094 kB / 414.2 MB, free: 37.24 MB / 330.7 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.004406/0.2624, allocations: 2.079 MB / 416.2 MB, free: 36.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2624, allocations: 9.438 kB / 416.2 MB, free: 36.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.2643, allocations: 0.6625 MB / 416.9 MB, free: 35.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.266, allocations: 0.9406 MB / 417.9 MB, free: 35.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.2662, allocations: 198 kB / 418 MB, free: 35.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.2664, allocations: 123.3 kB / 418.2 MB, free: 35.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.2688, allocations: 1.579 MB / 419.7 MB, free: 35.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.2688, allocations: 4.656 kB / 419.7 MB, free: 35.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.2689, allocations: 54.12 kB / 419.8 MB, free: 35.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.269, allocations: 29.25 kB / 419.8 MB, free: 35.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.2718, allocations: 1.821 MB / 421.6 MB, free: 35.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007092/0.2789, allocations: 5.479 MB / 427.1 MB, free: 32.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.2801, allocations: 0.6861 MB / 427.8 MB, free: 32.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.2806, allocations: 317.7 kB / 428.1 MB, free: 32.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006253/0.2868, allocations: 2.906 MB / 431 MB, free: 31.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2868, allocations: 40.64 kB / 431.1 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003789/0.2872, allocations: 69.11 kB / 431.1 MB, free: 31.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 3.246e-06/0.2872, allocations: 0 / 431.1 MB, free: 31.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001277/0.2885, allocations: 0.5824 MB / 431.7 MB, free: 31.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.2885, allocations: 106.2 kB / 431.8 MB, free: 30.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.2897, allocations: 1.246 MB / 433.1 MB, free: 30.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.2897, allocations: 32.95 kB / 433.1 MB, free: 30.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.2901, allocations: 0.9072 MB / 434 MB, free: 29.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.813e-05/0.2902, allocations: 149.6 kB / 434.2 MB, free: 29.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.2905, allocations: 307.1 kB / 434.5 MB, free: 29.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2907, allocations: 0.6407 MB / 435.1 MB, free: 28.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.2911, allocations: 227.9 kB / 435.3 MB, free: 28.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/0.2918, allocations: 1.327 MB / 436.6 MB, free: 27.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.293, allocations: 1.663 MB / 438.3 MB, free: 25.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.2931, allocations: 7.938 kB / 438.3 MB, free: 25.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001838/0.2949, allocations: 1.334 MB / 439.7 MB, free: 25.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.2949, allocations: 17.56 kB / 439.7 MB, free: 25.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.295, allocations: 27.78 kB / 439.7 MB, free: 25.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.2956, allocations: 160.1 kB / 439.9 MB, free: 25.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.2966, allocations: 377.8 kB / 440.2 MB, free: 25.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.2988, allocations: 5.494 MB / 445.7 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009685/0.2998, allocations: 73.33 kB / 445.8 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.2999, allocations: 93.64 kB / 445.9 MB, free: 19.6 MB / 330.7 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.0004796/0.3004, allocations: 349.9 kB / 446.2 MB, free: 19.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.3006, allocations: 113.9 kB / 446.3 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.3021, allocations: 0.9268 MB / 447.3 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3021, allocations: 6.938 kB / 447.3 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3021, allocations: 0 / 447.3 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3021, allocations: 7.922 kB / 447.3 MB, free: 18.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.304, allocations: 1.316 MB / 448.6 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.304, allocations: 6.125 kB / 448.6 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.3042, allocations: 55.09 kB / 448.6 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007326/0.305, allocations: 196.5 kB / 448.8 MB, free: 17.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.305, allocations: 19.98 kB / 448.9 MB, free: 17.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.307, allocations: 5.282 MB / 454.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.307, allocations: 4 kB / 454.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.3081, allocations: 0.9937 MB / 455.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.3083, allocations: 87.33 kB / 455.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.3084, allocations: 10.66 kB / 455.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.3088, allocations: 8 kB / 455.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.3088, allocations: 35.89 kB / 455.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.3089, allocations: 19.98 kB / 455.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007609/0.3096, allocations: 0.7637 MB / 456.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3096, allocations: 0 / 456.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002016/0.3116, allocations: 0.6461 MB / 456.7 MB, free: 9.391 MB / 330.7 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.001253/0.3129, allocations: 0.7644 MB / 457.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.3143, allocations: 0.7546 MB / 458.2 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3143, allocations: 0 / 458.2 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004233/0.3148, allocations: 0.4946 MB / 458.7 MB, free: 7.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009568/0.3157, allocations: 159 kB / 458.9 MB, free: 7.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.3179, allocations: 1.8 MB / 460.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3182, allocations: 473.8 kB / 461.1 MB, free: 5.133 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006823/0.3189, allocations: 268.6 kB / 461.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.3191, allocations: 135.2 kB / 461.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3191, allocations: 0 / 461.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of Templates: time 0.0317/0.3508, allocations: 18.51 MB / 480 MB, free: 3.34 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.699656371958554]