Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001546, allocations: 114.4 kB / 16.42 MB, free: 6.5 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.001759/0.001759, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.268/1.268, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0753/0.0753, allocations: 15.3 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 72.11 kB / 425.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08147/0.08266, allocations: 53.62 MB / 479.5 MB, free: 5.926 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.StandardElectrochemicalCell2): time 0.03253/0.1152, allocations: 26.52 MB / 0.4941 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1949/0.3101, allocations: 18.15 MB / 0.5119 GB, free: 18.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.3108, allocations: 20.34 kB / 0.5119 GB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000919/0.3117, allocations: 475.4 kB / 0.5123 GB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.3133, allocations: 0.8308 MB / 0.5132 GB, free: 18.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0059/0.3192, allocations: 2.794 MB / 0.5159 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.321, allocations: 1.631 MB / 0.5175 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009943/0.322, allocations: 0.9222 MB / 0.5184 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.3228, allocations: 0.7089 MB / 0.5191 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009246/0.3237, allocations: 0.802 MB / 0.5199 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.324, allocations: 141.1 kB / 0.52 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005122/0.3292, allocations: 1.763 MB / 0.5217 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.3295, allocations: 360.4 kB / 0.5221 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006604/0.3302, allocations: 0.7424 MB / 0.5228 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006297/0.3365, allocations: 3.473 MB / 0.5262 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3365, allocations: 3.938 kB / 0.5262 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3365, allocations: 0 / 0.5262 GB, free: 14.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.3366, allocations: 3.844 kB / 0.5262 GB, free: 14.11 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.002986/0.3395, allocations: 1.921 MB / 0.5281 GB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3396, allocations: 9.031 kB / 0.5281 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.3411, allocations: 387 kB / 0.5284 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.3424, allocations: 0.9776 MB / 0.5294 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.3426, allocations: 147 kB / 0.5295 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.3428, allocations: 117.4 kB / 0.5296 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.345, allocations: 1.65 MB / 0.5312 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.345, allocations: 1.625 kB / 0.5312 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.3451, allocations: 47.19 kB / 0.5313 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.3452, allocations: 28.62 kB / 0.5313 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.3478, allocations: 2.107 MB / 0.5334 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005855/0.3536, allocations: 5.405 MB / 0.5387 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.3547, allocations: 0.7257 MB / 0.5394 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.3552, allocations: 358.3 kB / 0.5397 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005555/0.3608, allocations: 5.032 MB / 0.5446 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.3608, allocations: 41.25 kB / 0.5447 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002343/0.361, allocations: 78.91 kB / 0.5447 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.361, allocations: 0 / 0.5447 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001126/0.3622, allocations: 0.7486 MB / 0.5455 GB, free: 40 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.3622, allocations: 106.8 kB / 0.5456 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.3635, allocations: 1.195 MB / 0.5467 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.3636, allocations: 33.7 kB / 0.5468 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004849/0.3641, allocations: 0.7803 MB / 0.5475 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.862e-05/0.3642, allocations: 133.5 kB / 0.5477 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.3645, allocations: 270.5 kB / 0.5479 GB, free: 13.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3646, allocations: 353.9 kB / 0.5483 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/0.3651, allocations: 314.5 kB / 0.5486 GB, free: 12.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009277/0.366, allocations: 1.046 MB / 0.5496 GB, free: 11.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.3675, allocations: 1.405 MB / 0.5509 GB, free: 9.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.3675, allocations: 8.875 kB / 0.551 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002151/0.3697, allocations: 1.443 MB / 0.5524 GB, free: 8.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.3697, allocations: 16 kB / 0.5524 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.3698, allocations: 24 kB / 0.5524 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.3704, allocations: 160 kB / 0.5526 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.3715, allocations: 379.4 kB / 0.5529 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.3742, allocations: 4.06 MB / 0.5569 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008298/0.3751, allocations: 82.3 kB / 0.557 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.3752, allocations: 91.98 kB / 0.557 GB, free: 3.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * 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.0004327/0.3757, allocations: 315.7 kB / 0.5573 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.3758, allocations: 98.78 kB / 0.5574 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.3774, allocations: 0.8455 MB / 0.5583 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.3774, allocations: 9.406 kB / 0.5583 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3774, allocations: 7.938 kB / 0.5583 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.3776, allocations: 166.5 kB / 0.5584 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.3777, allocations: 8 kB / 0.5585 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.3781, allocations: 4 kB / 0.5585 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.3781, allocations: 27.91 kB / 0.5585 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000907/0.3791, allocations: 0.5776 MB / 0.559 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007715/0.3798, allocations: 0.7753 MB / 0.5598 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001589/0.38, allocations: 91.94 kB / 0.5599 GB, free: 216 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001002/0.381, allocations: 0.8752 MB / 0.5607 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Backend: time 2.81e-07/0.381, allocations: 0 / 0.5607 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003911/0.3849, allocations: 1.724 MB / 0.5624 GB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 0.003146/0.3881, allocations: 2.456 MB / 0.5648 GB, free: 11.39 MB / 414.1 MB Notification: Performance of Templates: time 0.03539/0.4235, allocations: 24.46 MB / 0.5887 GB, free: 3.5 MB / 430.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile (rm -f Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1)