Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.00141/0.00141, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001711/0.001711, allocations: 211 kB / 23.02 MB, free: 4.953 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1352/0.1352, allocations: 23.88 MB / 337.1 MB, free: 11 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_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.002055/0.002055, allocations: 75.88 kB / 471.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3177, allocations: 59.85 MB / 0.5193 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007134/0.3248, allocations: 6.761 MB / 0.5259 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02582/0.3506, allocations: 20.56 MB / 0.546 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.352, allocations: 27.84 kB / 0.546 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.3534, allocations: 434.7 kB / 0.5464 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006709/0.3601, allocations: 1.924 MB / 0.5483 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008715/0.3688, allocations: 2.976 MB / 0.5512 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.372, allocations: 2.127 MB / 0.5533 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.3735, allocations: 1.033 MB / 0.5543 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.3749, allocations: 1.094 MB / 0.5554 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.3768, allocations: 1.233 MB / 0.5566 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003344/0.3772, allocations: 192.1 kB / 0.5567 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007136/0.3843, allocations: 2.452 MB / 0.5591 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006361/0.3849, allocations: 483 kB / 0.5596 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.3862, allocations: 0.8128 MB / 0.5604 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.3972, allocations: 4.828 MB / 0.5651 GB, free: 10.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3972, allocations: 0 / 0.5651 GB, free: 10.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.3972, allocations: 4 kB / 0.5651 GB, free: 10.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.3972, allocations: 0 / 0.5651 GB, free: 10.82 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.005161/0.4024, allocations: 2.365 MB / 0.5674 GB, free: 8.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.4024, allocations: 8.031 kB / 0.5674 GB, free: 8.406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.412e-05/0.4025, allocations: 39.08 kB / 0.5675 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002875/0.4028, allocations: 215.5 kB / 0.5677 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.4046, allocations: 395.2 kB / 0.568 GB, free: 7.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.4062, allocations: 0.8516 MB / 0.5689 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.4064, allocations: 214.3 kB / 0.5691 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.4067, allocations: 152.1 kB / 0.5692 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/0.4102, allocations: 2.068 MB / 0.5712 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.4102, allocations: 0 / 0.5712 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.4104, allocations: 56 kB / 0.5713 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.4104, allocations: 36 kB / 0.5713 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004419/0.4148, allocations: 2.744 MB / 0.574 GB, free: 1.551 MB / 414.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.01152/0.4263, allocations: 5.579 MB / 0.5795 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005376/0.4317, allocations: 2.79 MB / 0.5822 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.4331, allocations: 0.8051 MB / 0.583 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00892/0.4421, allocations: 4 MB / 0.5869 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.4421, allocations: 43.56 kB / 0.5869 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001027/0.4431, allocations: 203 kB / 0.5871 GB, free: 4.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.757e-06/0.4431, allocations: 0 / 0.5871 GB, free: 4.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02148/0.4646, allocations: 5.178 MB / 0.5922 GB, free: 14.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.4647, allocations: 68.72 kB / 0.5922 GB, free: 14.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.4661, allocations: 1.046 MB / 0.5933 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.4662, allocations: 53.7 kB / 0.5933 GB, free: 13.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000553/0.4667, allocations: 0.6954 MB / 0.594 GB, free: 12.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004866/0.4672, allocations: 0.4996 MB / 0.5945 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005593/0.4678, allocations: 331.4 kB / 0.5948 GB, free: 12.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4679, allocations: 305.1 kB / 0.5951 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.4691, allocations: 0.6559 MB / 0.5957 GB, free: 11.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.4707, allocations: 1.115 MB / 0.5968 GB, free: 9.762 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.4736, allocations: 1.804 MB / 0.5986 GB, free: 7.766 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/0.4736, allocations: 4 kB / 0.5986 GB, free: 7.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007257/0.4809, allocations: 2.432 MB / 0.601 GB, free: 5.312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.4809, allocations: 12 kB / 0.601 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.481, allocations: 15.94 kB / 0.601 GB, free: 5.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003072/0.484, allocations: 494.1 kB / 0.6014 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.4859, allocations: 415.4 kB / 0.6018 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.4923, allocations: 3.648 MB / 0.6054 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.4938, allocations: 52 kB / 0.6055 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/0.4941, allocations: 91.95 kB / 0.6055 GB, free: 384 kB / 446.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.0008109/0.4949, allocations: 337.8 kB / 0.6059 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.4953, allocations: 127.2 kB / 0.606 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006945/0.5022, allocations: 2.125 MB / 0.6081 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.5023, allocations: 12 kB / 0.6081 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.5023, allocations: 0 / 0.6081 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.5023, allocations: 15.97 kB / 0.6081 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008829/0.5111, allocations: 3.312 MB / 0.6113 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.5111, allocations: 0 / 0.6113 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.5124, allocations: 275.6 kB / 0.6116 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00293/0.5153, allocations: 466.1 kB / 0.612 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.5155, allocations: 43.97 kB / 0.6121 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00561/0.5211, allocations: 3.538 MB / 0.6155 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5211, allocations: 3.984 kB / 0.6155 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008109/0.5292, allocations: 2.75 MB / 0.6182 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.5295, allocations: 119.1 kB / 0.6183 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.5298, allocations: 24 kB / 0.6184 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008796/0.5307, allocations: 35.92 kB / 0.6184 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.531, allocations: 125.1 kB / 0.6185 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.5312, allocations: 59.95 kB / 0.6186 GB, free: 2.684 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001023/0.5322, allocations: 0.7147 MB / 0.6193 GB, free: 1.957 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5322, allocations: 0 / 0.6193 GB, free: 1.957 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002898/0.5351, allocations: 0.9622 MB / 0.6202 GB, free: 0.9922 MB / 462.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.01051/0.5456, allocations: 4.314 MB / 0.6244 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.5496, allocations: 1.836 MB / 0.6262 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5496, allocations: 4.062 kB / 0.6262 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002091/0.5517, allocations: 0.9817 MB / 0.6272 GB, free: 9.766 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.5531, allocations: 261.9 kB / 0.6274 GB, free: 9.508 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/0.5807, allocations: 12.33 MB / 0.6395 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007807/0.5815, allocations: 0.5943 MB / 0.64 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001289/0.5828, allocations: 336.3 kB / 0.6404 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.5839, allocations: 0.6671 MB / 0.641 GB, free: 11.04 MB / 494.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5839, allocations: 3.938 kB / 0.641 GB, free: 11.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09562/0.6795, allocations: 48.29 MB / 0.6882 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/17.58, allocations: 4.062 kB / 0.6882 GB, free: 11.15 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater_fmu --startTime=0 --stopTime=0.02 --stepSize=8e-06 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.35003052907996] Failed to read output from testmodel.py, exit status != 0: 17.786974070011638 17.805187189 17.404503653 Calling exit ...