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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 103.8 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0987/0.0987, allocations: 15.53 MB / 318.2 MB, free: 10.24 MB / 254.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 71.89 kB / 445.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1316, allocations: 56.55 MB / 0.4902 GB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.CarbonDioxideInWater): time 0.01036/0.1419, allocations: 7.581 MB / 0.4976 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2799/0.4218, allocations: 23.39 MB / 0.5205 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.4232, allocations: 20.69 kB / 0.5205 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.4247, allocations: 487.4 kB / 0.5209 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005918/0.4306, allocations: 1.952 MB / 0.5228 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009869/0.4404, allocations: 2.939 MB / 0.5257 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004112/0.4446, allocations: 2.132 MB / 0.5278 GB, free: 5.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.4466, allocations: 1.048 MB / 0.5288 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.4487, allocations: 1.072 MB / 0.5299 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002511/0.4512, allocations: 1.24 MB / 0.5311 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004156/0.4516, allocations: 192.6 kB / 0.5313 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01118/0.4628, allocations: 2.546 MB / 0.5337 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.4643, allocations: 485 kB / 0.5342 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002341/0.4666, allocations: 0.9492 MB / 0.5351 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.4816, allocations: 4.716 MB / 0.5397 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4816, allocations: 1.031 kB / 0.5397 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4816, allocations: 3.938 kB / 0.5397 GB, free: 1.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.835e-05/0.4817, allocations: 0 / 0.5397 GB, free: 1.512 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.006022/0.4877, allocations: 2.443 MB / 0.5421 GB, free: 32 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4877, allocations: 13.38 kB / 0.5421 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.4898, allocations: 411.6 kB / 0.5425 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.4916, allocations: 0.8923 MB / 0.5434 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.4917, allocations: 165.4 kB / 0.5436 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/0.492, allocations: 156.6 kB / 0.5437 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003925/0.496, allocations: 2.046 MB / 0.5457 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.496, allocations: 5.406 kB / 0.5457 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.4962, allocations: 55.94 kB / 0.5458 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/0.4962, allocations: 35.47 kB / 0.5458 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004474/0.5007, allocations: 2.721 MB / 0.5485 GB, free: 12.49 MB / 398.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.01217/0.5129, allocations: 6.562 MB / 0.5549 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005775/0.5186, allocations: 3.227 MB / 0.558 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.5201, allocations: 0.8012 MB / 0.5588 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.5319, allocations: 7.264 MB / 0.5659 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.532, allocations: 43.56 kB / 0.5659 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001212/0.5332, allocations: 205.4 kB / 0.5661 GB, free: 11.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=117): time 3.546e-06/0.5332, allocations: 0 / 0.5661 GB, free: 11.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.02106/0.5543, allocations: 5.411 MB / 0.5714 GB, free: 5.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.5543, allocations: 76.64 kB / 0.5715 GB, free: 5.766 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.5558, allocations: 1.026 MB / 0.5725 GB, free: 4.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.5559, allocations: 49.7 kB / 0.5725 GB, free: 4.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005466/0.5565, allocations: 0.6968 MB / 0.5732 GB, free: 3.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004737/0.5569, allocations: 0.503 MB / 0.5737 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005463/0.5575, allocations: 335.4 kB / 0.574 GB, free: 3.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5576, allocations: 301.1 kB / 0.5743 GB, free: 2.828 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.5588, allocations: 0.652 MB / 0.575 GB, free: 2.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.5604, allocations: 1.107 MB / 0.576 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/0.5633, allocations: 1.807 MB / 0.5778 GB, free: 14.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.759e-06/0.5633, allocations: 4.688 kB / 0.5778 GB, free: 14.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006787/0.5701, allocations: 2.404 MB / 0.5802 GB, free: 12.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.5701, allocations: 12 kB / 0.5802 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.5701, allocations: 15.94 kB / 0.5802 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/0.5728, allocations: 495.1 kB / 0.5807 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.5745, allocations: 421.7 kB / 0.5811 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006004/0.5805, allocations: 3.865 MB / 0.5848 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.5821, allocations: 55.98 kB / 0.5849 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.5824, allocations: 99.77 kB / 0.585 GB, free: 7.25 MB / 430.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.0008055/0.5832, allocations: 333.3 kB / 0.5853 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003579/0.5835, allocations: 135.1 kB / 0.5854 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006515/0.59, allocations: 2.12 MB / 0.5875 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.5901, allocations: 16 kB / 0.5875 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.5901, allocations: 3.938 kB / 0.5875 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/0.5901, allocations: 9.047 kB / 0.5875 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008915/0.599, allocations: 3.54 MB / 0.591 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.599, allocations: 3.938 kB / 0.591 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.6002, allocations: 271.7 kB / 0.5912 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002599/0.6028, allocations: 473.6 kB / 0.5917 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.6029, allocations: 47.97 kB / 0.5917 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005269/0.6082, allocations: 3.768 MB / 0.5954 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6082, allocations: 3.938 kB / 0.5954 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007191/0.6154, allocations: 2.754 MB / 0.5981 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/0.6159, allocations: 188.2 kB / 0.5983 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.6161, allocations: 31.94 kB / 0.5983 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007568/0.6169, allocations: 31.98 kB / 0.5984 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.6172, allocations: 117.3 kB / 0.5985 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002343/0.6175, allocations: 63.95 kB / 0.5985 GB, free: 8.992 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001106/0.6186, allocations: 0.7069 MB / 0.5992 GB, free: 8.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6186, allocations: 0 / 0.5992 GB, free: 8.273 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003905/0.6225, allocations: 0.9583 MB / 0.6002 GB, free: 7.312 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (solution.temperature,HCO3.logn,H.logn,CO2_liquid.logn,liquidWater.logn,OH.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 141 * 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 Backend phase and start with SimCode phase: time 0.002656/0.6251, allocations: 1.108 MB / 0.6012 GB, free: 6.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004309/0.6294, allocations: 1.909 MB / 0.6031 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6294, allocations: 0 / 0.6031 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.6315, allocations: 1.061 MB / 0.6041 GB, free: 3.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.6331, allocations: 265.7 kB / 0.6044 GB, free: 2.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005437/0.6385, allocations: 2.687 MB / 0.607 GB, free: 296 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.6395, allocations: 1.183 MB / 0.6082 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001306/0.6408, allocations: 329.5 kB / 0.6085 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006124/0.6414, allocations: 207.3 kB / 0.6087 GB, free: 14.55 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6415, allocations: 4 kB / 0.6087 GB, free: 14.55 MB / 462.1 MB Notification: Performance of Templates: time 0.06348/0.7049, allocations: 34.15 MB / 0.642 GB, free: 12.54 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.606915306299925]