Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.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.001338/0.001338, allocations: 95.92 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.001444/0.001444, allocations: 212 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.137/0.137, allocations: 23.89 MB / 337.1 MB, free: 10.96 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.LeadAcidBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.LeadAcidBattery") translateModel(Chemical.Obsolete.Examples.LeadAcidBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.LeadAcidBattery") [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.00211/0.00211, allocations: 67.89 kB / 472.4 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3067, allocations: 59.86 MB / 0.5198 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.LeadAcidBattery): time 0.0104/0.3171, allocations: 10.24 MB / 0.5298 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03927/0.3563, allocations: 29.73 MB / 0.5588 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.3585, allocations: 39.56 kB / 0.5588 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.3608, allocations: 0.6821 MB / 0.5595 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008584/0.3694, allocations: 2.756 MB / 0.5622 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0127/0.3821, allocations: 4.514 MB / 0.5666 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005049/0.3871, allocations: 3.417 MB / 0.5699 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.3896, allocations: 1.705 MB / 0.5716 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.392, allocations: 1.683 MB / 0.5733 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002734/0.3948, allocations: 1.896 MB / 0.5751 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005702/0.3953, allocations: 327.9 kB / 0.5754 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.4054, allocations: 3.631 MB / 0.579 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.4065, allocations: 0.7556 MB / 0.5797 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.4084, allocations: 1.342 MB / 0.581 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01679/0.4251, allocations: 7.49 MB / 0.5883 GB, free: 3.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4251, allocations: 0 / 0.5883 GB, free: 3.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4251, allocations: 0 / 0.5883 GB, free: 3.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001304/0.4253, allocations: 0 / 0.5883 GB, free: 3.355 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.008751/0.434, allocations: 3.701 MB / 0.5919 GB, free: 15.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4341, allocations: 12.03 kB / 0.592 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002946/0.437, allocations: 0.627 MB / 0.5926 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.4401, allocations: 1.442 MB / 0.594 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.4404, allocations: 316.4 kB / 0.5943 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005691/0.4409, allocations: 271.8 kB / 0.5945 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005891/0.4468, allocations: 3.153 MB / 0.5976 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/0.4469, allocations: 3.938 kB / 0.5976 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000301/0.4472, allocations: 108 kB / 0.5977 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/0.4472, allocations: 67.94 kB / 0.5978 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006853/0.4541, allocations: 3.815 MB / 0.6015 GB, free: 5.648 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01702/0.4711, allocations: 7.881 MB / 0.6092 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005066/0.4762, allocations: 2.78 MB / 0.6119 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.4782, allocations: 1.231 MB / 0.6131 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01447/0.4927, allocations: 6.019 MB / 0.619 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.4927, allocations: 52.56 kB / 0.619 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001022/0.4938, allocations: 222.6 kB / 0.6193 GB, free: 3.273 MB / 462.1 MB Notification: Performance of pre-optimization done (n=177): time 4.057e-06/0.4938, allocations: 4 kB / 0.6193 GB, free: 3.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=251): time 0.05194/0.5457, allocations: 11.84 MB / 0.6308 GB, free: 7.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.5458, allocations: 77.41 kB / 0.6309 GB, free: 7.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.5473, allocations: 1.114 MB / 0.632 GB, free: 6.156 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002186/0.5475, allocations: 65.7 kB / 0.6321 GB, free: 6.086 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009074/0.5484, allocations: 1.184 MB / 0.6332 GB, free: 4.891 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008691/0.5493, allocations: 0.9064 MB / 0.6341 GB, free: 3.977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009608/0.5502, allocations: 0.5613 MB / 0.6346 GB, free: 3.406 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5504, allocations: 301.1 kB / 0.6349 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.5524, allocations: 1.013 MB / 0.6359 GB, free: 2.094 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002858/0.5552, allocations: 1.905 MB / 0.6378 GB, free: 15.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005228/0.5605, allocations: 3.196 MB / 0.6409 GB, free: 12.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-05/0.5605, allocations: 8 kB / 0.6409 GB, free: 12.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01172/0.5722, allocations: 4.111 MB / 0.6449 GB, free: 7.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.5722, allocations: 19.98 kB / 0.6449 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.175e-05/0.5723, allocations: 28 kB / 0.645 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007196/0.5795, allocations: 1.361 MB / 0.6463 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/0.5824, allocations: 0.6514 MB / 0.6469 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.5954, allocations: 7.842 MB / 0.6546 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.5977, allocations: 107.9 kB / 0.6547 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003372/0.598, allocations: 167.9 kB / 0.6549 GB, free: 13.47 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * 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 (341): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,15,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,25), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001083/0.5991, allocations: 0.5125 MB / 0.6554 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.5996, allocations: 194.7 kB / 0.6555 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.611, allocations: 3.854 MB / 0.6593 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/0.611, allocations: 15.89 kB / 0.6593 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.6111, allocations: 0 / 0.6593 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004314/0.6115, allocations: 174.7 kB / 0.6595 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/0.6118, allocations: 48 kB / 0.6595 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.6133, allocations: 55.97 kB / 0.6596 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004877/0.6137, allocations: 225.6 kB / 0.6598 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009971/0.6237, allocations: 3.393 MB / 0.6631 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00723/0.6309, allocations: 3.977 MB / 0.667 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002009/0.633, allocations: 1.043 MB / 0.668 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001117/0.6341, allocations: 0.6617 MB / 0.6687 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of Backend: time 2.61e-07/0.6341, allocations: 3.938 kB / 0.6687 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01056/0.6446, allocations: 4.285 MB / 0.6729 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of SimCode: time 0.007546/0.6522, allocations: 5.01 MB / 0.6777 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of Templates: time 0.2915/0.9437, allocations: 67.25 MB / 0.7434 GB, free: 174.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.sim & ./Chemical_Chemical.Obsolete.Examples.LeadAcidBattery -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.LeadAcidBattery.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.393222166996566] Failed to read output from testmodel.py, exit status != 0: 0.9522239920042921 0.962823063 0.534958315 Calling exit ...