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.001717/0.001717, allocations: 84.73 kB / 19.44 MB, free: 352 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.002365/0.002365, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 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.1471/0.1471, allocations: 17.45 MB / 277 MB, free: 11.47 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.806e-05, allocations: 6.25 kB / 352.8 MB, free: 10.2 MB / 282.7 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.04344/0.04348, allocations: 28.19 MB / 381 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02957/0.07305, allocations: 19.01 MB / 400 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.07439, allocations: 23.81 kB / 400 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.07645, allocations: 0.496 MB / 400.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.08025, allocations: 0.9927 MB / 401.5 MB, free: 9.555 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01085/0.0911, allocations: 3.45 MB / 405 MB, free: 6.082 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003413/0.09451, allocations: 1.867 MB / 406.8 MB, free: 4.203 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.09615, allocations: 0.7944 MB / 407.6 MB, free: 3.387 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.09839, allocations: 1.119 MB / 408.8 MB, free: 2.266 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.1, allocations: 0.7091 MB / 409.5 MB, free: 1.555 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004908/0.1005, allocations: 148 kB / 409.6 MB, free: 1.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1646/0.2652, allocations: 1.973 MB / 411.6 MB, free: 36.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.2658, allocations: 389.8 kB / 412 MB, free: 36.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.2668, allocations: 0.5666 MB / 412.5 MB, free: 36.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.2776, allocations: 4.28 MB / 416.8 MB, free: 36.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2776, allocations: 2.406 kB / 416.8 MB, free: 36.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2776, allocations: 1.156 kB / 416.8 MB, free: 36.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.145e-05/0.2776, allocations: 0 / 416.8 MB, free: 36.61 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.0042/0.2818, allocations: 2.049 MB / 418.9 MB, free: 35.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2818, allocations: 11.91 kB / 418.9 MB, free: 35.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.2842, allocations: 0.7276 MB / 419.6 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.286, allocations: 1.028 MB / 420.6 MB, free: 35.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.2862, allocations: 207.4 kB / 420.8 MB, free: 34.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.2864, allocations: 120.5 kB / 420.9 MB, free: 34.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.2891, allocations: 1.767 MB / 422.7 MB, free: 34.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.2892, allocations: 0 / 422.7 MB, free: 34.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.2893, allocations: 56.78 kB / 422.8 MB, free: 34.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.2893, allocations: 35.06 kB / 422.8 MB, free: 34.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.2923, allocations: 2.306 MB / 425.1 MB, free: 34.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007112/0.2994, allocations: 4.85 MB / 430 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3006, allocations: 0.6916 MB / 430.6 MB, free: 31.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.3011, allocations: 332.1 kB / 431 MB, free: 31.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006632/0.3077, allocations: 2.966 MB / 433.9 MB, free: 30.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3077, allocations: 41.88 kB / 434 MB, free: 30.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.743e-06/0.3077, allocations: 0 / 434 MB, free: 30.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.001364/0.3091, allocations: 0.6514 MB / 434.6 MB, free: 30.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3091, allocations: 110.3 kB / 434.7 MB, free: 30.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.3103, allocations: 1.238 MB / 436 MB, free: 29.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.3103, allocations: 33.59 kB / 436 MB, free: 29.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.3107, allocations: 0.8599 MB / 436.9 MB, free: 29.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.649e-05/0.3108, allocations: 151.5 kB / 437 MB, free: 28.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.3111, allocations: 297.7 kB / 437.3 MB, free: 28.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.3111, allocations: 355.7 kB / 437.7 MB, free: 28.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/0.3116, allocations: 343 kB / 438 MB, free: 28.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007662/0.3124, allocations: 1.156 MB / 439.1 MB, free: 27.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.3136, allocations: 1.536 MB / 440.7 MB, free: 25.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.3137, allocations: 12.34 kB / 440.7 MB, free: 25.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002113/0.3158, allocations: 1.634 MB / 442.3 MB, free: 24.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.3158, allocations: 16 kB / 442.3 MB, free: 24.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.3158, allocations: 28 kB / 442.4 MB, free: 24.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.3164, allocations: 160 kB / 442.5 MB, free: 24.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3174, allocations: 395.5 kB / 442.9 MB, free: 24.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.3194, allocations: 3.824 MB / 446.7 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.3205, allocations: 181.3 kB / 446.9 MB, free: 19.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.3206, allocations: 99.98 kB / 447 MB, free: 19.69 MB / 330.7 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.0004789/0.3211, allocations: 329.6 kB / 447.3 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.3213, allocations: 129.2 kB / 447.5 MB, free: 19.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.3228, allocations: 0.9329 MB / 448.4 MB, free: 18.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3229, allocations: 4 kB / 448.4 MB, free: 18.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3229, allocations: 5.797 kB / 448.4 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3229, allocations: 7.938 kB / 448.4 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.3246, allocations: 1.162 MB / 449.6 MB, free: 17.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3246, allocations: 0 / 449.6 MB, free: 17.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.3249, allocations: 59.16 kB / 449.6 MB, free: 17.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007161/0.3256, allocations: 187.7 kB / 449.8 MB, free: 16.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.3256, allocations: 12 kB / 449.8 MB, free: 16.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.3274, allocations: 3.703 MB / 453.5 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3274, allocations: 6.656 kB / 453.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3285, allocations: 0.9058 MB / 454.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.3287, allocations: 95.23 kB / 454.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.3288, allocations: 19.88 kB / 454.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.3292, allocations: 12 kB / 454.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.3293, allocations: 43.36 kB / 454.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.3293, allocations: 19.98 kB / 454.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008557/0.3302, allocations: 0.873 MB / 455.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3302, allocations: 2.688 kB / 455.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002335/0.3325, allocations: 0.72 MB / 456.2 MB, free: 10.2 MB / 330.7 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.001805/0.3343, allocations: 0.8828 MB / 457.1 MB, free: 9.465 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00176/0.3361, allocations: 0.8214 MB / 457.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3361, allocations: 4 kB / 457.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.3365, allocations: 387 kB / 458.3 MB, free: 8.355 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.3377, allocations: 180.8 kB / 458.5 MB, free: 8.188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.3408, allocations: 1.931 MB / 460.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.3411, allocations: 0.5033 MB / 460.9 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008139/0.3419, allocations: 305.9 kB / 461.2 MB, free: 5.535 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.3422, allocations: 143.8 kB / 461.4 MB, free: 5.398 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3422, allocations: 0 / 461.4 MB, free: 5.398 MB / 330.7 MB Notification: Performance of Templates: time 0.03586/0.378, allocations: 20.77 MB / 482.1 MB, free: 1.602 MB / 346.7 MB " [Timeout remaining time 660] 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.628840524004772]