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.0008713/0.0008713, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009208/0.0009208, allocations: 181 kB / 23.36 MB, free: 1.133 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.8959/0.8959, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.08447/0.08447, allocations: 17.46 MB / 277.7 MB, free: 11.45 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.473e-06/1.473e-06, allocations: 0 / 300.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.428e-05, allocations: 3.688 kB / 300.7 MB, free: 1.75 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.03052/0.03054, allocations: 37.98 MB / 338.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01975/0.05029, allocations: 25.64 MB / 364.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.05134, allocations: 35.69 kB / 364.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.05244, allocations: 0.5929 MB / 365 MB, free: 4.035 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.05494, allocations: 1.299 MB / 366.3 MB, free: 2.727 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00781/0.06275, allocations: 4.11 MB / 370.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.06495, allocations: 2.269 MB / 372.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009186/0.06587, allocations: 0.9902 MB / 373.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.06695, allocations: 1.494 MB / 375.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008633/0.06782, allocations: 0.9783 MB / 376.1 MB, free: 8.793 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.06799, allocations: 176 kB / 376.3 MB, free: 8.621 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.07193, allocations: 2.308 MB / 378.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.07223, allocations: 0.4906 MB / 379.1 MB, free: 5.816 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007433/0.07297, allocations: 0.7094 MB / 379.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004219/0.07719, allocations: 4.482 MB / 384.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.07719, allocations: 0 / 384.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0772, allocations: 0 / 384.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.07721, allocations: 4 kB / 384.3 MB, free: 0.6016 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.002113/0.07932, allocations: 2.432 MB / 386.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.07935, allocations: 16.03 kB / 386.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.08087, allocations: 0.7861 MB / 387.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009289/0.0818, allocations: 0.8675 MB / 388.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/0.0819, allocations: 218.3 kB / 388.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.08205, allocations: 144.4 kB / 388.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.08329, allocations: 1.52 MB / 390.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.08332, allocations: 4 kB / 390.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.08342, allocations: 60 kB / 390.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.08344, allocations: 36 kB / 390.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.08486, allocations: 1.536 MB / 391.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004523/0.08939, allocations: 4.635 MB / 396.5 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006929/0.09008, allocations: 0.6633 MB / 397.2 MB, free: 3.371 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.09036, allocations: 245.4 kB / 397.4 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00452/0.09488, allocations: 3.738 MB / 401.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.09513, allocations: 54.98 kB / 401.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001554/0.09529, allocations: 83.19 kB / 401.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.212e-06/0.09529, allocations: 0 / 401.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006006/0.09589, allocations: 459.4 kB / 401.8 MB, free: 14.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.09592, allocations: 111.3 kB / 401.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.0965, allocations: 1.054 MB / 402.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.09653, allocations: 37.7 kB / 403 MB, free: 13.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.09687, allocations: 0.8741 MB / 403.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.866e-05/0.09696, allocations: 202.4 kB / 404 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.0972, allocations: 343.2 kB / 404.4 MB, free: 12.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.973e-05/0.09726, allocations: 309.1 kB / 404.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.09743, allocations: 146.7 kB / 404.8 MB, free: 11.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/0.09799, allocations: 1.167 MB / 406 MB, free: 9.953 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.09914, allocations: 1.546 MB / 407.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.09915, allocations: 8 kB / 407.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.0009788/0.1001, allocations: 1.147 MB / 408.7 MB, free: 6.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1001, allocations: 20.19 kB / 408.7 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.1002, allocations: 40 kB / 408.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002748/0.1004, allocations: 161.4 kB / 408.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.1011, allocations: 467.2 kB / 409.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.1024, allocations: 3.632 MB / 413 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.1028, allocations: 96.06 kB / 413.1 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.65e-05/0.1029, allocations: 112 kB / 413.2 MB, free: 1.977 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.0002191/0.1031, allocations: 247.7 kB / 413.4 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1032, allocations: 79.91 kB / 413.5 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.1047, allocations: 1.242 MB / 414.8 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1047, allocations: 4 kB / 414.8 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1047, allocations: 0 / 414.8 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1047, allocations: 4 kB / 414.8 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009714/0.1057, allocations: 1.106 MB / 415.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1057, allocations: 0 / 415.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.1058, allocations: 68.19 kB / 415.9 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/0.1061, allocations: 171.2 kB / 416.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1061, allocations: 16 kB / 416.1 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.1074, allocations: 3.464 MB / 419.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1074, allocations: 4 kB / 419.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.1078, allocations: 0.6832 MB / 420.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.1079, allocations: 107.1 kB / 420.4 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.108, allocations: 15.94 kB / 420.4 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.1082, allocations: 8 kB / 420.4 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.1083, allocations: 47.81 kB / 420.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1083, allocations: 12 kB / 420.5 MB, free: 10.24 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003625/0.1086, allocations: 0.5444 MB / 421 MB, free: 9.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1086, allocations: 0 / 421 MB, free: 9.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001521/0.1102, allocations: 0.829 MB / 421.8 MB, free: 8.859 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.0009814/0.1111, allocations: 1.017 MB / 422.8 MB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006744/0.1118, allocations: 0.6914 MB / 423.5 MB, free: 7.148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.351e-05/0.1118, allocations: 31.84 kB / 423.6 MB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.1121, allocations: 350.1 kB / 423.9 MB, free: 6.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.1126, allocations: 233.1 kB / 424.1 MB, free: 6.523 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.002134/0.1148, allocations: 2.13 MB / 426.3 MB, free: 4.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.1149, allocations: 235.2 kB / 426.5 MB, free: 4.059 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005885/0.1155, allocations: 351.7 kB / 426.8 MB, free: 3.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.1159, allocations: 355.2 kB / 427.2 MB, free: 3.383 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1159, allocations: 0 / 427.2 MB, free: 3.383 MB / 394.7 MB Notification: Performance of Templates: time 0.1322/0.2481, allocations: 28.26 MB / 455.4 MB, free: 98.28 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2836244250647724]