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.001388/0.001388, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001793/0.001793, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.816 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.1455/0.1455, allocations: 24 MB / 336.4 MB, free: 10.88 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.002074/0.002074, allocations: 67.89 kB / 471.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3437, allocations: 59.89 MB / 0.5187 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.008972/0.3527, allocations: 6.759 MB / 0.5253 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02751/0.3802, allocations: 20.57 MB / 0.5454 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.3818, allocations: 23.66 kB / 0.5454 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.3837, allocations: 442.1 kB / 0.5459 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008595/0.3923, allocations: 1.925 MB / 0.5477 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.4037, allocations: 2.976 MB / 0.5507 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003822/0.4076, allocations: 2.132 MB / 0.5527 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.4094, allocations: 1.014 MB / 0.5537 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.4114, allocations: 1.093 MB / 0.5548 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.4138, allocations: 1.117 MB / 0.5559 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006195/0.4144, allocations: 191.8 kB / 0.5561 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008624/0.423, allocations: 2.392 MB / 0.5584 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009602/0.424, allocations: 475.2 kB / 0.5589 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.4257, allocations: 0.8121 MB / 0.5597 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.4388, allocations: 4.839 MB / 0.5644 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4388, allocations: 0 / 0.5644 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4388, allocations: 0 / 0.5644 GB, free: 10.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.965e-05/0.4389, allocations: 0 / 0.5644 GB, free: 10.74 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.005544/0.4444, allocations: 2.369 MB / 0.5667 GB, free: 8.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4444, allocations: 12.03 kB / 0.5667 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002731/0.4447, allocations: 215.5 kB / 0.5669 GB, free: 8.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.4465, allocations: 399 kB / 0.5673 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.4482, allocations: 0.8438 MB / 0.5681 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.4484, allocations: 222.2 kB / 0.5683 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/0.4487, allocations: 152.3 kB / 0.5685 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/0.4522, allocations: 2.06 MB / 0.5705 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.4522, allocations: 11.92 kB / 0.5705 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.4523, allocations: 56 kB / 0.5705 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.4524, allocations: 36 kB / 0.5706 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00458/0.457, allocations: 2.705 MB / 0.5732 GB, free: 1.531 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.01295/0.4699, allocations: 5.567 MB / 0.5787 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005988/0.4759, allocations: 2.806 MB / 0.5814 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.4775, allocations: 0.805 MB / 0.5822 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.4875, allocations: 3.989 MB / 0.5861 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.25e-05/0.4876, allocations: 47.55 kB / 0.5861 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001095/0.4887, allocations: 199 kB / 0.5863 GB, free: 3.996 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 1.15e-05/0.4887, allocations: 4 kB / 0.5863 GB, free: 3.992 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.0222/0.5109, allocations: 5.182 MB / 0.5914 GB, free: 14.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/0.511, allocations: 64.72 kB / 0.5914 GB, free: 14.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.5128, allocations: 1.069 MB / 0.5925 GB, free: 13.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004064/0.5132, allocations: 53.69 kB / 0.5925 GB, free: 13.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00078/0.514, allocations: 0.6993 MB / 0.5932 GB, free: 12.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00088/0.5149, allocations: 0.4919 MB / 0.5937 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.5159, allocations: 335.4 kB / 0.594 GB, free: 12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5161, allocations: 301.1 kB / 0.5943 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.5175, allocations: 0.6637 MB / 0.595 GB, free: 11.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.5194, allocations: 1.111 MB / 0.596 GB, free: 9.723 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.5228, allocations: 1.808 MB / 0.5978 GB, free: 7.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.5229, allocations: 4 kB / 0.5978 GB, free: 7.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007797/0.5307, allocations: 2.42 MB / 0.6002 GB, free: 5.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.5307, allocations: 12.12 kB / 0.6002 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.5307, allocations: 16 kB / 0.6002 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003096/0.5338, allocations: 494 kB / 0.6007 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.5355, allocations: 419.4 kB / 0.6011 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/0.5415, allocations: 3.646 MB / 0.6046 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.5429, allocations: 59.98 kB / 0.6047 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003049/0.5432, allocations: 87.97 kB / 0.6048 GB, free: 348 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.000825/0.544, allocations: 341.3 kB / 0.6051 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.5444, allocations: 127.2 kB / 0.6052 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007394/0.5518, allocations: 2.121 MB / 0.6073 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.5518, allocations: 19.94 kB / 0.6073 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5518, allocations: 0 / 0.6073 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.5518, allocations: 7.969 kB / 0.6073 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009391/0.5612, allocations: 3.32 MB / 0.6106 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.5612, allocations: 0 / 0.6106 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.5624, allocations: 283.6 kB / 0.6108 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002649/0.5651, allocations: 458 kB / 0.6113 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.5652, allocations: 51.95 kB / 0.6113 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005471/0.5707, allocations: 3.534 MB / 0.6148 GB, free: 5.773 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5707, allocations: 3.938 kB / 0.6148 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007473/0.5782, allocations: 2.75 MB / 0.6175 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.5785, allocations: 123.1 kB / 0.6176 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/0.5788, allocations: 24 kB / 0.6176 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008587/0.5797, allocations: 28 kB / 0.6176 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/0.58, allocations: 133.1 kB / 0.6177 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.5801, allocations: 55.97 kB / 0.6178 GB, free: 2.637 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001111/0.5812, allocations: 0.7186 MB / 0.6185 GB, free: 1.906 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5812, allocations: 0 / 0.6185 GB, free: 1.906 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003029/0.5843, allocations: 0.9545 MB / 0.6194 GB, free: 0.9492 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.01039/0.5947, allocations: 4.325 MB / 0.6237 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004471/0.5991, allocations: 1.83 MB / 0.6254 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5991, allocations: 2 kB / 0.6254 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.6013, allocations: 0.9856 MB / 0.6264 GB, free: 9.715 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.6029, allocations: 264.4 kB / 0.6267 GB, free: 9.457 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02813/0.631, allocations: 12.33 MB / 0.6387 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009965/0.632, allocations: 0.5982 MB / 0.6393 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001424/0.6334, allocations: 329 kB / 0.6396 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/0.6347, allocations: 0.6632 MB / 0.6402 GB, free: 11 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/0.6347, allocations: 0 / 0.6402 GB, free: 11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/0.7532, allocations: 48.12 MB / 0.6872 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.73, allocations: 2.922 kB / 0.6872 GB, free: 11.28 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 os._exit(0), Time elapsed: 18.41766028292477] Failed to read output from testmodel.py, exit status != 0: 15.873869782779366 15.891681012 15.449133559 Calling exit ...