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.001735/0.001735, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002147/0.002147, allocations: 219.4 kB / 22.25 MB, free: 5.102 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.812 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.1485/0.1485, allocations: 23.89 MB / 336.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_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.002093/0.002093, allocations: 67.89 kB / 471.1 MB, free: 7.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 59.86 MB / 0.5185 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.006639/0.3457, allocations: 6.77 MB / 0.5251 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02616/0.3718, allocations: 20.57 MB / 0.5452 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.3736, allocations: 33.03 kB / 0.5453 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.3753, allocations: 424.9 kB / 0.5457 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007095/0.3824, allocations: 1.933 MB / 0.5476 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009324/0.3917, allocations: 2.96 MB / 0.5505 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003976/0.3957, allocations: 2.131 MB / 0.5525 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.3975, allocations: 1.039 MB / 0.5535 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00177/0.3992, allocations: 1.093 MB / 0.5546 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/0.4018, allocations: 1.234 MB / 0.5558 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003609/0.4022, allocations: 193.3 kB / 0.556 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008652/0.4108, allocations: 2.45 MB / 0.5584 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009636/0.4118, allocations: 487.1 kB / 0.5589 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.4134, allocations: 0.8041 MB / 0.5596 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.4266, allocations: 4.834 MB / 0.5644 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.4266, allocations: 4 kB / 0.5644 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4266, allocations: 0 / 0.5644 GB, free: 10.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.526e-05/0.4267, allocations: 0 / 0.5644 GB, free: 10.79 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.005917/0.4326, allocations: 2.369 MB / 0.5667 GB, free: 8.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.4326, allocations: 8.031 kB / 0.5667 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002911/0.4329, allocations: 211.5 kB / 0.5669 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.4349, allocations: 403.2 kB / 0.5673 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.4367, allocations: 0.8399 MB / 0.5681 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.437, allocations: 222.2 kB / 0.5683 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.4373, allocations: 152.3 kB / 0.5685 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.4411, allocations: 2.064 MB / 0.5705 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.4412, allocations: 3.938 kB / 0.5705 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.4414, allocations: 56 kB / 0.5705 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.4414, allocations: 36 kB / 0.5706 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004607/0.446, allocations: 2.709 MB / 0.5732 GB, free: 1.586 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.01235/0.4584, allocations: 5.579 MB / 0.5787 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005524/0.4639, allocations: 2.794 MB / 0.5814 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.4653, allocations: 0.8089 MB / 0.5822 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009466/0.4748, allocations: 3.996 MB / 0.5861 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.4748, allocations: 43.56 kB / 0.5861 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001063/0.4759, allocations: 207 kB / 0.5863 GB, free: 4.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.237e-06/0.4759, allocations: 4 kB / 0.5863 GB, free: 4.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02379/0.4997, allocations: 5.178 MB / 0.5914 GB, free: 14.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.4997, allocations: 72.7 kB / 0.5914 GB, free: 14.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.5012, allocations: 1.065 MB / 0.5925 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.5014, allocations: 49.7 kB / 0.5925 GB, free: 13.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005578/0.502, allocations: 0.6954 MB / 0.5932 GB, free: 12.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005048/0.5025, allocations: 0.5036 MB / 0.5937 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005746/0.503, allocations: 327.4 kB / 0.594 GB, free: 12.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5032, allocations: 305.1 kB / 0.5943 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.5044, allocations: 0.6559 MB / 0.5949 GB, free: 11.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.506, allocations: 1.115 MB / 0.596 GB, free: 9.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/0.5089, allocations: 1.804 MB / 0.5978 GB, free: 7.773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.5089, allocations: 4 kB / 0.5978 GB, free: 7.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00755/0.5165, allocations: 2.432 MB / 0.6002 GB, free: 5.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.5165, allocations: 12 kB / 0.6002 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.5165, allocations: 12 kB / 0.6002 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003171/0.5197, allocations: 490.1 kB / 0.6007 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.5214, allocations: 415.4 kB / 0.6011 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006164/0.5275, allocations: 3.648 MB / 0.6046 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.529, allocations: 55.98 kB / 0.6047 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.5292, allocations: 95.95 kB / 0.6048 GB, free: 392 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.000708/0.5299, allocations: 341.2 kB / 0.6051 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/0.5303, allocations: 131.1 kB / 0.6052 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007319/0.5376, allocations: 2.117 MB / 0.6073 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.5376, allocations: 24.02 kB / 0.6073 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5376, allocations: 0 / 0.6073 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/0.5376, allocations: 15.95 kB / 0.6073 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009288/0.5469, allocations: 3.312 MB / 0.6106 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5469, allocations: 0 / 0.6106 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.5482, allocations: 279.6 kB / 0.6108 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/0.5514, allocations: 466 kB / 0.6113 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.5515, allocations: 43.97 kB / 0.6113 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005948/0.5575, allocations: 3.534 MB / 0.6148 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5575, allocations: 0 / 0.6148 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008225/0.5657, allocations: 2.75 MB / 0.6174 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/0.5661, allocations: 119.2 kB / 0.6176 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.5663, allocations: 28 kB / 0.6176 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008488/0.5672, allocations: 31.98 kB / 0.6176 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/0.5675, allocations: 125.1 kB / 0.6177 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/0.5676, allocations: 51.97 kB / 0.6178 GB, free: 2.691 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.5687, allocations: 0.7186 MB / 0.6185 GB, free: 1.961 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5687, allocations: 0 / 0.6185 GB, free: 1.961 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003384/0.5721, allocations: 0.9584 MB / 0.6194 GB, free: 1 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.01102/0.5831, allocations: 4.317 MB / 0.6236 GB, free: 12.65 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004224/0.5873, allocations: 1.844 MB / 0.6254 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5873, allocations: 0 / 0.6254 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002161/0.5895, allocations: 0.9857 MB / 0.6264 GB, free: 9.762 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.5909, allocations: 256.9 kB / 0.6267 GB, free: 9.508 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/0.618, allocations: 12.33 MB / 0.6387 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.6187, allocations: 0.606 MB / 0.6393 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001252/0.6199, allocations: 332.3 kB / 0.6396 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.621, allocations: 0.6554 MB / 0.6402 GB, free: 11.04 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.621, allocations: 0 / 0.6402 GB, free: 11.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/0.7262, allocations: 48.62 MB / 0.6877 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.61, allocations: 10.97 kB / 0.6877 GB, free: 10.81 MB / 0.5294 GB " [Timeout remaining time 644] (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: 18.462087041989435] Failed to read output from testmodel.py, exit status != 0: 15.758715278003365 15.780423838 15.348172183 Calling exit ...