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.001024/0.001024, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001004/0.001004, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.277/1.277, allocations: 222.9 MB / 241 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.07462/0.07462, allocations: 15.31 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 64.12 kB / 425.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08546/0.08666, allocations: 53.62 MB / 479.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.CarbonDioxideInWater): time 0.007842/0.09453, allocations: 7.541 MB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02347/0.118, allocations: 23.32 MB / 0.4984 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009006/0.119, allocations: 15.94 kB / 0.4984 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.1201, allocations: 492.3 kB / 0.4989 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.1246, allocations: 1.94 MB / 0.5008 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007026/0.1316, allocations: 2.916 MB / 0.5036 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1878/0.3194, allocations: 2.124 MB / 0.5057 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.321, allocations: 1.233 MB / 0.5069 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.3222, allocations: 1.068 MB / 0.5079 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.3236, allocations: 1.21 MB / 0.5091 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.3239, allocations: 191.2 kB / 0.5093 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006109/0.33, allocations: 2.51 MB / 0.5117 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003679/0.3304, allocations: 478.1 kB / 0.5122 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008074/0.3312, allocations: 0.9451 MB / 0.5131 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00758/0.3388, allocations: 4.695 MB / 0.5177 GB, free: 5.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3388, allocations: 1.312 kB / 0.5177 GB, free: 5.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3388, allocations: 0 / 0.5177 GB, free: 5.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.3388, allocations: 4 kB / 0.5177 GB, free: 5.121 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.004647/0.3435, allocations: 2.393 MB / 0.52 GB, free: 3.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3435, allocations: 7.969 kB / 0.5201 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.3452, allocations: 395.5 kB / 0.5204 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.3465, allocations: 0.895 MB / 0.5213 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.3467, allocations: 165.4 kB / 0.5215 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.3469, allocations: 152.5 kB / 0.5216 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.35, allocations: 2.029 MB / 0.5236 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.35, allocations: 0.8438 kB / 0.5236 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.3502, allocations: 59.78 kB / 0.5236 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.3502, allocations: 39.34 kB / 0.5237 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003469/0.3537, allocations: 2.699 MB / 0.5263 GB, free: 2.414 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.009256/0.3629, allocations: 6.484 MB / 0.5327 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004691/0.3676, allocations: 3.317 MB / 0.5359 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.3689, allocations: 0.8839 MB / 0.5368 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009066/0.378, allocations: 7.204 MB / 0.5438 GB, free: 6.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.378, allocations: 47.56 kB / 0.5438 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006619/0.3787, allocations: 166.6 kB / 0.544 GB, free: 6.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=117): time 2.845e-06/0.3787, allocations: 0 / 0.544 GB, free: 6.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.02078/0.3995, allocations: 5.4 MB / 0.5493 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.3995, allocations: 72.66 kB / 0.5493 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.4009, allocations: 1.034 MB / 0.5503 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.401, allocations: 45.7 kB / 0.5504 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.4015, allocations: 0.6761 MB / 0.5511 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/0.4019, allocations: 490.5 kB / 0.5515 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005014/0.4024, allocations: 335.3 kB / 0.5518 GB, free: 14.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.4025, allocations: 301.1 kB / 0.5521 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.4036, allocations: 0.6532 MB / 0.5528 GB, free: 13.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.405, allocations: 1.101 MB / 0.5538 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/0.4075, allocations: 1.81 MB / 0.5556 GB, free: 9.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.4075, allocations: 4 kB / 0.5556 GB, free: 9.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006702/0.4143, allocations: 2.409 MB / 0.558 GB, free: 7.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.4143, allocations: 18.59 kB / 0.558 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.4143, allocations: 12 kB / 0.558 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/0.4172, allocations: 490.1 kB / 0.5585 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.4187, allocations: 423.6 kB / 0.5589 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005639/0.4244, allocations: 3.865 MB / 0.5626 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.4258, allocations: 59.92 kB / 0.5627 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.4259, allocations: 91.97 kB / 0.5628 GB, free: 2.363 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.0006431/0.4266, allocations: 337.2 kB / 0.5631 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.4269, allocations: 122.5 kB / 0.5632 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006488/0.4333, allocations: 2.129 MB / 0.5653 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.4334, allocations: 7.969 kB / 0.5653 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.4334, allocations: 3.938 kB / 0.5653 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.4337, allocations: 191.5 kB / 0.5655 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.4339, allocations: 24 kB / 0.5655 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000767/0.4347, allocations: 28 kB / 0.5655 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/0.435, allocations: 129.1 kB / 0.5657 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004371/0.4394, allocations: 1.747 MB / 0.5674 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00355/0.4429, allocations: 2.403 MB / 0.5697 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000965/0.4439, allocations: 0.6779 MB / 0.5704 GB, free: 10.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008596/0.4448, allocations: 0.7108 MB / 0.5711 GB, free: 9.844 MB / 430.1 MB Notification: Performance of Backend: time 2.6e-07/0.4448, allocations: 0 / 0.5711 GB, free: 9.844 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006411/0.4512, allocations: 2.839 MB / 0.5738 GB, free: 7.176 MB / 430.1 MB Notification: Performance of SimCode: time 0.004022/0.4552, allocations: 2.848 MB / 0.5766 GB, free: 4.293 MB / 430.1 MB Notification: Performance of Templates: time 0.05686/0.5121, allocations: 39.6 MB / 0.6153 GB, free: 12.89 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)