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.00134/0.00134, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001402/0.001402, allocations: 209.8 kB / 22.99 MB, free: 4.957 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.1375/0.1375, allocations: 23.88 MB / 337 MB, free: 10.98 MB / 270.1 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: 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.002117/0.002117, allocations: 67.02 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3188, allocations: 59.86 MB / 0.5198 GB, free: 9.781 MB / 382.1 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.07524/0.394, allocations: 28.53 MB / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03446/0.4285, allocations: 24.86 MB / 0.5719 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.4302, allocations: 35.69 kB / 0.5719 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.432, allocations: 0.6086 MB / 0.5725 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.4356, allocations: 1.276 MB / 0.5738 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01199/0.4476, allocations: 4.344 MB / 0.578 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003182/0.4507, allocations: 2.192 MB / 0.5801 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.452, allocations: 0.9312 MB / 0.5811 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.4531, allocations: 1.052 MB / 0.5821 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.4545, allocations: 1.144 MB / 0.5832 GB, free: 8.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.4548, allocations: 179.9 kB / 0.5834 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006484/0.4613, allocations: 2.605 MB / 0.5859 GB, free: 6.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004918/0.4618, allocations: 478.6 kB / 0.5864 GB, free: 5.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009041/0.4627, allocations: 0.8207 MB / 0.5872 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009185/0.4719, allocations: 5.167 MB / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4719, allocations: 0 / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4719, allocations: 4 kB / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.4719, allocations: 4 kB / 0.5922 GB, free: 15.54 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.004443/0.4763, allocations: 2.508 MB / 0.5947 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4764, allocations: 12.03 kB / 0.5947 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/0.4788, allocations: 0.5259 MB / 0.5952 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.4811, allocations: 1.179 MB / 0.5964 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.4813, allocations: 226.1 kB / 0.5966 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/0.4816, allocations: 140 kB / 0.5967 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003486/0.4851, allocations: 2.031 MB / 0.5987 GB, free: 8.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.4851, allocations: 3.938 kB / 0.5987 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.4853, allocations: 60 kB / 0.5987 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.4854, allocations: 40 kB / 0.5988 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004502/0.4899, allocations: 2.737 MB / 0.6015 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.5009, allocations: 5.802 MB / 0.6071 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.5029, allocations: 0.9931 MB / 0.6081 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009809/0.5039, allocations: 0.513 MB / 0.6086 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.5149, allocations: 4.176 MB / 0.6127 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.5149, allocations: 39 kB / 0.6127 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003738/0.5153, allocations: 87.14 kB / 0.6128 GB, free: 10.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 3.085e-06/0.5153, allocations: 0 / 0.6128 GB, free: 10.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.00201/0.5173, allocations: 0.8434 MB / 0.6136 GB, free: 9.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.5174, allocations: 111.5 kB / 0.6137 GB, free: 9.117 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.519, allocations: 1.171 MB / 0.6149 GB, free: 7.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.519, allocations: 33.7 kB / 0.6149 GB, free: 7.891 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000818/0.5199, allocations: 1.001 MB / 0.6159 GB, free: 6.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.5201, allocations: 210.3 kB / 0.6161 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/0.5205, allocations: 347.3 kB / 0.6164 GB, free: 6.324 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5206, allocations: 301.1 kB / 0.6167 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.5212, allocations: 307.8 kB / 0.617 GB, free: 5.727 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.5227, allocations: 1.324 MB / 0.6183 GB, free: 3.895 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/0.525, allocations: 1.813 MB / 0.6201 GB, free: 1.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/0.525, allocations: 8 kB / 0.6201 GB, free: 1.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002931/0.5279, allocations: 1.691 MB / 0.6217 GB, free: 15.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.528, allocations: 20 kB / 0.6217 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/0.528, allocations: 36 kB / 0.6218 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006866/0.5287, allocations: 161.6 kB / 0.6219 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.5301, allocations: 487.2 kB / 0.6224 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003335/0.5335, allocations: 3.836 MB / 0.6261 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.5345, allocations: 92.16 kB / 0.6262 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.5347, allocations: 128 kB / 0.6263 GB, free: 10.85 MB / 478.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.000624/0.5353, allocations: 380.8 kB / 0.6267 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.5355, allocations: 127.2 kB / 0.6268 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.5383, allocations: 1.368 MB / 0.6282 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.5383, allocations: 7.938 kB / 0.6282 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5383, allocations: 8 kB / 0.6282 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5383, allocations: 4.031 kB / 0.6282 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.5407, allocations: 1.275 MB / 0.6294 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.5407, allocations: 8.281 kB / 0.6294 GB, free: 7.516 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.541, allocations: 67.89 kB / 0.6295 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008029/0.5419, allocations: 183 kB / 0.6297 GB, free: 7.258 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.5419, allocations: 12 kB / 0.6297 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003115/0.545, allocations: 3.714 MB / 0.6333 GB, free: 3.262 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.545, allocations: 3.938 kB / 0.6333 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.5465, allocations: 0.9664 MB / 0.6343 GB, free: 2.234 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.5467, allocations: 111.2 kB / 0.6344 GB, free: 2.125 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.5469, allocations: 20.19 kB / 0.6344 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.5473, allocations: 11.94 kB / 0.6344 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.5474, allocations: 35.94 kB / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.5474, allocations: 20 kB / 0.6344 GB, free: 2.039 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001172/0.5486, allocations: 0.8449 MB / 0.6353 GB, free: 1.195 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5486, allocations: 0 / 0.6353 GB, free: 1.195 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002642/0.5512, allocations: 0.8873 MB / 0.6361 GB, free: 312 kB / 478.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.001879/0.5531, allocations: 1.062 MB / 0.6372 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.5551, allocations: 0.8709 MB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5551, allocations: 0 / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.5557, allocations: 406.4 kB / 0.6384 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.5568, allocations: 194.2 kB / 0.6386 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.5604, allocations: 2.318 MB / 0.6409 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.5611, allocations: 0.6018 MB / 0.6415 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001166/0.5622, allocations: 392.3 kB / 0.6418 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.5626, allocations: 194.1 kB / 0.642 GB, free: 10.17 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5626, allocations: 0 / 0.642 GB, free: 10.17 MB / 494.1 MB Notification: Performance of Templates: time 0.04372/0.6063, allocations: 27.49 MB / 0.6689 GB, free: 14.83 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.784794644001522] Failed to read output from testmodel.py, exit status != 0: 0.6147439839987783 0.628802905 0.153848263 Calling exit ...