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.001255/0.001255, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.0014/0.0014, allocations: 216 kB / 22.24 MB, free: 5.258 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.377/1.377, allocations: 230.6 MB / 256 MB, free: 7.777 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.1283/0.1283, allocations: 23.92 MB / 336.4 MB, free: 10.89 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.002189/0.002189, allocations: 79.88 kB / 471.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3334, allocations: 59.87 MB / 0.5186 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.008127/0.3415, allocations: 6.764 MB / 0.5252 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02603/0.3675, allocations: 20.57 MB / 0.5453 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.369, allocations: 23.97 kB / 0.5453 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.3705, allocations: 442 kB / 0.5458 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00656/0.3771, allocations: 1.925 MB / 0.5476 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00914/0.3862, allocations: 2.968 MB / 0.5505 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003356/0.3896, allocations: 2.136 MB / 0.5526 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.391, allocations: 1.035 MB / 0.5536 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.3925, allocations: 1.085 MB / 0.5547 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.3946, allocations: 1.238 MB / 0.5559 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003055/0.3949, allocations: 196.1 kB / 0.5561 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007635/0.4025, allocations: 2.455 MB / 0.5585 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006163/0.4031, allocations: 479 kB / 0.5589 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.4043, allocations: 0.8039 MB / 0.5597 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.416, allocations: 4.836 MB / 0.5644 GB, free: 10.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.416, allocations: 4 kB / 0.5644 GB, free: 10.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.416, allocations: 0 / 0.5644 GB, free: 10.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.798e-05/0.416, allocations: 0 / 0.5644 GB, free: 10.64 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.004835/0.4209, allocations: 2.365 MB / 0.5668 GB, free: 8.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4209, allocations: 11.97 kB / 0.5668 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002624/0.4212, allocations: 207.5 kB / 0.567 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.4229, allocations: 411 kB / 0.5674 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.4245, allocations: 0.8438 MB / 0.5682 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.4247, allocations: 222.2 kB / 0.5684 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/0.425, allocations: 152.3 kB / 0.5685 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/0.4283, allocations: 2.056 MB / 0.5705 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.4283, allocations: 3.938 kB / 0.5706 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.4285, allocations: 56 kB / 0.5706 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.4285, allocations: 40 kB / 0.5706 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004202/0.4327, allocations: 2.709 MB / 0.5733 GB, free: 1.434 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.01111/0.4438, allocations: 5.575 MB / 0.5787 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005141/0.449, allocations: 2.794 MB / 0.5815 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.4502, allocations: 0.805 MB / 0.5822 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008802/0.4591, allocations: 3.993 MB / 0.5861 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.4591, allocations: 47.56 kB / 0.5862 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001004/0.4601, allocations: 203 kB / 0.5864 GB, free: 3.891 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.387e-06/0.4601, allocations: 0 / 0.5864 GB, free: 3.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02212/0.4822, allocations: 5.182 MB / 0.5914 GB, free: 14.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.4823, allocations: 72.72 kB / 0.5915 GB, free: 14.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.4836, allocations: 1.065 MB / 0.5926 GB, free: 13.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.4837, allocations: 49.7 kB / 0.5926 GB, free: 13.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005017/0.4842, allocations: 0.6955 MB / 0.5933 GB, free: 12.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000442/0.4847, allocations: 0.4958 MB / 0.5938 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005062/0.4852, allocations: 335.4 kB / 0.5941 GB, free: 11.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4853, allocations: 301.1 kB / 0.5944 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.4864, allocations: 0.6559 MB / 0.595 GB, free: 10.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.4879, allocations: 1.115 MB / 0.5961 GB, free: 9.629 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.4906, allocations: 1.804 MB / 0.5979 GB, free: 7.633 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.4906, allocations: 4 kB / 0.5979 GB, free: 7.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006852/0.4974, allocations: 2.428 MB / 0.6002 GB, free: 5.184 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.4975, allocations: 14.5 kB / 0.6003 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.4975, allocations: 16 kB / 0.6003 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003057/0.5005, allocations: 494.1 kB / 0.6007 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.5021, allocations: 415.4 kB / 0.6011 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005968/0.5081, allocations: 3.644 MB / 0.6047 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.5098, allocations: 59.92 kB / 0.6048 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.51, allocations: 95.95 kB / 0.6048 GB, free: 244 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.0007779/0.5108, allocations: 337.2 kB / 0.6052 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/0.5111, allocations: 127.2 kB / 0.6053 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006805/0.5179, allocations: 2.125 MB / 0.6074 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.5179, allocations: 19.92 kB / 0.6074 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5179, allocations: 4 kB / 0.6074 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.518, allocations: 4.125 kB / 0.6074 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008877/0.5268, allocations: 3.324 MB / 0.6106 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.5268, allocations: 3.984 kB / 0.6106 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.5281, allocations: 275.6 kB / 0.6109 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/0.5311, allocations: 466 kB / 0.6113 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/0.5313, allocations: 51.95 kB / 0.6114 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005369/0.5366, allocations: 3.53 MB / 0.6148 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5366, allocations: 0 / 0.6148 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007599/0.5442, allocations: 2.75 MB / 0.6175 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.5446, allocations: 115.2 kB / 0.6176 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.5448, allocations: 28 kB / 0.6177 GB, free: 2.754 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/0.5456, allocations: 31.98 kB / 0.6177 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/0.5459, allocations: 125.1 kB / 0.6178 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.546, allocations: 51.97 kB / 0.6179 GB, free: 2.547 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009316/0.5469, allocations: 0.7225 MB / 0.6186 GB, free: 1.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5469, allocations: 0 / 0.6186 GB, free: 1.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002712/0.5496, allocations: 0.9584 MB / 0.6195 GB, free: 0.8516 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.01011/0.5598, allocations: 4.317 MB / 0.6237 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003822/0.5636, allocations: 1.843 MB / 0.6255 GB, free: 10.63 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5636, allocations: 0 / 0.6255 GB, free: 10.63 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.5656, allocations: 0.9866 MB / 0.6265 GB, free: 9.613 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.5669, allocations: 256.5 kB / 0.6267 GB, free: 9.359 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02502/0.5919, allocations: 12.32 MB / 0.6388 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.5925, allocations: 0.6021 MB / 0.6393 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001166/0.5937, allocations: 324.7 kB / 0.6397 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.5947, allocations: 0.6671 MB / 0.6403 GB, free: 10.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5947, allocations: 4 kB / 0.6403 GB, free: 10.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09999/0.6947, allocations: 48.62 MB / 0.6878 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.65, allocations: 11.09 kB / 0.6878 GB, free: 10.68 MB / 0.5294 GB " [Timeout remaining time 645] (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: 17.19526831599069] Failed to read output from testmodel.py, exit status != 0: 14.789807230001315 14.806380995 14.387195512 Calling exit ...