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.001192/0.001192, allocations: 93.06 kB / 19.65 MB, free: 280 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.001406/0.001406, allocations: 169.3 kB / 23.02 MB, free: 1.551 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 0.9256/0.9256, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.0891/0.0891, allocations: 17.37 MB / 277.3 MB, free: 11.66 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 2.014e-06/2.014e-06, allocations: 0 / 353.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.689e-05, allocations: 2.312 kB / 353.4 MB, free: 9.984 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.03594/0.03596, allocations: 31.16 MB / 384.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.05675, allocations: 19.03 MB / 403.6 MB, free: 7.852 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.05813, allocations: 27.75 kB / 403.6 MB, free: 7.824 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.0596, allocations: 464.3 kB / 404.1 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.06341, allocations: 0.9577 MB / 405.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007215/0.07062, allocations: 3.043 MB / 408.1 MB, free: 3.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002365/0.07299, allocations: 1.867 MB / 410 MB, free: 1.461 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008306/0.07382, allocations: 0.7983 MB / 410.8 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1391/0.2129, allocations: 1.128 MB / 411.9 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.2146, allocations: 0.7425 MB / 412.6 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000557/0.2152, allocations: 147 kB / 412.8 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003937/0.2191, allocations: 1.725 MB / 414.5 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.2194, allocations: 392.6 kB / 414.9 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000963/0.2204, allocations: 0.5729 MB / 415.5 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006763/0.2271, allocations: 3.361 MB / 418.8 MB, free: 37.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2271, allocations: 1.094 kB / 418.8 MB, free: 37.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2271, allocations: 0.6094 kB / 418.8 MB, free: 37.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.62e-05/0.2272, allocations: 0 / 418.8 MB, free: 37.42 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.003468/0.2307, allocations: 2.13 MB / 421 MB, free: 36.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2307, allocations: 13.06 kB / 421 MB, free: 36.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.2322, allocations: 0.733 MB / 421.7 MB, free: 36.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.2334, allocations: 1.01 MB / 422.7 MB, free: 35.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.2335, allocations: 199.6 kB / 422.9 MB, free: 35.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.2337, allocations: 130.4 kB / 423 MB, free: 35.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.2352, allocations: 1.351 MB / 424.4 MB, free: 35.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.2352, allocations: 6 kB / 424.4 MB, free: 35.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.2353, allocations: 57.97 kB / 424.4 MB, free: 35.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.2354, allocations: 33 kB / 424.5 MB, free: 35.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.2369, allocations: 1.455 MB / 425.9 MB, free: 35.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004443/0.2414, allocations: 5.075 MB / 431 MB, free: 32.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000704/0.2421, allocations: 0.5451 MB / 431.6 MB, free: 32.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.2424, allocations: 210.8 kB / 431.8 MB, free: 32.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003498/0.2459, allocations: 2.843 MB / 434.6 MB, free: 31.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.2459, allocations: 47.83 kB / 434.6 MB, free: 31.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.924e-06/0.2459, allocations: 0 / 434.6 MB, free: 31.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.000797/0.2467, allocations: 495 kB / 435.1 MB, free: 31.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.2467, allocations: 106 kB / 435.2 MB, free: 31.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.2474, allocations: 1.092 MB / 436.3 MB, free: 30.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2474, allocations: 33.7 kB / 436.4 MB, free: 30.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.2477, allocations: 0.9183 MB / 437.3 MB, free: 29.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/0.2477, allocations: 160.1 kB / 437.4 MB, free: 29.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.2479, allocations: 297.9 kB / 437.7 MB, free: 29.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.248, allocations: 0.5253 MB / 438.3 MB, free: 28.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.2482, allocations: 144.4 kB / 438.4 MB, free: 28.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.2487, allocations: 1.34 MB / 439.7 MB, free: 27.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.2496, allocations: 1.621 MB / 441.4 MB, free: 25.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.2496, allocations: 10.31 kB / 441.4 MB, free: 25.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001189/0.2508, allocations: 1.249 MB / 442.6 MB, free: 24.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2508, allocations: 16 kB / 442.6 MB, free: 24.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.2508, allocations: 28 kB / 442.7 MB, free: 24.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.2511, allocations: 161.5 kB / 442.8 MB, free: 24.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.2517, allocations: 394.5 kB / 443.2 MB, free: 24.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.2529, allocations: 5.394 MB / 448.6 MB, free: 18.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.2535, allocations: 185.4 kB / 448.8 MB, free: 18.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.809e-05/0.2536, allocations: 99.98 kB / 448.9 MB, free: 18.26 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.0002317/0.2538, allocations: 263.5 kB / 449.1 MB, free: 18.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2539, allocations: 123.2 kB / 449.2 MB, free: 17.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000882/0.2548, allocations: 0.9277 MB / 450.2 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2548, allocations: 4 kB / 450.2 MB, free: 16.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.2548, allocations: 0 / 450.2 MB, free: 16.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2548, allocations: 6.594 kB / 450.2 MB, free: 16.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.2559, allocations: 1.16 MB / 451.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2559, allocations: 0 / 451.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.256, allocations: 63.53 kB / 451.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003606/0.2563, allocations: 180.7 kB / 451.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.2564, allocations: 14.66 kB / 451.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.2574, allocations: 5.181 MB / 456.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2574, allocations: 10.58 kB / 456.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.258, allocations: 0.915 MB / 457.7 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-05/0.2581, allocations: 91.27 kB / 457.8 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.2581, allocations: 19.89 kB / 457.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.2583, allocations: 8 kB / 457.8 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.2583, allocations: 43.27 kB / 457.9 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.2584, allocations: 22.64 kB / 457.9 MB, free: 8.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004294/0.2588, allocations: 0.6698 MB / 458.6 MB, free: 8.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2588, allocations: 0 / 458.6 MB, free: 8.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001473/0.2603, allocations: 0.6695 MB / 459.2 MB, free: 7.508 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.0008757/0.2611, allocations: 0.7621 MB / 460 MB, free: 6.867 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008033/0.2619, allocations: 0.646 MB / 460.6 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2619, allocations: 0 / 460.6 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.2622, allocations: 469.3 kB / 461.1 MB, free: 5.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.2628, allocations: 192.1 kB / 461.3 MB, free: 5.668 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.002546/0.2654, allocations: 1.877 MB / 463.2 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.2655, allocations: 203.8 kB / 463.4 MB, free: 3.555 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005252/0.266, allocations: 287 kB / 463.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.2662, allocations: 154.6 kB / 463.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2662, allocations: 0 / 463.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of Templates: time 0.02143/0.2876, allocations: 19.2 MB / 483 MB, free: 1.09 MB / 346.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.575797989964485]