Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 113.2 kB / 16.42 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07697/0.07697, allocations: 15.31 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 68.11 kB / 425.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.08856, allocations: 53.62 MB / 479.5 MB, free: 5.797 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.CheckSubstancesData.StandardLeadAcidPotential): time 0.0387/0.1273, allocations: 28.3 MB / 0.4959 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2248/0.3521, allocations: 28.26 MB / 0.5235 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.3536, allocations: 22.91 kB / 0.5235 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.3564, allocations: 0.6797 MB / 0.5242 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005644/0.362, allocations: 1.324 MB / 0.5255 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01316/0.3752, allocations: 4.293 MB / 0.5296 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00276/0.378, allocations: 2.197 MB / 0.5318 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.3795, allocations: 1.148 MB / 0.5329 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.381, allocations: 1.018 MB / 0.5339 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.3827, allocations: 1.13 MB / 0.535 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005674/0.3833, allocations: 176.1 kB / 0.5352 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008368/0.3917, allocations: 2.664 MB / 0.5378 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005986/0.3923, allocations: 478.9 kB / 0.5382 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.3936, allocations: 0.9785 MB / 0.5392 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008668/0.4023, allocations: 5.033 MB / 0.5441 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4023, allocations: 1.344 kB / 0.5441 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4023, allocations: 0 / 0.5441 GB, free: 3.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.77e-05/0.4024, allocations: 0 / 0.5441 GB, free: 3.641 MB / 382.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.004075/0.4065, allocations: 2.536 MB / 0.5466 GB, free: 1.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4065, allocations: 12.03 kB / 0.5466 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.4088, allocations: 0.5158 MB / 0.5471 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.4106, allocations: 1.231 MB / 0.5483 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.4108, allocations: 167 kB / 0.5485 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.4111, allocations: 147.9 kB / 0.5486 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00329/0.4144, allocations: 2.017 MB / 0.5506 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.4144, allocations: 3.938 kB / 0.5506 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.4146, allocations: 64 kB / 0.5506 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.4147, allocations: 36 kB / 0.5507 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/0.4188, allocations: 2.764 MB / 0.5534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/0.4291, allocations: 6.607 MB / 0.5598 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.431, allocations: 1.066 MB / 0.5609 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008907/0.4319, allocations: 0.556 MB / 0.5614 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/0.4432, allocations: 8.394 MB / 0.5696 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.4433, allocations: 41.69 kB / 0.5696 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003869/0.4437, allocations: 98.56 kB / 0.5697 GB, free: 8.758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.665e-06/0.4437, allocations: 3.938 kB / 0.5697 GB, free: 8.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.001854/0.4455, allocations: 0.9997 MB / 0.5707 GB, free: 7.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.4456, allocations: 107.2 kB / 0.5708 GB, free: 7.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.447, allocations: 1.241 MB / 0.572 GB, free: 6.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.4471, allocations: 36.36 kB / 0.5721 GB, free: 6.289 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/0.4477, allocations: 0.9628 MB / 0.573 GB, free: 5.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.4478, allocations: 193.4 kB / 0.5732 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/0.4482, allocations: 339.1 kB / 0.5735 GB, free: 4.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.4483, allocations: 301.1 kB / 0.5738 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.4489, allocations: 318.4 kB / 0.5741 GB, free: 4.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.45, allocations: 1.309 MB / 0.5754 GB, free: 2.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.4519, allocations: 1.814 MB / 0.5772 GB, free: 148 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/0.452, allocations: 12 kB / 0.5772 GB, free: 136 kB / 414.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002636/0.4546, allocations: 1.689 MB / 0.5788 GB, free: 14.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.4546, allocations: 20 kB / 0.5788 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.72e-05/0.4547, allocations: 36 kB / 0.5789 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.4553, allocations: 168.3 kB / 0.579 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.4566, allocations: 485.8 kB / 0.5795 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.4595, allocations: 4.099 MB / 0.5835 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/0.4605, allocations: 86.34 kB / 0.5836 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.4606, allocations: 128 kB / 0.5837 GB, free: 9.133 MB / 430.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.0005067/0.4611, allocations: 387.5 kB / 0.5841 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.4614, allocations: 138.2 kB / 0.5842 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.4638, allocations: 1.377 MB / 0.5855 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4638, allocations: 3.984 kB / 0.5856 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4638, allocations: 0 / 0.5856 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.4641, allocations: 192.9 kB / 0.5857 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.4643, allocations: 8 kB / 0.5857 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.4647, allocations: 6.625 kB / 0.5857 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.4647, allocations: 27.97 kB / 0.5858 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001035/0.4658, allocations: 0.6247 MB / 0.5864 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009104/0.4667, allocations: 0.8615 MB / 0.5872 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001826/0.4669, allocations: 111.9 kB / 0.5873 GB, free: 5.371 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.4681, allocations: 0.9269 MB / 0.5882 GB, free: 4.449 MB / 430.1 MB Notification: Performance of Backend: time 1.793e-06/0.4681, allocations: 96 / 0.5882 GB, free: 4.449 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005188/0.4733, allocations: 2.318 MB / 0.5905 GB, free: 2.227 MB / 430.1 MB Notification: Performance of SimCode: time 0.004196/0.4775, allocations: 3.053 MB / 0.5935 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Templates: time 0.0479/0.5254, allocations: 34.23 MB / 0.6269 GB, free: 13.37 MB / 478.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.makefile (rm -f Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1)