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.001305/0.001305, allocations: 117.6 kB / 16.42 MB, free: 6.504 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.00127/0.00127, allocations: 186.5 kB / 17.35 MB, free: 5.758 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.263/1.263, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07543/0.07543, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.89 kB / 425.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08123, allocations: 53.6 MB / 479.5 MB, free: 5.785 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.03355/0.1148, allocations: 28.24 MB / 0.4958 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1991/0.3139, allocations: 28.26 MB / 0.5234 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009078/0.3148, allocations: 26.56 kB / 0.5234 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.3163, allocations: 0.6697 MB / 0.5241 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.3191, allocations: 1.314 MB / 0.5254 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00993/0.3291, allocations: 4.261 MB / 0.5295 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002431/0.3315, allocations: 2.193 MB / 0.5317 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.3327, allocations: 1.147 MB / 0.5328 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009645/0.3337, allocations: 1.028 MB / 0.5338 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.3348, allocations: 1.12 MB / 0.5349 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.3351, allocations: 176.7 kB / 0.5351 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007387/0.3425, allocations: 2.661 MB / 0.5377 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.3429, allocations: 482.6 kB / 0.5381 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007176/0.3436, allocations: 0.9748 MB / 0.5391 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006906/0.3505, allocations: 5.037 MB / 0.544 GB, free: 3.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3505, allocations: 4 kB / 0.544 GB, free: 3.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3505, allocations: 0 / 0.544 GB, free: 3.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.3505, allocations: 0 / 0.544 GB, free: 3.664 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.003111/0.3537, allocations: 2.535 MB / 0.5465 GB, free: 1.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3537, allocations: 8.031 kB / 0.5465 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.3557, allocations: 0.5274 MB / 0.547 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.3572, allocations: 1.219 MB / 0.5482 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.3574, allocations: 162.9 kB / 0.5483 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.3576, allocations: 147.9 kB / 0.5485 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.3606, allocations: 2.021 MB / 0.5505 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.3607, allocations: 4 kB / 0.5505 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.3609, allocations: 60 kB / 0.5505 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.3609, allocations: 36 kB / 0.5506 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/0.3648, allocations: 2.764 MB / 0.5533 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009054/0.3739, allocations: 6.607 MB / 0.5597 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.3756, allocations: 1.066 MB / 0.5607 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008651/0.3765, allocations: 0.5598 MB / 0.5613 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.387, allocations: 8.39 MB / 0.5695 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3871, allocations: 45.59 kB / 0.5695 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002825/0.3874, allocations: 102.6 kB / 0.5696 GB, free: 8.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.064e-06/0.3874, allocations: 0 / 0.5696 GB, free: 8.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.001765/0.3891, allocations: 0.9958 MB / 0.5706 GB, free: 7.766 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.3892, allocations: 107.2 kB / 0.5707 GB, free: 7.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.3905, allocations: 1.251 MB / 0.5719 GB, free: 6.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.3906, allocations: 37.7 kB / 0.572 GB, free: 6.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000587/0.3912, allocations: 0.9589 MB / 0.5729 GB, free: 5.363 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.3913, allocations: 197.4 kB / 0.5731 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.3917, allocations: 335.1 kB / 0.5734 GB, free: 4.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.3918, allocations: 301.1 kB / 0.5737 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/0.3923, allocations: 314.5 kB / 0.574 GB, free: 4.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.3934, allocations: 1.321 MB / 0.5753 GB, free: 2.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.3953, allocations: 1.806 MB / 0.577 GB, free: 200 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.3953, allocations: 10.69 kB / 0.5771 GB, free: 192 kB / 414.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002508/0.3978, allocations: 1.687 MB / 0.5787 GB, free: 14.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.3978, allocations: 22.34 kB / 0.5787 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/0.3979, allocations: 42.69 kB / 0.5788 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/0.3985, allocations: 161.6 kB / 0.5789 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.3998, allocations: 481.9 kB / 0.5794 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.4025, allocations: 4.098 MB / 0.5834 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008965/0.4034, allocations: 86.34 kB / 0.5835 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.4035, allocations: 128 kB / 0.5836 GB, free: 9.188 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.0005068/0.4041, allocations: 383.5 kB / 0.5839 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.4043, allocations: 138.2 kB / 0.5841 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.4066, allocations: 1.375 MB / 0.5854 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.4066, allocations: 10.5 kB / 0.5854 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4066, allocations: 6.656 kB / 0.5854 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.4068, allocations: 187.4 kB / 0.5856 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.4069, allocations: 4 kB / 0.5856 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.4073, allocations: 8 kB / 0.5856 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.4074, allocations: 23.97 kB / 0.5857 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001011/0.4084, allocations: 0.6324 MB / 0.5863 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009647/0.4094, allocations: 0.8578 MB / 0.5871 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002194/0.4096, allocations: 112 kB / 0.5872 GB, free: 5.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.4108, allocations: 0.9373 MB / 0.5881 GB, free: 4.496 MB / 430.1 MB Notification: Performance of Backend: time 3.9e-07/0.4108, allocations: 0 / 0.5881 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004938/0.4157, allocations: 2.293 MB / 0.5904 GB, free: 2.301 MB / 430.1 MB Notification: Performance of SimCode: time 0.003921/0.4196, allocations: 3.069 MB / 0.5934 GB, free: 15.28 MB / 446.1 MB Notification: Performance of Templates: time 0.04719/0.4668, allocations: 34.22 MB / 0.6268 GB, free: 13.44 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)