Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.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.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001572, allocations: 118.9 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.001809/0.001809, allocations: 187.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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07713/0.07713, allocations: 15.31 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.12 kB / 425.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.0895, allocations: 53.61 MB / 479.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.CarbonDioxideInWater): time 0.008591/0.09813, allocations: 7.541 MB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0256/0.1238, allocations: 23.32 MB / 0.4984 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009372/0.1247, allocations: 19.88 kB / 0.4984 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.1261, allocations: 492.3 kB / 0.4989 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004927/0.1311, allocations: 1.948 MB / 0.5008 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007374/0.1385, allocations: 2.94 MB / 0.5036 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2/0.3385, allocations: 2.124 MB / 0.5057 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.3403, allocations: 1.239 MB / 0.5069 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.3414, allocations: 1.066 MB / 0.508 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.3429, allocations: 1.213 MB / 0.5091 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.3432, allocations: 191.2 kB / 0.5093 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00661/0.3499, allocations: 2.508 MB / 0.5118 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.3503, allocations: 480.2 kB / 0.5122 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009472/0.3512, allocations: 0.9458 MB / 0.5132 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008613/0.3598, allocations: 4.69 MB / 0.5177 GB, free: 5.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3599, allocations: 2.562 kB / 0.5177 GB, free: 5.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3599, allocations: 0 / 0.5177 GB, free: 5.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.3599, allocations: 0 / 0.5177 GB, free: 5.102 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: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.004942/0.3649, allocations: 2.399 MB / 0.5201 GB, free: 3.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3649, allocations: 8.812 kB / 0.5201 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.3667, allocations: 394.5 kB / 0.5205 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.3681, allocations: 0.8922 MB / 0.5213 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.3682, allocations: 166.9 kB / 0.5215 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/0.3685, allocations: 148.7 kB / 0.5216 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/0.3716, allocations: 2.034 MB / 0.5236 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.3717, allocations: 0.9688 kB / 0.5236 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.3719, allocations: 60.44 kB / 0.5237 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.3719, allocations: 34.16 kB / 0.5237 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0035/0.3754, allocations: 2.695 MB / 0.5264 GB, free: 2.434 MB / 382.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.009734/0.3851, allocations: 6.486 MB / 0.5327 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/0.3899, allocations: 3.32 MB / 0.5359 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.3911, allocations: 0.8836 MB / 0.5368 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.4012, allocations: 7.203 MB / 0.5438 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.4013, allocations: 43.56 kB / 0.5439 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000894/0.4022, allocations: 174.2 kB / 0.544 GB, free: 6.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=117): time 4.098e-06/0.4022, allocations: 0 / 0.544 GB, free: 6.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.0206/0.4228, allocations: 5.397 MB / 0.5493 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.4229, allocations: 76.12 kB / 0.5494 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.4244, allocations: 1.034 MB / 0.5504 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.4246, allocations: 49.7 kB / 0.5504 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.425, allocations: 0.6725 MB / 0.5511 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004359/0.4254, allocations: 487 kB / 0.5516 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005803/0.426, allocations: 335.3 kB / 0.5519 GB, free: 14.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4261, allocations: 301.1 kB / 0.5522 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.4274, allocations: 0.6481 MB / 0.5528 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.4291, allocations: 1.108 MB / 0.5539 GB, free: 11.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/0.4322, allocations: 1.804 MB / 0.5556 GB, free: 9.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.4323, allocations: 8 kB / 0.5556 GB, free: 9.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007034/0.4393, allocations: 2.406 MB / 0.558 GB, free: 7.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.4394, allocations: 15.94 kB / 0.558 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.4394, allocations: 20.12 kB / 0.558 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/0.4422, allocations: 485.5 kB / 0.5585 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.4438, allocations: 415.2 kB / 0.5589 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005521/0.4494, allocations: 3.868 MB / 0.5627 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.4509, allocations: 55.92 kB / 0.5627 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.4511, allocations: 95.97 kB / 0.5628 GB, free: 2.332 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007182/0.4519, allocations: 342 kB / 0.5631 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003289/0.4522, allocations: 122.5 kB / 0.5633 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006676/0.4589, allocations: 2.136 MB / 0.5653 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.4589, allocations: 7.969 kB / 0.5653 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.459, allocations: 3.938 kB / 0.5653 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.4594, allocations: 194.7 kB / 0.5655 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.4596, allocations: 24 kB / 0.5656 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000826/0.4605, allocations: 32 kB / 0.5656 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/0.4608, allocations: 121.1 kB / 0.5657 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004567/0.4653, allocations: 1.743 MB / 0.5674 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003667/0.469, allocations: 2.412 MB / 0.5698 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009919/0.47, allocations: 0.674 MB / 0.5704 GB, free: 10.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009468/0.471, allocations: 0.7108 MB / 0.5711 GB, free: 9.809 MB / 430.1 MB Notification: Performance of Backend: time 6.31e-07/0.471, allocations: 0 / 0.5711 GB, free: 9.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00761/0.4786, allocations: 2.842 MB / 0.5739 GB, free: 7.137 MB / 430.1 MB Notification: Performance of SimCode: time 0.004732/0.4834, allocations: 2.847 MB / 0.5767 GB, free: 4.254 MB / 430.1 MB Notification: Performance of Templates: time 0.05811/0.5415, allocations: 39.6 MB / 0.6153 GB, free: 12.85 MB / 478.1 MB make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.makefile (rm -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.sim & ./Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1)