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.001859/0.001859, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.002308/0.002308, allocations: 220 kB / 23.04 MB, free: 5.078 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.1375/0.1375, allocations: 23.84 MB / 337.1 MB, free: 11.24 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="cs",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.001991/0.001991, allocations: 63.91 kB / 472 MB, free: 7.727 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3199, allocations: 59.86 MB / 0.5193 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007005/0.3269, allocations: 7.669 MB / 0.5268 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03052/0.3574, allocations: 23.51 MB / 0.5498 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.3594, allocations: 27.72 kB / 0.5498 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.3611, allocations: 478.4 kB / 0.5503 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006852/0.368, allocations: 1.972 MB / 0.5522 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009312/0.3773, allocations: 2.964 MB / 0.5551 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.3807, allocations: 2.14 MB / 0.5572 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.3822, allocations: 1.029 MB / 0.5582 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.3838, allocations: 1.093 MB / 0.5593 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.386, allocations: 1.238 MB / 0.5605 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003671/0.3864, allocations: 191.8 kB / 0.5607 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009464/0.3959, allocations: 2.545 MB / 0.5631 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009355/0.3968, allocations: 487.2 kB / 0.5636 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.3985, allocations: 0.9486 MB / 0.5645 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.4127, allocations: 4.847 MB / 0.5693 GB, free: 6.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4127, allocations: 0 / 0.5693 GB, free: 6.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4127, allocations: 0 / 0.5693 GB, free: 6.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.451e-05/0.4128, allocations: 0 / 0.5693 GB, free: 6.855 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.00557/0.4184, allocations: 2.372 MB / 0.5716 GB, free: 4.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4184, allocations: 12.03 kB / 0.5716 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.639e-05/0.4185, allocations: 39.08 kB / 0.5716 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002807/0.4187, allocations: 203.5 kB / 0.5718 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.4207, allocations: 407.2 kB / 0.5722 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.4223, allocations: 0.8477 MB / 0.573 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.4225, allocations: 218.3 kB / 0.5732 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/0.4228, allocations: 152.1 kB / 0.5734 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003624/0.4265, allocations: 2.06 MB / 0.5754 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.4265, allocations: 0 / 0.5754 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.4267, allocations: 60 kB / 0.5755 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/0.4267, allocations: 36 kB / 0.5755 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004517/0.4312, allocations: 2.736 MB / 0.5782 GB, free: 13.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.01428/0.4455, allocations: 6.53 MB / 0.5845 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005938/0.4514, allocations: 2.853 MB / 0.5873 GB, free: 3.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.453, allocations: 0.8128 MB / 0.5881 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009891/0.4629, allocations: 4.214 MB / 0.5922 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.463, allocations: 43.56 kB / 0.5923 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001009/0.464, allocations: 203 kB / 0.5925 GB, free: 14.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 4.498e-06/0.464, allocations: 4 kB / 0.5925 GB, free: 14.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02202/0.486, allocations: 5.189 MB / 0.5975 GB, free: 9.438 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.4861, allocations: 64.72 kB / 0.5976 GB, free: 9.363 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.4877, allocations: 1.042 MB / 0.5986 GB, free: 8.297 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.4879, allocations: 49.7 kB / 0.5987 GB, free: 8.242 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005954/0.4885, allocations: 0.6916 MB / 0.5993 GB, free: 7.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005809/0.489, allocations: 0.5035 MB / 0.5998 GB, free: 7.031 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006272/0.4897, allocations: 339.4 kB / 0.6002 GB, free: 6.691 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4898, allocations: 301.1 kB / 0.6004 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.4911, allocations: 0.6598 MB / 0.6011 GB, free: 5.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.4929, allocations: 1.111 MB / 0.6022 GB, free: 4.422 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/0.4961, allocations: 1.812 MB / 0.6039 GB, free: 2.418 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.4961, allocations: 4 kB / 0.6039 GB, free: 2.414 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00724/0.5033, allocations: 2.424 MB / 0.6063 GB, free: 15.97 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.5033, allocations: 12 kB / 0.6063 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.5034, allocations: 19.92 kB / 0.6063 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002888/0.5063, allocations: 482.1 kB / 0.6068 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.5079, allocations: 423.3 kB / 0.6072 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005964/0.5139, allocations: 3.672 MB / 0.6108 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.5152, allocations: 55.98 kB / 0.6108 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/0.5155, allocations: 99.95 kB / 0.6109 GB, free: 11 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.0007665/0.5162, allocations: 329.8 kB / 0.6113 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.5166, allocations: 123.3 kB / 0.6114 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006666/0.5233, allocations: 2.136 MB / 0.6135 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.5233, allocations: 12 kB / 0.6135 GB, free: 8.379 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.5233, allocations: 4 kB / 0.6135 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.5233, allocations: 3.984 kB / 0.6135 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008956/0.5323, allocations: 3.53 MB / 0.6169 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.5323, allocations: 4 kB / 0.6169 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.5335, allocations: 267.7 kB / 0.6172 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002732/0.5362, allocations: 470.2 kB / 0.6176 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.5364, allocations: 47.97 kB / 0.6177 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005375/0.5417, allocations: 3.569 MB / 0.6212 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.5418, allocations: 3.938 kB / 0.6212 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007661/0.5494, allocations: 2.75 MB / 0.6239 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/0.5498, allocations: 111.2 kB / 0.624 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.5502, allocations: 28 kB / 0.624 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000884/0.551, allocations: 31.94 kB / 0.624 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/0.5514, allocations: 129.1 kB / 0.6241 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.5516, allocations: 60.09 kB / 0.6242 GB, free: 13.07 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001131/0.5527, allocations: 0.7185 MB / 0.6249 GB, free: 12.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5527, allocations: 0 / 0.6249 GB, free: 12.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003697/0.5564, allocations: 0.9584 MB / 0.6258 GB, free: 11.38 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.01042/0.5669, allocations: 4.309 MB / 0.63 GB, free: 7.031 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004081/0.5709, allocations: 1.836 MB / 0.6318 GB, free: 5.168 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5709, allocations: 11.81 kB / 0.6319 GB, free: 5.156 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.5731, allocations: 0.9822 MB / 0.6328 GB, free: 4.145 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.5746, allocations: 254.8 kB / 0.6331 GB, free: 3.895 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/0.6021, allocations: 12.34 MB / 0.6451 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009346/0.6031, allocations: 1.187 MB / 0.6463 GB, free: 5.816 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001194/0.6043, allocations: 329.1 kB / 0.6466 GB, free: 5.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.6054, allocations: 0.6593 MB / 0.6472 GB, free: 4.844 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6054, allocations: 0 / 0.6472 GB, free: 4.844 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1396/0.7449, allocations: 47.54 MB / 0.6936 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/17.63, allocations: 10.25 kB / 0.6937 GB, free: 5.594 MB / 0.5294 GB " [Timeout remaining time 642] (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 sys.exit(0), Time elapsed: 20.616312572034076] Failed to read output from testmodel.py, exit status != 0: 17.85086601495277 17.87726125 17.458567965 Calling exit ...