Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.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.00125/0.00125, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001416/0.001416, allocations: 208.4 kB / 22.25 MB, free: 5.086 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 8.035 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.1314/0.1314, allocations: 23.9 MB / 336.3 MB, free: 11.28 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.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",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.001927/0.001927, allocations: 71.88 kB / 471.2 MB, free: 7.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3308, allocations: 59.86 MB / 0.5186 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005139/0.3359, allocations: 4.337 MB / 0.5229 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008331/0.3443, allocations: 8.768 MB / 0.5314 GB, free: 92 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006319/0.3449, allocations: 13.41 kB / 0.5314 GB, free: 84 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.3455, allocations: 175.2 kB / 0.5316 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.3478, allocations: 0.8003 MB / 0.5324 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.3506, allocations: 1.031 MB / 0.5334 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3519, allocations: 0.8855 MB / 0.5343 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006411/0.3525, allocations: 413.9 kB / 0.5347 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005361/0.353, allocations: 453.2 kB / 0.5351 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006646/0.3537, allocations: 488.2 kB / 0.5356 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3538, allocations: 77.19 kB / 0.5356 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.3566, allocations: 0.9055 MB / 0.5365 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.3568, allocations: 183.5 kB / 0.5367 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.3572, allocations: 411.9 kB / 0.5371 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.3608, allocations: 1.841 MB / 0.5389 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3608, allocations: 0 / 0.5389 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3608, allocations: 0 / 0.5389 GB, free: 12.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3608, allocations: 0.9062 kB / 0.5389 GB, free: 12.52 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002206/0.363, allocations: 1.1 MB / 0.54 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.363, allocations: 9.031 kB / 0.54 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.3632, allocations: 115.3 kB / 0.5401 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006504/0.3638, allocations: 148.5 kB / 0.5402 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.3647, allocations: 407.6 kB / 0.5406 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.3647, allocations: 53.22 kB / 0.5407 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.3649, allocations: 65.8 kB / 0.5407 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.3661, allocations: 0.7603 MB / 0.5415 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.3662, allocations: 0 / 0.5415 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.3662, allocations: 25.5 kB / 0.5415 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.3662, allocations: 21.03 kB / 0.5415 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.3676, allocations: 0.8766 MB / 0.5424 GB, free: 10.75 MB / 398.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.003899/0.3715, allocations: 2.306 MB / 0.5446 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.373, allocations: 0.8178 MB / 0.5454 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/0.3735, allocations: 258.8 kB / 0.5457 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003524/0.377, allocations: 1.609 MB / 0.5472 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.377, allocations: 39.41 kB / 0.5473 GB, free: 8.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.377, allocations: 1.406 kB / 0.5473 GB, free: 8.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01521/0.3922, allocations: 2.645 MB / 0.5499 GB, free: 6.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.3923, allocations: 57 kB / 0.5499 GB, free: 6.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.3928, allocations: 414 kB / 0.5503 GB, free: 6.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.3928, allocations: 36.77 kB / 0.5503 GB, free: 6.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.3931, allocations: 373.7 kB / 0.5507 GB, free: 5.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.3933, allocations: 214.6 kB / 0.5509 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.3935, allocations: 144.3 kB / 0.551 GB, free: 5.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3936, allocations: 357.7 kB / 0.5514 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.394, allocations: 210.3 kB / 0.5516 GB, free: 5.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/0.3946, allocations: 460.4 kB / 0.552 GB, free: 4.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009653/0.3955, allocations: 0.7174 MB / 0.5527 GB, free: 4.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3955, allocations: 6.844 kB / 0.5527 GB, free: 4.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00458/0.4001, allocations: 1.137 MB / 0.5538 GB, free: 3.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4001, allocations: 11.16 kB / 0.5538 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.4001, allocations: 7.562 kB / 0.5539 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003465/0.4036, allocations: 444.9 kB / 0.5543 GB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.4041, allocations: 158.8 kB / 0.5544 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007561/0.4116, allocations: 4.444 MB / 0.5588 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.4123, allocations: 24.97 kB / 0.5588 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.4124, allocations: 45.17 kB / 0.5588 GB, free: 15.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003596/0.4127, allocations: 211.4 kB / 0.559 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.4128, allocations: 55.56 kB / 0.5591 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005296/0.4181, allocations: 1.093 MB / 0.5602 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4182, allocations: 5.188 kB / 0.5602 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4182, allocations: 1.469 kB / 0.5602 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.4182, allocations: 5.438 kB / 0.5602 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006398/0.4246, allocations: 1.788 MB / 0.5619 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4246, allocations: 0 / 0.5619 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.4249, allocations: 95.83 kB / 0.562 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004661/0.4296, allocations: 0.5061 MB / 0.5625 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.4296, allocations: 19.98 kB / 0.5625 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008314/0.4379, allocations: 5.64 MB / 0.568 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.4379, allocations: 7.969 kB / 0.568 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005836/0.4438, allocations: 1.403 MB / 0.5694 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.444, allocations: 51.78 kB / 0.5695 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.073e-05/0.4441, allocations: 20 kB / 0.5695 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.4444, allocations: 19.94 kB / 0.5695 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.4446, allocations: 56.39 kB / 0.5695 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/0.4446, allocations: 27.98 kB / 0.5696 GB, free: 4.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003617/0.445, allocations: 267.2 kB / 0.5698 GB, free: 4.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.445, allocations: 3.938 kB / 0.5698 GB, free: 4.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001815/0.4468, allocations: 399.1 kB / 0.5702 GB, free: 3.918 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.logn,liquidWater.amountOfBonds,liquidWater.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006898/0.4537, allocations: 2.31 MB / 0.5725 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.4553, allocations: 0.8613 MB / 0.5733 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4553, allocations: 0 / 0.5733 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.4565, allocations: 0.7102 MB / 0.574 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008193/0.4573, allocations: 138 kB / 0.5741 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/0.4715, allocations: 6.104 MB / 0.5801 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.4721, allocations: 0.8952 MB / 0.581 GB, free: 8.395 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000437/0.4725, allocations: 124.8 kB / 0.5811 GB, free: 8.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.4729, allocations: 281.9 kB / 0.5814 GB, free: 7.996 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4729, allocations: 0 / 0.5814 GB, free: 7.996 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06221/0.5351, allocations: 22.63 MB / 0.6035 GB, free: 1.582 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.73, allocations: 18.23 kB / 0.6035 GB, free: 1.57 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.4088926589975] Failed to read output from testmodel.py, exit status != 0: 14.85478398900159 14.870032466 14.506142676 Calling exit ...