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.001441/0.001441, allocations: 116.1 kB / 17.17 MB, free: 6 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.001741/0.001741, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1626/0.1626, allocations: 23.89 MB / 333.4 MB, free: 1.18 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_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.00198/0.00198, allocations: 68.75 kB / 466.7 MB, free: 30.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09877, allocations: 59.84 MB / 0.5142 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.01007/0.1088, allocations: 7.61 MB / 0.5217 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03062/0.1395, allocations: 23.45 MB / 0.5446 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.141, allocations: 23.81 kB / 0.5446 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.1424, allocations: 480.5 kB / 0.545 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00618/0.1486, allocations: 1.956 MB / 0.547 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008255/0.1569, allocations: 2.944 MB / 0.5498 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003512/0.1604, allocations: 2.13 MB / 0.5519 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.1621, allocations: 1.06 MB / 0.5529 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.1638, allocations: 1.083 MB / 0.554 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.166, allocations: 1.242 MB / 0.5552 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005657/0.1666, allocations: 192 kB / 0.5554 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008016/0.1746, allocations: 2.547 MB / 0.5579 GB, free: 0 / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008674/0.1755, allocations: 470.8 kB / 0.5583 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001551/0.177, allocations: 0.9529 MB / 0.5593 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01294/0.19, allocations: 4.844 MB / 0.564 GB, free: 9.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.19, allocations: 0 / 0.564 GB, free: 9.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.19, allocations: 0 / 0.564 GB, free: 9.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.154e-05/0.1901, allocations: 7.938 kB / 0.564 GB, free: 9.711 MB / 430.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.006608/0.1967, allocations: 2.444 MB / 0.5664 GB, free: 7.203 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1967, allocations: 8.031 kB / 0.5664 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.123e-05/0.1968, allocations: 43.08 kB / 0.5664 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003802/0.1972, allocations: 211.5 kB / 0.5666 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/0.1993, allocations: 399.2 kB / 0.567 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.2013, allocations: 0.9133 MB / 0.5679 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.2015, allocations: 166.8 kB / 0.5681 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004974/0.202, allocations: 151.9 kB / 0.5682 GB, free: 5.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004585/0.2066, allocations: 2.048 MB / 0.5702 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.2067, allocations: 3.938 kB / 0.5702 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.2069, allocations: 60 kB / 0.5703 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/0.2069, allocations: 36 kB / 0.5703 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005727/0.2126, allocations: 2.717 MB / 0.573 GB, free: 368 kB / 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.01451/0.2271, allocations: 6.561 MB / 0.5794 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005622/0.2328, allocations: 3.241 MB / 0.5825 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.2343, allocations: 0.8051 MB / 0.5833 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2445/0.4788, allocations: 7.261 MB / 0.5904 GB, free: 66.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.4788, allocations: 44.36 kB / 0.5905 GB, free: 66.66 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001055/0.4799, allocations: 201.7 kB / 0.5907 GB, free: 66.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 6.342e-06/0.4799, allocations: 0 / 0.5907 GB, free: 66.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02251/0.5024, allocations: 5.418 MB / 0.5959 GB, free: 64.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.5024, allocations: 66.14 kB / 0.596 GB, free: 64.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.504, allocations: 1.033 MB / 0.597 GB, free: 64.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.5042, allocations: 46.95 kB / 0.5971 GB, free: 64.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.5047, allocations: 0.6975 MB / 0.5977 GB, free: 63.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005551/0.5052, allocations: 0.5027 MB / 0.5982 GB, free: 63.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006585/0.5059, allocations: 339.5 kB / 0.5986 GB, free: 63.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.5059, allocations: 302.9 kB / 0.5988 GB, free: 62.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.5072, allocations: 0.6451 MB / 0.5995 GB, free: 62.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.5088, allocations: 1.113 MB / 0.6006 GB, free: 61.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/0.5115, allocations: 1.8 MB / 0.6023 GB, free: 60.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/0.5116, allocations: 4.594 kB / 0.6023 GB, free: 60.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007917/0.5195, allocations: 2.409 MB / 0.6047 GB, free: 59.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/0.5195, allocations: 14.66 kB / 0.6047 GB, free: 59.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/0.5196, allocations: 13.88 kB / 0.6047 GB, free: 59.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002971/0.5225, allocations: 493.8 kB / 0.6052 GB, free: 59.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.5243, allocations: 416.9 kB / 0.6056 GB, free: 59.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005156/0.5294, allocations: 3.879 MB / 0.6094 GB, free: 56.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.531, allocations: 60.19 kB / 0.6094 GB, free: 56.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.5312, allocations: 92.72 kB / 0.6095 GB, free: 56.09 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.000703/0.5319, allocations: 328.9 kB / 0.6098 GB, free: 55.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/0.5323, allocations: 131.9 kB / 0.6099 GB, free: 55.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006424/0.5387, allocations: 2.123 MB / 0.612 GB, free: 54.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.5387, allocations: 23.66 kB / 0.612 GB, free: 54.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.5387, allocations: 0 / 0.612 GB, free: 54.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/0.5388, allocations: 7.828 kB / 0.612 GB, free: 54.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008444/0.5472, allocations: 3.541 MB / 0.6155 GB, free: 53.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.5472, allocations: 0 / 0.6155 GB, free: 53.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.5485, allocations: 281.6 kB / 0.6158 GB, free: 53.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002628/0.5511, allocations: 467.9 kB / 0.6162 GB, free: 52.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/0.5513, allocations: 47.72 kB / 0.6163 GB, free: 52.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004257/0.5556, allocations: 3.778 MB / 0.62 GB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5556, allocations: 3.984 kB / 0.62 GB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007047/0.5626, allocations: 2.752 MB / 0.6226 GB, free: 47.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004851/0.5631, allocations: 194.9 kB / 0.6228 GB, free: 47.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/0.5635, allocations: 21.03 kB / 0.6229 GB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009602/0.5644, allocations: 34.02 kB / 0.6229 GB, free: 47.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/0.5648, allocations: 118 kB / 0.623 GB, free: 47.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.5649, allocations: 64.48 kB / 0.6231 GB, free: 47.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008435/0.5658, allocations: 0.7072 MB / 0.6238 GB, free: 46.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5658, allocations: 0 / 0.6238 GB, free: 46.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002821/0.5686, allocations: 0.9604 MB / 0.6247 GB, free: 46.64 MB / 446.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.008692/0.5773, allocations: 4.313 MB / 0.6289 GB, free: 42.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003557/0.5808, allocations: 1.907 MB / 0.6308 GB, free: 40.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5808, allocations: 0 / 0.6308 GB, free: 40.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.5826, allocations: 1.065 MB / 0.6318 GB, free: 39.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.584, allocations: 260.9 kB / 0.6321 GB, free: 39.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02176/0.6057, allocations: 12.31 MB / 0.6441 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.6063, allocations: 1.194 MB / 0.6452 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.6075, allocations: 330.2 kB / 0.6456 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008547/0.6084, allocations: 0.6632 MB / 0.6462 GB, free: 24.11 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6084, allocations: 0 / 0.6462 GB, free: 24.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08806/0.6964, allocations: 46.21 MB / 0.6913 GB, free: 10.13 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/17.28, allocations: 11.31 kB / 0.6913 GB, free: 10.12 MB / 478.1 MB " [Timeout remaining time 643] (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: 20.227637464995496] Failed to read output from testmodel.py, exit status != 0: 17.464599571947474 17.486400862 17.29198764 Calling exit ...