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.001842/0.001842, 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.002894/0.002894, allocations: 173.2 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.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.1876/0.1876, allocations: 17.46 MB / 277 MB, free: 11.58 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.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: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 352.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.371e-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.StandardElectrochemicalCell2): time 0.04507/0.0451, allocations: 28.37 MB / 381.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02904/0.07414, allocations: 18.22 MB / 399.4 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.0755, allocations: 23.81 kB / 399.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.07713, allocations: 436.5 kB / 399.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00311/0.08024, allocations: 0.8374 MB / 400.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009711/0.08995, allocations: 2.946 MB / 403.6 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003415/0.09336, allocations: 1.684 MB / 405.3 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.0949, allocations: 0.7706 MB / 406.1 MB, free: 4.938 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.09675, allocations: 1.037 MB / 407.1 MB, free: 3.898 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.09804, allocations: 0.6702 MB / 407.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002756/0.09831, allocations: 144 kB / 407.9 MB, free: 3.086 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006601/0.1049, allocations: 1.684 MB / 409.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007252/0.1056, allocations: 370.8 kB / 410 MB, free: 1.035 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.1068, allocations: 0.534 MB / 410.5 MB, free: 0.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1632/0.27, allocations: 3.757 MB / 414.3 MB, free: 37.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.27, allocations: 0.5156 kB / 414.3 MB, free: 37.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.27, allocations: 1.312 kB / 414.3 MB, free: 37.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.352e-05/0.27, allocations: 0 / 414.3 MB, free: 37.18 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.003755/0.2738, allocations: 2.077 MB / 416.4 MB, free: 36.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2738, allocations: 11.14 kB / 416.4 MB, free: 36.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.2758, allocations: 0.6666 MB / 417 MB, free: 35.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.2776, allocations: 0.9366 MB / 418 MB, free: 35.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.2777, allocations: 203.1 kB / 418.2 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.2779, allocations: 122 kB / 418.3 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.2804, allocations: 1.578 MB / 419.9 MB, free: 35.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.2805, allocations: 1.344 kB / 419.9 MB, free: 35.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.2806, allocations: 53.09 kB / 419.9 MB, free: 35.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.2807, allocations: 29.81 kB / 419.9 MB, free: 35.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.2836, allocations: 1.818 MB / 421.8 MB, free: 35.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007114/0.2907, allocations: 5.493 MB / 427.3 MB, free: 32.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.2918, allocations: 0.6722 MB / 427.9 MB, free: 32.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.2923, allocations: 320.8 kB / 428.2 MB, free: 32.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005824/0.2981, allocations: 2.898 MB / 431.1 MB, free: 31.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2981, allocations: 43.73 kB / 431.2 MB, free: 31.23 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002833/0.2984, allocations: 70.83 kB / 431.3 MB, free: 31.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.2984, allocations: 0 / 431.3 MB, free: 31.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001198/0.2996, allocations: 0.5818 MB / 431.8 MB, free: 30.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.2996, allocations: 109.6 kB / 431.9 MB, free: 30.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3007, allocations: 1.246 MB / 433.2 MB, free: 30.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.3007, allocations: 29.7 kB / 433.2 MB, free: 30.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.3011, allocations: 0.9111 MB / 434.1 MB, free: 29.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.3012, allocations: 147.8 kB / 434.3 MB, free: 29.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/0.3015, allocations: 307.6 kB / 434.6 MB, free: 29.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3016, allocations: 0.6369 MB / 435.2 MB, free: 28.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.302, allocations: 230.1 kB / 435.4 MB, free: 28.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.3028, allocations: 1.326 MB / 436.8 MB, free: 27.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.3039, allocations: 1.662 MB / 438.4 MB, free: 25.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.3039, allocations: 7.469 kB / 438.4 MB, free: 25.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001731/0.3057, allocations: 1.335 MB / 439.8 MB, free: 25.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.3057, allocations: 20.03 kB / 439.8 MB, free: 25.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.3057, allocations: 33.41 kB / 439.8 MB, free: 25.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.3063, allocations: 157.5 kB / 440 MB, free: 25.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.3073, allocations: 377.7 kB / 440.3 MB, free: 25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.3095, allocations: 5.495 MB / 445.8 MB, free: 19.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.3104, allocations: 76.92 kB / 445.9 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.3105, allocations: 91.55 kB / 446 MB, free: 19.54 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.0004106/0.3109, allocations: 347.5 kB / 446.3 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.3111, allocations: 108.3 kB / 446.4 MB, free: 19.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.3125, allocations: 0.9347 MB / 447.4 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3125, allocations: 3.375 kB / 447.4 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.3125, allocations: 3.562 kB / 447.4 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3126, allocations: 3.938 kB / 447.4 MB, free: 18.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.3143, allocations: 1.319 MB / 448.7 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3143, allocations: 2.656 kB / 448.7 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.3145, allocations: 63.34 kB / 448.8 MB, free: 17.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007092/0.3153, allocations: 185 kB / 449 MB, free: 17.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.3153, allocations: 16 kB / 449 MB, free: 17.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.3172, allocations: 5.281 MB / 454.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3172, allocations: 6.625 kB / 454.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009849/0.3182, allocations: 0.9882 MB / 455.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.3184, allocations: 92.62 kB / 455.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.3185, allocations: 8 kB / 455.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.3188, allocations: 8 kB / 455.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.3189, allocations: 39.36 kB / 455.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.3189, allocations: 19.98 kB / 455.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007171/0.3196, allocations: 0.7633 MB / 456.2 MB, free: 9.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3196, allocations: 0 / 456.2 MB, free: 9.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002044/0.3217, allocations: 0.6409 MB / 456.8 MB, free: 9.277 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.001367/0.323, allocations: 0.7716 MB / 457.6 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.3245, allocations: 0.752 MB / 458.3 MB, free: 7.973 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3245, allocations: 0 / 458.3 MB, free: 7.973 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.325, allocations: 0.4973 MB / 458.8 MB, free: 7.449 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.326, allocations: 171.9 kB / 459 MB, free: 7.297 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.3283, allocations: 1.794 MB / 460.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3286, allocations: 472.6 kB / 461.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006677/0.3293, allocations: 266.4 kB / 461.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.3295, allocations: 136.6 kB / 461.7 MB, free: 4.711 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3295, allocations: 0 / 461.7 MB, free: 4.711 MB / 330.7 MB Notification: Performance of Templates: time 0.03189/0.3613, allocations: 18.5 MB / 480.2 MB, free: 3.23 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.710244539892301]