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.001375/0.001375, 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.001562/0.001562, allocations: 216.3 kB / 22.25 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.805 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.1323/0.1323, allocations: 23.88 MB / 336.3 MB, free: 10.97 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.00239/0.00239, allocations: 63.91 kB / 471.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.339, allocations: 59.85 MB / 0.5185 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.01266/0.3516, allocations: 6.767 MB / 0.5251 GB, free: 5.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04094/0.3926, allocations: 20.59 MB / 0.5452 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/0.3951, allocations: 23.91 kB / 0.5453 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.3977, allocations: 433.3 kB / 0.5457 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01235/0.41, allocations: 1.93 MB / 0.5476 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01516/0.4252, allocations: 2.967 MB / 0.5505 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004946/0.4301, allocations: 2.132 MB / 0.5525 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.4323, allocations: 1.022 MB / 0.5535 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.4347, allocations: 1.085 MB / 0.5546 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.4382, allocations: 1.112 MB / 0.5557 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000639/0.4388, allocations: 197.1 kB / 0.5559 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.4505, allocations: 2.388 MB / 0.5582 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.4518, allocations: 480.1 kB / 0.5587 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.4536, allocations: 0.8114 MB / 0.5595 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01936/0.473, allocations: 4.837 MB / 0.5642 GB, free: 10.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.473, allocations: 0 / 0.5642 GB, free: 10.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.473, allocations: 0 / 0.5642 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.561e-05/0.4731, allocations: 4 kB / 0.5642 GB, free: 10.96 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.009346/0.4824, allocations: 2.357 MB / 0.5665 GB, free: 8.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.026e-05/0.4825, allocations: 8.031 kB / 0.5665 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004192/0.4829, allocations: 211.5 kB / 0.5667 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/0.4861, allocations: 403.2 kB / 0.5671 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.4889, allocations: 0.8477 MB / 0.5679 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.4892, allocations: 226.2 kB / 0.5681 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004684/0.4897, allocations: 148.3 kB / 0.5683 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005593/0.4953, allocations: 2.06 MB / 0.5703 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.4953, allocations: 0 / 0.5703 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/0.4956, allocations: 60 kB / 0.5703 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/0.4956, allocations: 36 kB / 0.5704 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006698/0.5023, allocations: 2.713 MB / 0.573 GB, free: 1.762 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.0177/0.52, allocations: 5.575 MB / 0.5785 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006178/0.5262, allocations: 2.794 MB / 0.5812 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.5277, allocations: 0.8127 MB / 0.582 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.5377, allocations: 3.992 MB / 0.5859 GB, free: 4.473 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.5377, allocations: 51.48 kB / 0.5859 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00115/0.5389, allocations: 203 kB / 0.5861 GB, free: 4.211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 1.061e-05/0.5389, allocations: 0 / 0.5861 GB, free: 4.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02172/0.5606, allocations: 5.178 MB / 0.5912 GB, free: 14.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.5607, allocations: 72.66 kB / 0.5912 GB, free: 14.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.5622, allocations: 1.069 MB / 0.5923 GB, free: 13.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.5624, allocations: 45.7 kB / 0.5923 GB, free: 13.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005811/0.563, allocations: 0.6955 MB / 0.593 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005651/0.5635, allocations: 0.5036 MB / 0.5935 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005936/0.5641, allocations: 335.4 kB / 0.5938 GB, free: 12.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5643, allocations: 301.1 kB / 0.5941 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.5655, allocations: 0.652 MB / 0.5948 GB, free: 11.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.5672, allocations: 1.111 MB / 0.5958 GB, free: 9.949 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.5702, allocations: 1.812 MB / 0.5976 GB, free: 7.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.556e-05/0.5702, allocations: 4 kB / 0.5976 GB, free: 7.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007142/0.5774, allocations: 2.428 MB / 0.6 GB, free: 5.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.5774, allocations: 12 kB / 0.6 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.5774, allocations: 16 kB / 0.6 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00288/0.5803, allocations: 486.1 kB / 0.6005 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.5821, allocations: 427.3 kB / 0.6009 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006292/0.5884, allocations: 3.642 MB / 0.6044 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.5899, allocations: 60.05 kB / 0.6045 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/0.5902, allocations: 91.97 kB / 0.6046 GB, free: 0.5586 MB / 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.0009233/0.5912, allocations: 333.2 kB / 0.6049 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/0.5916, allocations: 131.2 kB / 0.605 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007096/0.5987, allocations: 2.129 MB / 0.6071 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.5987, allocations: 16 kB / 0.6071 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.5987, allocations: 4 kB / 0.6071 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.5988, allocations: 7.969 kB / 0.6071 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009551/0.6083, allocations: 3.304 MB / 0.6104 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.6083, allocations: 4 kB / 0.6104 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.6095, allocations: 271.7 kB / 0.6106 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002701/0.6122, allocations: 477.9 kB / 0.6111 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.6124, allocations: 47.95 kB / 0.6111 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005539/0.6179, allocations: 3.538 MB / 0.6146 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6179, allocations: 4.031 kB / 0.6146 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007799/0.6257, allocations: 2.742 MB / 0.6173 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.6261, allocations: 115.2 kB / 0.6174 GB, free: 3.109 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.6264, allocations: 31.94 kB / 0.6174 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008729/0.6272, allocations: 28 kB / 0.6174 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.6276, allocations: 129.1 kB / 0.6175 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.6277, allocations: 55.97 kB / 0.6176 GB, free: 2.867 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001136/0.6289, allocations: 0.7186 MB / 0.6183 GB, free: 2.137 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6289, allocations: 4 kB / 0.6183 GB, free: 2.133 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0031/0.632, allocations: 0.9545 MB / 0.6192 GB, free: 1.176 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.01126/0.6432, allocations: 4.321 MB / 0.6235 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004601/0.6478, allocations: 1.843 MB / 0.6253 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.6478, allocations: 0 / 0.6253 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002242/0.6501, allocations: 0.9817 MB / 0.6262 GB, free: 9.938 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.6518, allocations: 258.1 kB / 0.6265 GB, free: 9.684 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/0.6805, allocations: 12.33 MB / 0.6385 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008956/0.6814, allocations: 0.6021 MB / 0.6391 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00141/0.6828, allocations: 317.1 kB / 0.6394 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/0.684, allocations: 0.6632 MB / 0.64 GB, free: 11.23 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.684, allocations: 7.938 kB / 0.64 GB, free: 11.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/0.7968, allocations: 48.12 MB / 0.687 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.71, allocations: 2.406 kB / 0.687 GB, free: 11.49 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.484290809370577] Failed to read output from testmodel.py, exit status != 0: 15.86347736325115 15.893324594 15.414419292 Calling exit ...