Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 98.08 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00231/0.00231, allocations: 217.1 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.139/0.139, allocations: 23.89 MB / 337.1 MB, free: 11.25 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 67.89 kB / 472 MB, free: 7.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3508, allocations: 59.85 MB / 0.5194 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.008212/0.359, allocations: 7.667 MB / 0.5269 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02991/0.3889, allocations: 23.5 MB / 0.5498 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.3906, allocations: 24.19 kB / 0.5499 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.3925, allocations: 490.3 kB / 0.5503 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007074/0.3996, allocations: 1.972 MB / 0.5523 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.41, allocations: 2.968 MB / 0.5551 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003752/0.4138, allocations: 2.134 MB / 0.5572 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.4155, allocations: 1.032 MB / 0.5582 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.4175, allocations: 1.086 MB / 0.5593 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.4204, allocations: 1.245 MB / 0.5605 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008793/0.4213, allocations: 193.1 kB / 0.5607 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.4317, allocations: 2.545 MB / 0.5632 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009909/0.4327, allocations: 478.8 kB / 0.5636 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00254/0.4353, allocations: 0.9521 MB / 0.5646 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.4504, allocations: 4.85 MB / 0.5693 GB, free: 6.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.944e-06/0.4504, allocations: 0 / 0.5693 GB, free: 6.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4504, allocations: 4 kB / 0.5693 GB, free: 6.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001063/0.4505, allocations: 0 / 0.5693 GB, free: 6.793 MB / 414.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.007149/0.4577, allocations: 2.364 MB / 0.5716 GB, free: 4.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.4577, allocations: 11.97 kB / 0.5716 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.107e-05/0.4578, allocations: 43.08 kB / 0.5717 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000677/0.4585, allocations: 211.5 kB / 0.5719 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/0.461, allocations: 395.2 kB / 0.5723 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.4633, allocations: 0.8515 MB / 0.5731 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.4636, allocations: 218.2 kB / 0.5733 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006456/0.4643, allocations: 160.1 kB / 0.5734 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004928/0.4692, allocations: 2.052 MB / 0.5754 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/0.4692, allocations: 7.938 kB / 0.5755 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.4695, allocations: 59.98 kB / 0.5755 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.4695, allocations: 32 kB / 0.5755 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005145/0.4747, allocations: 2.736 MB / 0.5782 GB, free: 13.52 MB / 430.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.01428/0.489, allocations: 6.527 MB / 0.5846 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006036/0.495, allocations: 2.864 MB / 0.5874 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.4967, allocations: 0.8089 MB / 0.5882 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.5076, allocations: 4.21 MB / 0.5923 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.5077, allocations: 43.56 kB / 0.5923 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001086/0.5087, allocations: 203 kB / 0.5925 GB, free: 14.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 6.762e-06/0.5088, allocations: 0 / 0.5925 GB, free: 14.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02242/0.5312, allocations: 5.189 MB / 0.5976 GB, free: 9.379 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.5312, allocations: 68.7 kB / 0.5977 GB, free: 9.301 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.5328, allocations: 1.042 MB / 0.5987 GB, free: 8.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002752/0.5331, allocations: 45.7 kB / 0.5987 GB, free: 8.184 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006301/0.5337, allocations: 0.7033 MB / 0.5994 GB, free: 7.469 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006548/0.5344, allocations: 0.4996 MB / 0.5999 GB, free: 6.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007301/0.5351, allocations: 331.4 kB / 0.6002 GB, free: 6.633 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5353, allocations: 305.1 kB / 0.6005 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.5366, allocations: 0.652 MB / 0.6011 GB, free: 5.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.5383, allocations: 1.115 MB / 0.6022 GB, free: 4.363 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003338/0.5416, allocations: 1.808 MB / 0.604 GB, free: 2.363 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/0.5417, allocations: 4 kB / 0.604 GB, free: 2.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007528/0.5492, allocations: 2.424 MB / 0.6064 GB, free: 15.92 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.5492, allocations: 12 kB / 0.6064 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/0.5493, allocations: 16 kB / 0.6064 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/0.5522, allocations: 498.1 kB / 0.6069 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.554, allocations: 415.4 kB / 0.6073 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00622/0.5602, allocations: 3.68 MB / 0.6109 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.5617, allocations: 55.98 kB / 0.6109 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003928/0.5621, allocations: 87.97 kB / 0.611 GB, free: 10.94 MB / 462.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.001085/0.5632, allocations: 337.9 kB / 0.6113 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005607/0.5638, allocations: 127.1 kB / 0.6114 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007342/0.5711, allocations: 2.121 MB / 0.6135 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/0.5711, allocations: 16 kB / 0.6135 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.5712, allocations: 0 / 0.6135 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-05/0.5712, allocations: 11.97 kB / 0.6135 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.5816, allocations: 3.53 MB / 0.617 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5816, allocations: 0 / 0.617 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.5829, allocations: 275.6 kB / 0.6172 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002784/0.5857, allocations: 466 kB / 0.6177 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003003/0.586, allocations: 51.97 kB / 0.6177 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00567/0.5917, allocations: 3.569 MB / 0.6212 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.5917, allocations: 4.031 kB / 0.6212 GB, free: 136 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00829/0.6, allocations: 2.742 MB / 0.6239 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.6004, allocations: 115.2 kB / 0.624 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/0.6008, allocations: 27.94 kB / 0.624 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.6018, allocations: 35.98 kB / 0.6241 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003954/0.6022, allocations: 125.1 kB / 0.6242 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/0.6024, allocations: 55.97 kB / 0.6242 GB, free: 13.01 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00108/0.6035, allocations: 0.7147 MB / 0.6249 GB, free: 12.28 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6035, allocations: 4 kB / 0.6249 GB, free: 12.28 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003356/0.6068, allocations: 0.9583 MB / 0.6259 GB, free: 11.32 MB / 478.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.01099/0.6178, allocations: 4.313 MB / 0.6301 GB, free: 6.973 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004587/0.6224, allocations: 1.836 MB / 0.6319 GB, free: 5.109 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6224, allocations: 4 kB / 0.6319 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.6249, allocations: 0.9858 MB / 0.6329 GB, free: 4.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.6268, allocations: 262.2 kB / 0.6331 GB, free: 3.832 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03001/0.6568, allocations: 12.34 MB / 0.6452 GB, free: 6.977 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.658, allocations: 1.187 MB / 0.6463 GB, free: 5.754 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00139/0.6593, allocations: 328.9 kB / 0.6466 GB, free: 5.445 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/0.6605, allocations: 0.6632 MB / 0.6473 GB, free: 4.781 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6605, allocations: 0 / 0.6473 GB, free: 4.781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.7653, allocations: 47.53 MB / 0.6937 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/17.82, allocations: 18.3 kB / 0.6937 GB, free: 5.52 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater_fmu --startTime=0 --stopTime=0.02 --stepSize=8e-06 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.84320670296438] Failed to read output from testmodel.py, exit status != 0: 18.024474216043018 18.048700495 17.592369007 Calling exit ...