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.001762/0.001762, allocations: 113.5 kB / 17.13 MB, free: 5.926 MB / 14.72 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.002136/0.002136, allocations: 206.5 kB / 20.09 MB, free: 2.977 MB / 14.72 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 1.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.1398/0.1398, allocations: 23.9 MB / 333.4 MB, free: 1.172 MB / 254.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 65.75 kB / 467.2 MB, free: 30.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09557, allocations: 59.84 MB / 0.5147 GB, free: 12.39 MB / 382.1 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.04202/0.1376, allocations: 29.57 MB / 0.5436 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03432/0.1719, allocations: 28.41 MB / 0.5713 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.1731, allocations: 31.69 kB / 0.5714 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.1748, allocations: 0.6826 MB / 0.572 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.1781, allocations: 1.319 MB / 0.5733 GB, free: 308 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.1891, allocations: 4.305 MB / 0.5775 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002892/0.192, allocations: 2.199 MB / 0.5797 GB, free: 9.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.1932, allocations: 0.9465 MB / 0.5806 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.1943, allocations: 1.044 MB / 0.5816 GB, free: 7.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.1957, allocations: 1.152 MB / 0.5827 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.196, allocations: 176 kB / 0.5829 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007573/0.2036, allocations: 2.707 MB / 0.5855 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004863/0.2041, allocations: 482.6 kB / 0.586 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.2051, allocations: 0.9798 MB / 0.587 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2351/0.4403, allocations: 5.174 MB / 0.592 GB, free: 30.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4403, allocations: 2.391 kB / 0.592 GB, free: 30.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4403, allocations: 0 / 0.592 GB, free: 30.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.64e-05/0.4403, allocations: 0.7188 kB / 0.592 GB, free: 30.3 MB / 446.1 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.004601/0.4449, allocations: 2.602 MB / 0.5946 GB, free: 29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4449, allocations: 9 kB / 0.5946 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.4475, allocations: 0.522 MB / 0.5951 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.4496, allocations: 1.26 MB / 0.5963 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.4497, allocations: 168.5 kB / 0.5965 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/0.45, allocations: 141.3 kB / 0.5966 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/0.4535, allocations: 2.034 MB / 0.5986 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.4536, allocations: 1.188 kB / 0.5986 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.4538, allocations: 61.38 kB / 0.5987 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/0.4538, allocations: 38.5 kB / 0.5987 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004481/0.4583, allocations: 2.776 MB / 0.6014 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009589/0.4679, allocations: 6.68 MB / 0.6079 GB, free: 25.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.4696, allocations: 0.9894 MB / 0.6089 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008626/0.4705, allocations: 0.5107 MB / 0.6094 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009681/0.4802, allocations: 8.44 MB / 0.6176 GB, free: 19.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.4802, allocations: 42.83 kB / 0.6177 GB, free: 19.74 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003286/0.4805, allocations: 105.1 kB / 0.6178 GB, free: 19.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 1.994e-06/0.4805, allocations: 2.688 kB / 0.6178 GB, free: 19.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=50): time 0.001779/0.4823, allocations: 0.9959 MB / 0.6187 GB, free: 19.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.4823, allocations: 111.8 kB / 0.6189 GB, free: 19.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.4837, allocations: 1.242 MB / 0.6201 GB, free: 18.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.4837, allocations: 32.45 kB / 0.6201 GB, free: 18.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.4841, allocations: 0.9917 MB / 0.6211 GB, free: 17.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.4842, allocations: 209.2 kB / 0.6213 GB, free: 17.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/0.4846, allocations: 343.3 kB / 0.6216 GB, free: 17.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.271e-05/0.4846, allocations: 312.6 kB / 0.6219 GB, free: 17.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.4851, allocations: 311 kB / 0.6222 GB, free: 17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/0.4859, allocations: 1.322 MB / 0.6235 GB, free: 15.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.4873, allocations: 1.819 MB / 0.6253 GB, free: 13.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.4874, allocations: 10.06 kB / 0.6253 GB, free: 13.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002307/0.4897, allocations: 1.692 MB / 0.6269 GB, free: 13.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.4897, allocations: 21.28 kB / 0.6269 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/0.4897, allocations: 36.5 kB / 0.627 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/0.4904, allocations: 169.8 kB / 0.6271 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.4916, allocations: 481.8 kB / 0.6276 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.4936, allocations: 4.083 MB / 0.6316 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.4946, allocations: 92.11 kB / 0.6317 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.4948, allocations: 128.9 kB / 0.6318 GB, free: 9.352 MB / 446.1 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.0005152/0.4953, allocations: 383.9 kB / 0.6322 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.4955, allocations: 144.5 kB / 0.6323 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.4976, allocations: 1.384 MB / 0.6336 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4976, allocations: 3.5 kB / 0.6337 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4976, allocations: 3.125 kB / 0.6337 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4976, allocations: 3.984 kB / 0.6337 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.4998, allocations: 1.523 MB / 0.6351 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4998, allocations: 0 / 0.6351 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.5001, allocations: 77.64 kB / 0.6352 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007003/0.5008, allocations: 169.8 kB / 0.6354 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.5008, allocations: 25.33 kB / 0.6354 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.5026, allocations: 3.95 MB / 0.6393 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5026, allocations: 7.469 kB / 0.6393 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.5037, allocations: 0.995 MB / 0.6402 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.504, allocations: 202.8 kB / 0.6404 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.5042, allocations: 15.52 kB / 0.6404 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.5046, allocations: 12.75 kB / 0.6405 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.5047, allocations: 46.11 kB / 0.6405 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-05/0.5047, allocations: 18.38 kB / 0.6405 GB, free: 2.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009954/0.5057, allocations: 0.9619 MB / 0.6415 GB, free: 1.547 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5057, allocations: 2.656 kB / 0.6415 GB, free: 1.547 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002433/0.5082, allocations: 0.8643 MB / 0.6423 GB, free: 1.266 MB / 446.1 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.0016/0.5098, allocations: 1.063 MB / 0.6433 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.5113, allocations: 0.866 MB / 0.6442 GB, free: 188 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5113, allocations: 0 / 0.6442 GB, free: 188 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.5119, allocations: 412.4 kB / 0.6446 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.5132, allocations: 232.8 kB / 0.6448 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.517, allocations: 2.376 MB / 0.6471 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/0.5178, allocations: 1.179 MB / 0.6483 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005613/0.5184, allocations: 301.4 kB / 0.6486 GB, free: 11.76 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5184, allocations: 0 / 0.6486 GB, free: 11.76 MB / 462.1 MB Notification: Performance of Templates: time 0.05824/0.5766, allocations: 49.24 MB / 0.6967 GB, free: 11.29 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.599409332993673] Failed to read output from testmodel.py, exit status != 0: 0.584618535998743 0.598460787 0.15532954000000002 Calling exit ...