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.001317/0.001317, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001454/0.001454, allocations: 209.2 kB / 23 MB, free: 4.934 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1368/0.1368, allocations: 23.88 MB / 337.1 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.002083/0.002083, allocations: 71.89 kB / 472.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2887, allocations: 59.86 MB / 0.5198 GB, free: 9.797 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.07185/0.3605, allocations: 28.53 MB / 0.5476 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03504/0.3956, allocations: 24.85 MB / 0.5719 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.3973, allocations: 31.69 kB / 0.5719 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.3995, allocations: 0.6087 MB / 0.5725 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004399/0.4039, allocations: 1.272 MB / 0.5738 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01233/0.4162, allocations: 4.352 MB / 0.578 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003465/0.4197, allocations: 2.188 MB / 0.5801 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.4212, allocations: 0.9352 MB / 0.5811 GB, free: 11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.4227, allocations: 1.048 MB / 0.5821 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.4245, allocations: 1.148 MB / 0.5832 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004816/0.425, allocations: 176 kB / 0.5834 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006538/0.4315, allocations: 2.609 MB / 0.5859 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006423/0.4322, allocations: 474.6 kB / 0.5864 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.4334, allocations: 0.8246 MB / 0.5872 GB, free: 4.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009728/0.4432, allocations: 5.159 MB / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4432, allocations: 0 / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4432, allocations: 0 / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.625e-05/0.4432, allocations: 0 / 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.004522/0.4477, allocations: 2.518 MB / 0.5947 GB, free: 12.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4478, allocations: 8.031 kB / 0.5947 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/0.4502, allocations: 0.5338 MB / 0.5952 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002399/0.4526, allocations: 1.179 MB / 0.5964 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.4528, allocations: 226 kB / 0.5966 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.4532, allocations: 143.9 kB / 0.5967 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/0.4567, allocations: 2.031 MB / 0.5987 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.186e-05/0.4568, allocations: 7.938 kB / 0.5987 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.457, allocations: 56 kB / 0.5988 GB, free: 8.672 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.457, allocations: 36 kB / 0.5988 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00463/0.4616, allocations: 2.745 MB / 0.6015 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.4725, allocations: 5.795 MB / 0.6071 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.4745, allocations: 0.9869 MB / 0.6081 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009619/0.4754, allocations: 0.5169 MB / 0.6086 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/0.4861, allocations: 4.172 MB / 0.6127 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.4861, allocations: 39 kB / 0.6127 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003508/0.4865, allocations: 91.14 kB / 0.6128 GB, free: 10.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.495e-06/0.4865, allocations: 0 / 0.6128 GB, free: 10.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001952/0.4884, allocations: 0.8434 MB / 0.6136 GB, free: 9.238 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.4885, allocations: 111.2 kB / 0.6137 GB, free: 9.105 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.49, allocations: 1.163 MB / 0.6149 GB, free: 7.926 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.49, allocations: 33.7 kB / 0.6149 GB, free: 7.887 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000797/0.4908, allocations: 1.001 MB / 0.6159 GB, free: 6.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.491, allocations: 206.4 kB / 0.6161 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/0.4915, allocations: 343.6 kB / 0.6164 GB, free: 6.328 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4916, allocations: 313 kB / 0.6167 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/0.4922, allocations: 307.8 kB / 0.617 GB, free: 5.719 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.4936, allocations: 1.324 MB / 0.6183 GB, free: 3.887 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.4959, allocations: 1.817 MB / 0.6201 GB, free: 1.559 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/0.496, allocations: 12 kB / 0.6201 GB, free: 1.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00297/0.4989, allocations: 1.679 MB / 0.6217 GB, free: 15.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.499, allocations: 26.59 kB / 0.6217 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/0.499, allocations: 40.84 kB / 0.6218 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/0.4997, allocations: 161.7 kB / 0.6219 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.5011, allocations: 483.2 kB / 0.6224 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.5046, allocations: 3.84 MB / 0.6261 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.5056, allocations: 83.86 kB / 0.6262 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.5058, allocations: 132 kB / 0.6263 GB, free: 10.84 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.0006518/0.5065, allocations: 385 kB / 0.6267 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.5067, allocations: 127.2 kB / 0.6268 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.5094, allocations: 1.363 MB / 0.6282 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5094, allocations: 7.875 kB / 0.6282 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5094, allocations: 0 / 0.6282 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.5096, allocations: 99.19 kB / 0.6283 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.5098, allocations: 8 kB / 0.6283 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.5101, allocations: 12 kB / 0.6283 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.5102, allocations: 27.95 kB / 0.6283 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001176/0.5114, allocations: 0.6245 MB / 0.6289 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001059/0.5124, allocations: 0.8688 MB / 0.6298 GB, free: 7.207 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001914/0.5126, allocations: 104 kB / 0.6299 GB, free: 7.105 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.5138, allocations: 0.8449 MB / 0.6307 GB, free: 6.262 MB / 478.1 MB Notification: Performance of Backend: time 4.41e-07/0.5138, allocations: 0 / 0.6307 GB, free: 6.262 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005422/0.5192, allocations: 2.32 MB / 0.633 GB, free: 3.941 MB / 478.1 MB Notification: Performance of SimCode: time 0.004466/0.5237, allocations: 3.064 MB / 0.6359 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of Templates: time 0.05678/0.5805, allocations: 36.69 MB / 0.6718 GB, free: 12.27 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.902304774994263] Failed to read output from testmodel.py, exit status != 0: 0.5891133219993208 0.604066029 0.157652546 Calling exit ...