Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.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.0009382/0.0009382, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009553/0.0009553, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9066/0.9066, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.08439/0.08439, allocations: 17.38 MB / 277.6 MB, free: 11.5 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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 353.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.584e-05, allocations: 2.312 kB / 353.9 MB, free: 10.73 MB / 330.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.StandardLeadAcidPotential): time 0.02677/0.02678, allocations: 32.17 MB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01734/0.04412, allocations: 25.25 MB / 411.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006927/0.04482, allocations: 35.69 kB / 411.4 MB, free: 1.258 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009501/0.04577, allocations: 0.5735 MB / 411.9 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.04772, allocations: 1.291 MB / 413.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007077/0.05479, allocations: 4.079 MB / 417.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.05648, allocations: 2.265 MB / 419.6 MB, free: 8.996 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009125/0.05739, allocations: 0.9746 MB / 420.6 MB, free: 7.992 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.05852, allocations: 1.49 MB / 422 MB, free: 6.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008735/0.05939, allocations: 0.9939 MB / 423 MB, free: 5.504 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.05959, allocations: 172 kB / 423.2 MB, free: 5.336 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.06331, allocations: 2.312 MB / 425.5 MB, free: 3.02 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.06359, allocations: 498.4 kB / 426 MB, free: 2.531 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.06405, allocations: 0.7017 MB / 426.7 MB, free: 1.828 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003713/0.06777, allocations: 4.49 MB / 431.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.06777, allocations: 4 kB / 431.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.06777, allocations: 0 / 431.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.06779, allocations: 0 / 431.2 MB, free: 13.32 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002166/0.06996, allocations: 2.594 MB / 433.8 MB, free: 10.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.06999, allocations: 12.02 kB / 433.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.07135, allocations: 0.8086 MB / 434.6 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009914/0.07234, allocations: 1.042 MB / 435.7 MB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.07244, allocations: 222.3 kB / 435.9 MB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.0726, allocations: 144.4 kB / 436 MB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.07398, allocations: 1.534 MB / 437.5 MB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.074, allocations: 7.938 kB / 437.6 MB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.07411, allocations: 60 kB / 437.6 MB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.07413, allocations: 36 kB / 437.6 MB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.07565, allocations: 1.693 MB / 439.3 MB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.143/0.2186, allocations: 6.089 MB / 445.4 MB, free: 86.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009167/0.2195, allocations: 0.6768 MB / 446.1 MB, free: 86.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.2198, allocations: 278.4 kB / 446.4 MB, free: 86.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004804/0.2246, allocations: 4.165 MB / 450.5 MB, free: 85.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.2246, allocations: 47.39 kB / 450.6 MB, free: 85.45 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001718/0.2248, allocations: 89.2 kB / 450.7 MB, free: 85.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.134e-06/0.2248, allocations: 0 / 450.7 MB, free: 85.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008004/0.2256, allocations: 0.5891 MB / 451.3 MB, free: 85.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.2256, allocations: 113 kB / 451.4 MB, free: 85.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/0.2263, allocations: 1.171 MB / 452.5 MB, free: 84.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2263, allocations: 36.09 kB / 452.6 MB, free: 84.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.2266, allocations: 1.073 MB / 453.7 MB, free: 84.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.2267, allocations: 204.9 kB / 453.9 MB, free: 84.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.2269, allocations: 355.9 kB / 454.2 MB, free: 84.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.19e-05/0.227, allocations: 476.8 kB / 454.7 MB, free: 83.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.2271, allocations: 143.5 kB / 454.8 MB, free: 83.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.2276, allocations: 1.633 MB / 456.4 MB, free: 81.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009424/0.2286, allocations: 1.976 MB / 458.4 MB, free: 79.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.2286, allocations: 13 kB / 458.4 MB, free: 79.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001279/0.2299, allocations: 1.427 MB / 459.9 MB, free: 79.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.2299, allocations: 22.34 kB / 459.9 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.2299, allocations: 38.44 kB / 459.9 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.2302, allocations: 160 kB / 460.1 MB, free: 79.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.2308, allocations: 472.4 kB / 460.5 MB, free: 79.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.2321, allocations: 5.368 MB / 465.9 MB, free: 74.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004736/0.2325, allocations: 91.55 kB / 466 MB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/0.2326, allocations: 121.4 kB / 466.1 MB, free: 74.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * 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 (197): * Single equations (assignments): 193 * 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.0002164/0.2328, allocations: 285.2 kB / 466.4 MB, free: 74.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.233, allocations: 141.8 kB / 466.5 MB, free: 74.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.2342, allocations: 1.415 MB / 467.9 MB, free: 73.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2342, allocations: 3.094 kB / 467.9 MB, free: 73.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.2342, allocations: 3.562 kB / 467.9 MB, free: 73.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2342, allocations: 3.156 kB / 468 MB, free: 73.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.2352, allocations: 1.303 MB / 469.3 MB, free: 73.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2352, allocations: 5.812 kB / 469.3 MB, free: 73.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.2354, allocations: 65.45 kB / 469.3 MB, free: 73.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/0.2357, allocations: 177.7 kB / 469.5 MB, free: 73.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.2357, allocations: 19.03 kB / 469.5 MB, free: 73.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009759/0.2367, allocations: 5.115 MB / 474.6 MB, free: 68.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2367, allocations: 8.203 kB / 474.6 MB, free: 68.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.2372, allocations: 0.9218 MB / 475.6 MB, free: 67.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.018e-05/0.2373, allocations: 117.5 kB / 475.7 MB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.2373, allocations: 9.938 kB / 475.7 MB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.2375, allocations: 13.38 kB / 475.7 MB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.2376, allocations: 42.84 kB / 475.7 MB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.2376, allocations: 20.03 kB / 475.8 MB, free: 67.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003579/0.2379, allocations: 0.6792 MB / 476.4 MB, free: 67.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2379, allocations: 0 / 476.4 MB, free: 67.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001373/0.2393, allocations: 0.8324 MB / 477.3 MB, free: 67.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (anode.temperature,cathode.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 (31): * Single equations (assignments): 27 * 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.000933/0.2403, allocations: 1.037 MB / 478.3 MB, free: 67.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007056/0.241, allocations: 0.7049 MB / 479 MB, free: 67.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.241, allocations: 0 / 479 MB, free: 67.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.2412, allocations: 475.5 kB / 479.5 MB, free: 66.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.2418, allocations: 222.9 kB / 479.7 MB, free: 66.78 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.2438, allocations: 2.181 MB / 481.9 MB, free: 65.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.2439, allocations: 243.8 kB / 482.1 MB, free: 65.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005727/0.2445, allocations: 355.5 kB / 482.5 MB, free: 65.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.2449, allocations: 397.3 kB / 482.8 MB, free: 65.43 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2449, allocations: 2.969 kB / 482.9 MB, free: 65.43 MB / 410.7 MB Notification: Performance of Templates: time 0.02651/0.2714, allocations: 28.34 MB / 0.4992 GB, free: 59.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.209085058886558]