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.001493/0.001493, allocations: 88.72 kB / 19.44 MB, free: 356 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.00177/0.00177, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.467/1.467, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.1474/0.1474, allocations: 17.45 MB / 277 MB, free: 11.57 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.014e-06/2.014e-06, allocations: 0 / 352.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.585e-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.04407/0.0441, allocations: 27.65 MB / 380.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02511/0.06921, allocations: 16.03 MB / 396.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.07033, allocations: 27.75 kB / 396.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.07171, allocations: 432.6 kB / 396.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.07451, allocations: 0.8335 MB / 397.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008688/0.08319, allocations: 2.934 MB / 400.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.08608, allocations: 1.699 MB / 402.4 MB, free: 8.633 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.08733, allocations: 0.7628 MB / 403.2 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.08876, allocations: 1.029 MB / 404.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.0899, allocations: 0.6429 MB / 404.9 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004966/0.0904, allocations: 144 kB / 405 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005177/0.09557, allocations: 1.676 MB / 406.7 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005929/0.09617, allocations: 366.8 kB / 407 MB, free: 3.988 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.09717, allocations: 0.5301 MB / 407.6 MB, free: 3.457 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1527/0.2499, allocations: 3.751 MB / 411.3 MB, free: 41.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2499, allocations: 1.281 kB / 411.3 MB, free: 41.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2499, allocations: 0 / 411.3 MB, free: 41.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.373e-05/0.25, allocations: 3.688 kB / 411.3 MB, free: 41.73 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.00326/0.2532, allocations: 1.875 MB / 413.2 MB, free: 40.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2533, allocations: 13.75 kB / 413.2 MB, free: 40.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.2552, allocations: 0.6594 MB / 413.9 MB, free: 40.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.2568, allocations: 0.946 MB / 414.8 MB, free: 40.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.2569, allocations: 197.4 kB / 415 MB, free: 40.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.2571, allocations: 117.1 kB / 415.1 MB, free: 40.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.2598, allocations: 1.666 MB / 416.8 MB, free: 40.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.2599, allocations: 1.688 kB / 416.8 MB, free: 40.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.26, allocations: 55.42 kB / 416.8 MB, free: 40.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.2601, allocations: 33.28 kB / 416.9 MB, free: 40.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.2635, allocations: 2.104 MB / 419 MB, free: 40.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006863/0.2703, allocations: 4.727 MB / 423.7 MB, free: 38.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.2714, allocations: 0.6821 MB / 424.4 MB, free: 38.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/0.2719, allocations: 332.8 kB / 424.7 MB, free: 38.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005689/0.2776, allocations: 2.736 MB / 427.4 MB, free: 37.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.2776, allocations: 34.16 kB / 427.5 MB, free: 37.06 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003169/0.278, allocations: 70.38 kB / 427.5 MB, free: 37.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/0.278, allocations: 0 / 427.5 MB, free: 37.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001246/0.2792, allocations: 0.6087 MB / 428.2 MB, free: 36.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.2792, allocations: 114.4 kB / 428.3 MB, free: 36.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2803, allocations: 1.166 MB / 429.4 MB, free: 36.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.2803, allocations: 29.7 kB / 429.5 MB, free: 36.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.2806, allocations: 0.8071 MB / 430.3 MB, free: 35.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.2807, allocations: 136.7 kB / 430.4 MB, free: 35.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.281, allocations: 272.7 kB / 430.7 MB, free: 35.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.2811, allocations: 407.4 kB / 431.1 MB, free: 34.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.2815, allocations: 323.3 kB / 431.4 MB, free: 34.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.2821, allocations: 1.056 MB / 432.4 MB, free: 33.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.2833, allocations: 1.406 MB / 433.8 MB, free: 32.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.2833, allocations: 7.219 kB / 433.9 MB, free: 32.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001993/0.2853, allocations: 1.519 MB / 435.4 MB, free: 32.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.2853, allocations: 14.12 kB / 435.4 MB, free: 32.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.2853, allocations: 26.91 kB / 435.4 MB, free: 32.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/0.2859, allocations: 152.3 kB / 435.6 MB, free: 31.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000992/0.2869, allocations: 380 kB / 435.9 MB, free: 31.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.2889, allocations: 3.815 MB / 439.7 MB, free: 28.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008995/0.2898, allocations: 75.52 kB / 439.8 MB, free: 28.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.2899, allocations: 96.59 kB / 439.9 MB, free: 28.22 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.0004169/0.2904, allocations: 309.8 kB / 440.2 MB, free: 28.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.2905, allocations: 110.9 kB / 440.3 MB, free: 27.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.292, allocations: 0.8514 MB / 441.2 MB, free: 27.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.292, allocations: 4.125 kB / 441.2 MB, free: 27.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.292, allocations: 3.984 kB / 441.2 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.292, allocations: 6.469 kB / 441.2 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.2936, allocations: 1.059 MB / 442.2 MB, free: 26.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2936, allocations: 0 / 442.2 MB, free: 26.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.2939, allocations: 67.52 kB / 442.3 MB, free: 26.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006938/0.2946, allocations: 177.7 kB / 442.5 MB, free: 26.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.2946, allocations: 16 kB / 442.5 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.2964, allocations: 3.7 MB / 446.2 MB, free: 22.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.2964, allocations: 7.469 kB / 446.2 MB, free: 22.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.2974, allocations: 0.8513 MB / 447.1 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.2976, allocations: 87.31 kB / 447.1 MB, free: 21.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.2977, allocations: 10.66 kB / 447.2 MB, free: 21.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.2981, allocations: 8 kB / 447.2 MB, free: 21.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.2982, allocations: 39.88 kB / 447.2 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.2982, allocations: 16 kB / 447.2 MB, free: 21.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007746/0.299, allocations: 0.8191 MB / 448 MB, free: 20.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.299, allocations: 0 / 448 MB, free: 20.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00183/0.3008, allocations: 0.6344 MB / 448.7 MB, free: 19.86 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.001176/0.302, allocations: 0.7706 MB / 449.4 MB, free: 19.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.3034, allocations: 0.7659 MB / 450.2 MB, free: 18.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3034, allocations: 0 / 450.2 MB, free: 18.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.3038, allocations: 390 kB / 450.6 MB, free: 18.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00099/0.3048, allocations: 170.3 kB / 450.8 MB, free: 18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.3072, allocations: 1.779 MB / 452.5 MB, free: 16.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3076, allocations: 480.5 kB / 453 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007184/0.3083, allocations: 268.6 kB / 453.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.3086, allocations: 132.4 kB / 453.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3086, allocations: 0 / 453.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of Templates: time 0.02462/0.3332, allocations: 18.46 MB / 471.9 MB, free: 14.01 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.487738547031768]