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.00203/0.00203, allocations: 85.48 kB / 19.44 MB, free: 344 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.002276/0.002276, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.574 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.1617/0.1617, allocations: 17.45 MB / 277 MB, free: 11.55 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 2.214e-06/2.214e-06, allocations: 3.938 kB / 352.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.217e-05/3.438e-05, allocations: 2.312 kB / 352.8 MB, free: 10.18 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.04579/0.04582, allocations: 28.95 MB / 381.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03207/0.0779, allocations: 21.64 MB / 403.4 MB, free: 7.656 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.07945, allocations: 23.81 kB / 403.4 MB, free: 7.633 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.08111, allocations: 496 kB / 403.9 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003582/0.08469, allocations: 1.004 MB / 404.9 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01018/0.09488, allocations: 3.45 MB / 408.4 MB, free: 2.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003344/0.09822, allocations: 1.871 MB / 410.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1828/0.2811, allocations: 0.7934 MB / 411 MB, free: 34.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.2829, allocations: 1.127 MB / 412.2 MB, free: 34.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.2841, allocations: 0.7433 MB / 412.9 MB, free: 34.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.2843, allocations: 148.7 kB / 413.1 MB, free: 34.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005562/0.2899, allocations: 1.975 MB / 415 MB, free: 34.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005624/0.2905, allocations: 398.6 kB / 415.4 MB, free: 34.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009602/0.2914, allocations: 0.5694 MB / 416 MB, free: 34.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.3029, allocations: 4.284 MB / 420.3 MB, free: 34.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.3029, allocations: 1.25 kB / 420.3 MB, free: 34.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.3029, allocations: 0 / 420.3 MB, free: 34.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.622e-05/0.303, allocations: 0 / 420.3 MB, free: 34.2 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.005263/0.3082, allocations: 2.265 MB / 422.5 MB, free: 33.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3083, allocations: 8.219 kB / 422.5 MB, free: 33.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.3104, allocations: 0.7318 MB / 423.3 MB, free: 32.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.3123, allocations: 1.023 MB / 424.3 MB, free: 32.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.3124, allocations: 206.3 kB / 424.5 MB, free: 32.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.3126, allocations: 122.4 kB / 424.6 MB, free: 32.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.3151, allocations: 1.683 MB / 426.3 MB, free: 32.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.3152, allocations: 2.688 kB / 426.3 MB, free: 32.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.3153, allocations: 58.34 kB / 426.4 MB, free: 32.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.3153, allocations: 32.34 kB / 426.4 MB, free: 32.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003255/0.3186, allocations: 2.021 MB / 428.4 MB, free: 32.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008047/0.3266, allocations: 5.64 MB / 434.1 MB, free: 28.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.3279, allocations: 0.683 MB / 434.7 MB, free: 28.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.3284, allocations: 326 kB / 435.1 MB, free: 28.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006953/0.3354, allocations: 3.132 MB / 438.2 MB, free: 26.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.3354, allocations: 40.95 kB / 438.2 MB, free: 26.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 2.404e-06/0.3354, allocations: 3.281 kB / 438.2 MB, free: 26.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.001483/0.3369, allocations: 0.6221 MB / 438.9 MB, free: 26.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3369, allocations: 113.5 kB / 439 MB, free: 26.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.3383, allocations: 1.349 MB / 440.3 MB, free: 25.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.3384, allocations: 33.7 kB / 440.4 MB, free: 25.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.3388, allocations: 0.9656 MB / 441.3 MB, free: 24.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.3389, allocations: 162 kB / 441.5 MB, free: 24.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.3393, allocations: 329 kB / 441.8 MB, free: 23.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3394, allocations: 0.5649 MB / 442.4 MB, free: 23.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.3398, allocations: 243.9 kB / 442.6 MB, free: 23.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/0.3406, allocations: 1.468 MB / 444.1 MB, free: 21.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.342, allocations: 1.836 MB / 445.9 MB, free: 18.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-05/0.3421, allocations: 8 kB / 445.9 MB, free: 18.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002231/0.3443, allocations: 1.451 MB / 447.4 MB, free: 17.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.3443, allocations: 16 kB / 447.4 MB, free: 17.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.919e-05/0.3444, allocations: 28 kB / 447.4 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006673/0.3451, allocations: 161.9 kB / 447.6 MB, free: 17.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.3463, allocations: 398.4 kB / 448 MB, free: 17.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.3486, allocations: 5.494 MB / 453.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.3498, allocations: 181.4 kB / 453.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.3499, allocations: 104 kB / 453.7 MB, free: 11 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.0005494/0.3504, allocations: 358.9 kB / 454.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.3507, allocations: 127.2 kB / 454.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.3524, allocations: 1.043 MB / 455.2 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3524, allocations: 4 kB / 455.2 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3524, allocations: 5.781 kB / 455.3 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3524, allocations: 11.92 kB / 455.3 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.3547, allocations: 1.426 MB / 456.7 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3547, allocations: 4 kB / 456.7 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.3549, allocations: 63.25 kB / 456.8 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00073/0.3556, allocations: 195.3 kB / 456.9 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.3557, allocations: 12 kB / 457 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.3578, allocations: 5.282 MB / 462.2 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3578, allocations: 4 kB / 462.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3589, allocations: 1.051 MB / 463.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.3592, allocations: 99.22 kB / 463.4 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/0.3594, allocations: 15.89 kB / 463.4 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.3598, allocations: 8 kB / 463.4 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.3599, allocations: 51.38 kB / 463.5 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.3599, allocations: 18.66 kB / 463.5 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008989/0.3608, allocations: 0.83 MB / 464.3 MB, free: 12 kB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3608, allocations: 0 / 464.3 MB, free: 12 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.002888/0.3637, allocations: 0.7162 MB / 465 MB, free: 15.29 MB / 346.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.002485/0.3662, allocations: 0.8864 MB / 465.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.3684, allocations: 0.807 MB / 466.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.3684, allocations: 4 kB / 466.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.3691, allocations: 0.5018 MB / 467.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.3706, allocations: 184.6 kB / 467.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.3748, allocations: 1.951 MB / 469.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008983/0.3757, allocations: 0.4954 MB / 469.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001009/0.3767, allocations: 296.6 kB / 470.1 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.3771, allocations: 154.4 kB / 470.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of SimCode: time 1.984e-06/0.3771, allocations: 2.688 kB / 470.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of Templates: time 0.04147/0.4185, allocations: 20.81 MB / 491.1 MB, free: 6.523 MB / 362.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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.918483362998813]