Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.000879/0.000879, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.0009117/0.0009117, allocations: 165 kB / 24.05 MB, free: 452 kB / 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 0.9406/0.9406, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.1084/0.1084, allocations: 17.38 MB / 278.4 MB, free: 11.46 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.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 354.7 MB, free: 9.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.402e-05, allocations: 5.547 kB / 354.7 MB, free: 9.676 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.StandardElectrochemicalCell): time 0.05841/0.05843, allocations: 31.07 MB / 385.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.07332, allocations: 18.61 MB / 404.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.0746, allocations: 27.75 kB / 404.4 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.07583, allocations: 456.3 kB / 404.8 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.07827, allocations: 0.9655 MB / 405.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006428/0.0847, allocations: 3.035 MB / 408.8 MB, free: 3.551 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002438/0.08713, allocations: 1.875 MB / 410.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009893/0.08812, allocations: 0.7983 MB / 411.5 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1529/0.241, allocations: 1.188 MB / 412.7 MB, free: 37.76 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.2429, allocations: 0.7678 MB / 413.5 MB, free: 37.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000631/0.2435, allocations: 145.1 kB / 413.6 MB, free: 37.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004526/0.248, allocations: 1.719 MB / 415.3 MB, free: 37.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004716/0.2485, allocations: 401.7 kB / 415.7 MB, free: 37.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.2499, allocations: 0.5797 MB / 416.3 MB, free: 37.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008017/0.2579, allocations: 3.41 MB / 419.7 MB, free: 37.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2579, allocations: 0 / 419.7 MB, free: 37.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.258, allocations: 3.938 kB / 419.7 MB, free: 37.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.942e-05/0.258, allocations: 0 / 419.7 MB, free: 37.55 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.004487/0.2625, allocations: 2.146 MB / 421.9 MB, free: 36.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2626, allocations: 10.12 kB / 421.9 MB, free: 36.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.2643, allocations: 0.6837 MB / 422.5 MB, free: 36.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.2658, allocations: 0.8507 MB / 423.4 MB, free: 35.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.2659, allocations: 201.9 kB / 423.6 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.2661, allocations: 125.5 kB / 423.7 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.2675, allocations: 1.246 MB / 425 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.2675, allocations: 3.188 kB / 425 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/0.2676, allocations: 56.34 kB / 425 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.2676, allocations: 34.69 kB / 425.1 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.2689, allocations: 1.259 MB / 426.3 MB, free: 35.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/0.2741, allocations: 5.125 MB / 431.4 MB, free: 33.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/0.2749, allocations: 0.5099 MB / 431.9 MB, free: 32.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.2751, allocations: 181.8 kB / 432.1 MB, free: 32.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003923/0.279, allocations: 2.85 MB / 435 MB, free: 32.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.2791, allocations: 48.19 kB / 435 MB, free: 32.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.353e-06/0.2791, allocations: 0 / 435 MB, free: 32.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.001073/0.2801, allocations: 462.4 kB / 435.5 MB, free: 31.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.2802, allocations: 107.8 kB / 435.6 MB, free: 31.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.2812, allocations: 1.065 MB / 436.6 MB, free: 31.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.2812, allocations: 32.89 kB / 436.7 MB, free: 31.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.2817, allocations: 0.9275 MB / 437.6 MB, free: 30.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.2818, allocations: 160 kB / 437.8 MB, free: 30.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.282, allocations: 300.4 kB / 438.1 MB, free: 30.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.2821, allocations: 0.5297 MB / 438.6 MB, free: 29.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.2823, allocations: 120.9 kB / 438.7 MB, free: 29.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.2829, allocations: 1.321 MB / 440 MB, free: 28.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.284, allocations: 1.591 MB / 441.6 MB, free: 26.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/0.284, allocations: 8.219 kB / 441.6 MB, free: 26.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001398/0.2854, allocations: 1.178 MB / 442.8 MB, free: 25.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.2854, allocations: 23.12 kB / 442.8 MB, free: 25.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/0.2855, allocations: 28 kB / 442.9 MB, free: 25.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004571/0.2859, allocations: 157.4 kB / 443 MB, free: 25.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.2865, allocations: 391.9 kB / 443.4 MB, free: 25.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.288, allocations: 5.361 MB / 448.7 MB, free: 19.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007181/0.2887, allocations: 181.4 kB / 448.9 MB, free: 19.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.671e-05/0.2888, allocations: 91.27 kB / 449 MB, free: 19.47 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.0002932/0.2891, allocations: 264.5 kB / 449.3 MB, free: 19.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.2892, allocations: 118 kB / 449.4 MB, free: 19.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009174/0.2901, allocations: 0.9144 MB / 450.3 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2901, allocations: 4 kB / 450.3 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2901, allocations: 0 / 450.3 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2901, allocations: 3.984 kB / 450.3 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.2913, allocations: 1.189 MB / 451.5 MB, free: 17.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2913, allocations: 4 kB / 451.5 MB, free: 17.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.2915, allocations: 59.34 kB / 451.6 MB, free: 17.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/0.2918, allocations: 172.3 kB / 451.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.2919, allocations: 23.92 kB / 451.8 MB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.2932, allocations: 5.122 MB / 456.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2932, allocations: 7.938 kB / 456.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.2938, allocations: 0.8856 MB / 457.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.2939, allocations: 91.28 kB / 457.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.294, allocations: 23.88 kB / 457.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.2942, allocations: 8 kB / 457.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.2942, allocations: 39.27 kB / 457.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.2942, allocations: 19.98 kB / 457.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003477/0.2946, allocations: 0.6131 MB / 458.6 MB, free: 9.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2946, allocations: 2.688 kB / 458.6 MB, free: 9.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001857/0.2964, allocations: 0.6695 MB / 459.2 MB, free: 9.172 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.001218/0.2976, allocations: 0.8168 MB / 460 MB, free: 8.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008538/0.2985, allocations: 0.6025 MB / 460.7 MB, free: 8.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2985, allocations: 8 kB / 460.7 MB, free: 8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.2988, allocations: 459.8 kB / 461.1 MB, free: 7.531 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.2994, allocations: 186.4 kB / 461.3 MB, free: 7.363 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.3019, allocations: 1.871 MB / 463.2 MB, free: 5.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.302, allocations: 211.8 kB / 463.4 MB, free: 5.258 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005353/0.3025, allocations: 265 kB / 463.6 MB, free: 5.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.3028, allocations: 326 kB / 463.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.243e-06/0.3028, allocations: 3.469 kB / 463.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of Templates: time 0.028/0.3309, allocations: 22.89 MB / 486.8 MB, free: 15.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.717735366895795]