Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001375/0.001375, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.00169/0.00169, allocations: 177 kB / 23.36 MB, free: 1.137 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.9666/0.9666, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.08948/0.08948, allocations: 17.47 MB / 277.7 MB, free: 11.43 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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 300.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03e-05/1.172e-05, allocations: 2.969 kB / 300.8 MB, free: 1.727 MB / 266.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.StandardLeadAcidPotential): time 0.03338/0.03339, allocations: 38.04 MB / 338.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02055/0.05395, allocations: 25.63 MB / 364.4 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.05521, allocations: 35.69 kB / 364.5 MB, free: 4.527 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.05634, allocations: 0.6007 MB / 365.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.05863, allocations: 1.291 MB / 366.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007288/0.06592, allocations: 4.051 MB / 370.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.06781, allocations: 2.261 MB / 372.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009772/0.06879, allocations: 0.9902 MB / 373.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.07002, allocations: 1.49 MB / 375.2 MB, free: 9.742 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.07109, allocations: 0.9861 MB / 376.2 MB, free: 8.754 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.07135, allocations: 176 kB / 376.3 MB, free: 8.582 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/0.07556, allocations: 2.367 MB / 378.7 MB, free: 6.211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.07587, allocations: 0.4906 MB / 379.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.07639, allocations: 0.7055 MB / 379.9 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004636/0.08102, allocations: 4.494 MB / 384.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.08103, allocations: 0 / 384.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08103, allocations: 0 / 384.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.455e-05/0.08106, allocations: 0 / 384.4 MB, free: 0.5 MB / 346.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.002415/0.08348, allocations: 2.436 MB / 386.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.08351, allocations: 8.031 kB / 386.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.08492, allocations: 0.7939 MB / 387.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009687/0.08589, allocations: 0.8596 MB / 388.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.08601, allocations: 218.3 kB / 388.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.08618, allocations: 148.4 kB / 388.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.08758, allocations: 1.516 MB / 390.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.0876, allocations: 3.938 kB / 390.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.08772, allocations: 64 kB / 390.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.08774, allocations: 36 kB / 390.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.08938, allocations: 1.528 MB / 392 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004937/0.09431, allocations: 4.631 MB / 396.6 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007343/0.09505, allocations: 0.66 MB / 397.3 MB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.09535, allocations: 253.4 kB / 397.5 MB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00475/0.1001, allocations: 3.742 MB / 401.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1001, allocations: 39.06 kB / 401.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001637/0.1003, allocations: 87.19 kB / 401.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.873e-06/0.1003, allocations: 0 / 401.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006976/0.101, allocations: 467.4 kB / 401.8 MB, free: 14.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.101, allocations: 115.3 kB / 402 MB, free: 14.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006349/0.1017, allocations: 1.054 MB / 403 MB, free: 13.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.1017, allocations: 37.7 kB / 403 MB, free: 13.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.102, allocations: 0.8699 MB / 403.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1022, allocations: 202.4 kB / 404.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.1024, allocations: 343.2 kB / 404.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.1025, allocations: 309.1 kB / 404.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.1027, allocations: 146.7 kB / 404.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.1033, allocations: 1.171 MB / 406.1 MB, free: 9.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.1043, allocations: 1.542 MB / 407.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.1043, allocations: 8 kB / 407.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001112/0.1054, allocations: 1.162 MB / 408.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.1054, allocations: 22.03 kB / 408.8 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.1054, allocations: 36 kB / 408.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.1058, allocations: 161.9 kB / 409 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008079/0.1066, allocations: 0.5071 MB / 409.5 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.1082, allocations: 3.628 MB / 413.1 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.1086, allocations: 83.86 kB / 413.2 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.1087, allocations: 112 kB / 413.3 MB, free: 1.828 MB / 378.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.0002417/0.109, allocations: 251.8 kB / 413.6 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1091, allocations: 83.92 kB / 413.6 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.1104, allocations: 1.238 MB / 414.9 MB, free: 172 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1104, allocations: 7.984 kB / 414.9 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1104, allocations: 7.969 kB / 414.9 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1104, allocations: 0 / 414.9 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.1115, allocations: 1.109 MB / 416 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1115, allocations: 4 kB / 416 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.1117, allocations: 84.53 kB / 416.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.1121, allocations: 163.6 kB / 416.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.1121, allocations: 19.98 kB / 416.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.1135, allocations: 3.456 MB / 419.7 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1135, allocations: 11.97 kB / 419.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.114, allocations: 0.683 MB / 420.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.454e-05/0.1141, allocations: 107.1 kB / 420.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.313e-05/0.1142, allocations: 11.94 kB / 420.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1144, allocations: 12 kB / 420.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.1144, allocations: 51.86 kB / 420.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.1145, allocations: 15.98 kB / 420.6 MB, free: 10.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004056/0.1149, allocations: 0.5444 MB / 421.2 MB, free: 9.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1149, allocations: 0 / 421.2 MB, free: 9.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00156/0.1164, allocations: 0.8251 MB / 422 MB, free: 8.676 MB / 394.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.00116/0.1176, allocations: 1.013 MB / 423 MB, free: 7.648 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007875/0.1184, allocations: 0.7011 MB / 423.7 MB, free: 6.961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.653e-05/0.1184, allocations: 27.84 kB / 423.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.1187, allocations: 351.7 kB / 424.1 MB, free: 6.562 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.1193, allocations: 225.1 kB / 424.3 MB, free: 6.344 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.1218, allocations: 2.14 MB / 426.4 MB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.1219, allocations: 227.3 kB / 426.7 MB, free: 3.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006521/0.1226, allocations: 356.1 kB / 427 MB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/0.123, allocations: 355.8 kB / 427.4 MB, free: 3.195 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.123, allocations: 0 / 427.4 MB, free: 3.195 MB / 394.7 MB Notification: Performance of Templates: time 0.1543/0.2773, allocations: 28.36 MB / 455.7 MB, free: 98.37 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.315591737162322]