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.001351/0.001351, allocations: 107.4 kB / 16.46 MB, free: 6.453 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.00144/0.00144, allocations: 210.4 kB / 19.43 MB, free: 3.625 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.379/1.379, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1332/0.1332, allocations: 23.89 MB / 332.7 MB, free: 12.33 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",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.001941/0.001941, allocations: 63.91 kB / 466 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 59.84 MB / 0.5136 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.009061/0.3286, allocations: 7.608 MB / 0.521 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02722/0.3558, allocations: 23.45 MB / 0.5439 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.3573, allocations: 24.44 kB / 0.5439 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.3587, allocations: 489.6 kB / 0.5444 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006305/0.365, allocations: 1.952 MB / 0.5463 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008858/0.3738, allocations: 2.945 MB / 0.5492 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003803/0.3776, allocations: 2.139 MB / 0.5512 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/0.3792, allocations: 1.054 MB / 0.5523 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.3805, allocations: 1.093 MB / 0.5533 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.3822, allocations: 1.237 MB / 0.5546 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002659/0.3825, allocations: 195.1 kB / 0.5547 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009221/0.3917, allocations: 2.543 MB / 0.5572 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005751/0.3923, allocations: 475.9 kB / 0.5577 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.3936, allocations: 0.9508 MB / 0.5586 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.4059, allocations: 4.851 MB / 0.5633 GB, free: 7.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4059, allocations: 0 / 0.5633 GB, free: 7.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4059, allocations: 1.031 kB / 0.5633 GB, free: 7.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.029e-05/0.406, allocations: 0 / 0.5633 GB, free: 7.098 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.005419/0.4114, allocations: 2.44 MB / 0.5657 GB, free: 5.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4114, allocations: 9.344 kB / 0.5657 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002999/0.4117, allocations: 218.3 kB / 0.5659 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.4136, allocations: 403 kB / 0.5663 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.4151, allocations: 0.9172 MB / 0.5672 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.4153, allocations: 162.9 kB / 0.5674 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.4156, allocations: 152.3 kB / 0.5675 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.4188, allocations: 2.044 MB / 0.5695 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.4189, allocations: 0 / 0.5695 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.419, allocations: 67.98 kB / 0.5696 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.4191, allocations: 36 kB / 0.5696 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004157/0.4232, allocations: 2.72 MB / 0.5723 GB, free: 14.59 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.01119/0.4344, allocations: 6.561 MB / 0.5787 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005356/0.4398, allocations: 3.226 MB / 0.5818 GB, free: 4.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.4411, allocations: 0.8128 MB / 0.5826 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.4519, allocations: 7.26 MB / 0.5897 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.4519, allocations: 55.48 kB / 0.5898 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001027/0.4529, allocations: 199 kB / 0.59 GB, free: 11.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 5.36e-06/0.4529, allocations: 0 / 0.59 GB, free: 11.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02062/0.4736, allocations: 5.415 MB / 0.5953 GB, free: 5.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.4736, allocations: 68.72 kB / 0.5953 GB, free: 5.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.4751, allocations: 1.034 MB / 0.5963 GB, free: 4.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.4752, allocations: 49.7 kB / 0.5964 GB, free: 4.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/0.4757, allocations: 0.6916 MB / 0.597 GB, free: 3.949 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004768/0.4762, allocations: 0.4997 MB / 0.5975 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005529/0.4767, allocations: 331.4 kB / 0.5979 GB, free: 3.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4769, allocations: 305.1 kB / 0.5981 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.478, allocations: 0.6481 MB / 0.5988 GB, free: 2.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.4796, allocations: 1.107 MB / 0.5999 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/0.4823, allocations: 1.804 MB / 0.6016 GB, free: 14.87 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.4823, allocations: 7.938 kB / 0.6016 GB, free: 14.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006677/0.489, allocations: 2.412 MB / 0.604 GB, free: 12.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.4891, allocations: 12.12 kB / 0.604 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.4891, allocations: 20 kB / 0.604 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002739/0.4918, allocations: 489.9 kB / 0.6045 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.4934, allocations: 415.4 kB / 0.6049 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005709/0.4991, allocations: 3.879 MB / 0.6087 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.5004, allocations: 52 kB / 0.6087 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.5006, allocations: 96.02 kB / 0.6088 GB, free: 7.203 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.0006776/0.5013, allocations: 337.3 kB / 0.6091 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.5016, allocations: 127.2 kB / 0.6092 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00643/0.508, allocations: 2.122 MB / 0.6113 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.508, allocations: 15.94 kB / 0.6113 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.508, allocations: 4 kB / 0.6113 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.508, allocations: 8.109 kB / 0.6113 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008203/0.5162, allocations: 3.543 MB / 0.6148 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.5162, allocations: 3.984 kB / 0.6148 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.5174, allocations: 275.7 kB / 0.6151 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/0.52, allocations: 470 kB / 0.6155 GB, free: 220 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.5201, allocations: 55.94 kB / 0.6156 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00544/0.5256, allocations: 3.779 MB / 0.6193 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5256, allocations: 64 / 0.6193 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007143/0.5327, allocations: 2.746 MB / 0.6219 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.5331, allocations: 200.2 kB / 0.6221 GB, free: 9.113 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.5333, allocations: 28 kB / 0.6222 GB, free: 9.086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/0.534, allocations: 27.94 kB / 0.6222 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/0.5343, allocations: 125.1 kB / 0.6223 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.5344, allocations: 55.97 kB / 0.6224 GB, free: 8.883 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000901/0.5353, allocations: 0.7108 MB / 0.6231 GB, free: 8.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5353, allocations: 0 / 0.6231 GB, free: 8.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002926/0.5382, allocations: 0.9545 MB / 0.624 GB, free: 7.203 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.009609/0.5478, allocations: 4.324 MB / 0.6282 GB, free: 2.844 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003762/0.5516, allocations: 1.907 MB / 0.6301 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5516, allocations: 3.938 kB / 0.6301 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.5535, allocations: 1.061 MB / 0.6311 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.5549, allocations: 255.3 kB / 0.6314 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02384/0.5788, allocations: 12.3 MB / 0.6434 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/0.5796, allocations: 1.187 MB / 0.6445 GB, free: 1.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001126/0.5808, allocations: 320.7 kB / 0.6448 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009557/0.5817, allocations: 0.6671 MB / 0.6455 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5817, allocations: 0 / 0.6455 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09644/0.6781, allocations: 46.17 MB / 0.6906 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/15.61, allocations: 11.14 kB / 0.6906 GB, free: 2.629 MB / 0.5294 GB " [Timeout remaining time 644] (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: 18.21871073707007] Failed to read output from testmodel.py, exit status != 0: 15.72762132785283 15.748614938 15.338602812 Calling exit ...