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.001287/0.001287, allocations: 99.75 kB / 18.95 MB, free: 2.672 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.001371/0.001371, allocations: 215.3 kB / 22.25 MB, free: 5.254 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.42/1.42, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1408/0.1408, allocations: 23.92 MB / 336.4 MB, free: 10.94 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.002856/0.002856, allocations: 79.86 kB / 471.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4111, allocations: 59.86 MB / 0.5186 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005007/0.4162, allocations: 3.922 MB / 0.5224 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008798/0.4249, allocations: 7.705 MB / 0.5299 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006445/0.4256, allocations: 13.38 kB / 0.53 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.4262, allocations: 163.7 kB / 0.5301 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.4288, allocations: 0.786 MB / 0.5309 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003416/0.4322, allocations: 1.018 MB / 0.5319 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.4338, allocations: 0.8886 MB / 0.5327 GB, free: 76 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007033/0.4346, allocations: 425 kB / 0.5332 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007839/0.4353, allocations: 453.2 kB / 0.5336 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007814/0.4361, allocations: 480.5 kB / 0.534 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.4363, allocations: 76.62 kB / 0.5341 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.4396, allocations: 0.8768 MB / 0.535 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.4398, allocations: 186.7 kB / 0.5352 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004351/0.4402, allocations: 344.9 kB / 0.5355 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004915/0.4452, allocations: 1.839 MB / 0.5373 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4452, allocations: 0 / 0.5373 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4452, allocations: 0 / 0.5373 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.4452, allocations: 5.312 kB / 0.5373 GB, free: 14.23 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.002662/0.4478, allocations: 1.097 MB / 0.5384 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4479, allocations: 9.781 kB / 0.5384 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.4481, allocations: 111.1 kB / 0.5385 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007141/0.4488, allocations: 149.2 kB / 0.5386 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009843/0.4498, allocations: 406.4 kB / 0.539 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.4498, allocations: 49.88 kB / 0.539 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.45, allocations: 69.47 kB / 0.5391 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.4518, allocations: 0.7532 MB / 0.5398 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.4518, allocations: 0 / 0.5398 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.4519, allocations: 29.75 kB / 0.5399 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.4519, allocations: 16.72 kB / 0.5399 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.4537, allocations: 0.8624 MB / 0.5407 GB, free: 12.48 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.004181/0.4578, allocations: 1.871 MB / 0.5426 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.4595, allocations: 0.8078 MB / 0.5433 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.46, allocations: 252.8 kB / 0.5436 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003779/0.4637, allocations: 1.529 MB / 0.5451 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.4638, allocations: 41.36 kB / 0.5451 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.354e-06/0.4638, allocations: 4 kB / 0.5451 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01383/0.4776, allocations: 2.652 MB / 0.5477 GB, free: 8.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.4776, allocations: 58.34 kB / 0.5478 GB, free: 8.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.4782, allocations: 420.9 kB / 0.5482 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.4783, allocations: 35.08 kB / 0.5482 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.4785, allocations: 378.6 kB / 0.5486 GB, free: 8.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.4787, allocations: 207 kB / 0.5488 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.479, allocations: 147.8 kB / 0.5489 GB, free: 7.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4792, allocations: 363.1 kB / 0.5493 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.4795, allocations: 210.1 kB / 0.5495 GB, free: 7.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.4801, allocations: 454.7 kB / 0.5499 GB, free: 7.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.4812, allocations: 0.7211 MB / 0.5506 GB, free: 6.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4812, allocations: 2.344 kB / 0.5506 GB, free: 6.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004161/0.4853, allocations: 1.129 MB / 0.5517 GB, free: 5.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.4853, allocations: 8.031 kB / 0.5517 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.4854, allocations: 9.062 kB / 0.5517 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/0.4885, allocations: 443.9 kB / 0.5521 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.4891, allocations: 159.5 kB / 0.5523 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007467/0.4965, allocations: 4.402 MB / 0.5566 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/0.4972, allocations: 29.2 kB / 0.5566 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/0.4973, allocations: 40.97 kB / 0.5567 GB, free: 1.797 MB / 398.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.0003837/0.4976, allocations: 215.5 kB / 0.5569 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.4978, allocations: 51.45 kB / 0.5569 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004827/0.5026, allocations: 1.092 MB / 0.558 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.5026, allocations: 4 kB / 0.558 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5026, allocations: 4 kB / 0.558 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.5026, allocations: 11.92 kB / 0.558 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/0.5084, allocations: 1.693 MB / 0.5596 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5084, allocations: 0 / 0.5596 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.5087, allocations: 91.84 kB / 0.5597 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004029/0.5128, allocations: 0.5099 MB / 0.5602 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/0.5128, allocations: 19.98 kB / 0.5603 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008346/0.5212, allocations: 5.581 MB / 0.5657 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.5212, allocations: 7.969 kB / 0.5657 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/0.5265, allocations: 1.407 MB / 0.5671 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.5267, allocations: 47.62 kB / 0.5671 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.65e-05/0.5268, allocations: 12 kB / 0.5671 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.5271, allocations: 12 kB / 0.5672 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.5273, allocations: 64.33 kB / 0.5672 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/0.5274, allocations: 31.98 kB / 0.5672 GB, free: 6.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003488/0.5277, allocations: 271.3 kB / 0.5675 GB, free: 6.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5277, allocations: 3.938 kB / 0.5675 GB, free: 6.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00158/0.5293, allocations: 407.1 kB / 0.5679 GB, free: 6.02 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.006577/0.5359, allocations: 2.296 MB / 0.5701 GB, free: 3.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.5377, allocations: 0.8694 MB / 0.571 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5377, allocations: 64 / 0.571 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.5389, allocations: 0.706 MB / 0.5717 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009207/0.5398, allocations: 140.9 kB / 0.5718 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.5536, allocations: 6.109 MB / 0.5778 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.554, allocations: 297.6 kB / 0.5781 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004916/0.5545, allocations: 128.8 kB / 0.5782 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.5549, allocations: 274.1 kB / 0.5784 GB, free: 10.71 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5549, allocations: 0 / 0.5784 GB, free: 10.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06501/0.6199, allocations: 23.5 MB / 0.6014 GB, free: 3.492 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.79, allocations: 3.984 kB / 0.6014 GB, free: 3.488 MB / 446.1 MB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 16.6032411820197] Failed to read output from testmodel.py, exit status != 0: 13.927387797011761 13.9524451 13.501824299 Calling exit ...