Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001295/0.001295, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001535/0.001535, allocations: 220.3 kB / 22.25 MB, free: 5.102 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.816 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.1437/0.1437, allocations: 23.88 MB / 336.3 MB, free: 10.98 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.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_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.002153/0.002153, allocations: 75.89 kB / 471.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3817, allocations: 59.86 MB / 0.5185 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004821/0.3865, allocations: 3.909 MB / 0.5223 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008894/0.3954, allocations: 7.704 MB / 0.5299 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007578/0.3962, allocations: 13.84 kB / 0.5299 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.3968, allocations: 166.8 kB / 0.53 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.399, allocations: 0.7784 MB / 0.5308 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.4019, allocations: 1.027 MB / 0.5318 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.4031, allocations: 0.8849 MB / 0.5327 GB, free: 76 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006118/0.4037, allocations: 424.7 kB / 0.5331 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.4043, allocations: 454 kB / 0.5335 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006969/0.405, allocations: 483.8 kB / 0.534 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.4052, allocations: 76.78 kB / 0.534 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.4083, allocations: 0.881 MB / 0.5349 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.4085, allocations: 177.5 kB / 0.5351 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004823/0.409, allocations: 350.5 kB / 0.5354 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004238/0.4132, allocations: 1.834 MB / 0.5372 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4132, allocations: 0.7031 kB / 0.5372 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.4133, allocations: 0 / 0.5372 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.4133, allocations: 1.312 kB / 0.5372 GB, free: 14.24 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.002618/0.4159, allocations: 1.1 MB / 0.5383 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4159, allocations: 10.14 kB / 0.5383 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.4161, allocations: 107.4 kB / 0.5384 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006702/0.4168, allocations: 152.3 kB / 0.5385 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/0.4177, allocations: 406.8 kB / 0.5389 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.4178, allocations: 54.19 kB / 0.539 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.4179, allocations: 68.59 kB / 0.539 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.4194, allocations: 0.7581 MB / 0.5398 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.4194, allocations: 0 / 0.5398 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.4195, allocations: 29.48 kB / 0.5398 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.4195, allocations: 17.44 kB / 0.5398 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.421, allocations: 0.8618 MB / 0.5407 GB, free: 12.47 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.004125/0.4252, allocations: 1.87 MB / 0.5425 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.4268, allocations: 0.8023 MB / 0.5433 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.4273, allocations: 258.5 kB / 0.5435 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004262/0.4316, allocations: 1.521 MB / 0.545 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.4316, allocations: 42.78 kB / 0.545 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.705e-06/0.4316, allocations: 0 / 0.545 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01439/0.446, allocations: 2.66 MB / 0.5476 GB, free: 8.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.4461, allocations: 58.44 kB / 0.5477 GB, free: 8.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.4467, allocations: 428.7 kB / 0.5481 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.664e-05/0.4468, allocations: 35.92 kB / 0.5481 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.4471, allocations: 370.3 kB / 0.5485 GB, free: 8.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.4473, allocations: 202.9 kB / 0.5487 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.4475, allocations: 151.3 kB / 0.5488 GB, free: 7.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4477, allocations: 363.2 kB / 0.5492 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.4481, allocations: 205.6 kB / 0.5494 GB, free: 7.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/0.4487, allocations: 466.8 kB / 0.5498 GB, free: 7.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.4498, allocations: 0.7175 MB / 0.5505 GB, free: 6.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.4498, allocations: 2.344 kB / 0.5505 GB, free: 6.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004434/0.4542, allocations: 1.129 MB / 0.5516 GB, free: 5.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.4543, allocations: 9.625 kB / 0.5516 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.4543, allocations: 12.19 kB / 0.5516 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003188/0.4575, allocations: 439.7 kB / 0.5521 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.4581, allocations: 162.8 kB / 0.5522 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007813/0.4659, allocations: 4.395 MB / 0.5565 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/0.4666, allocations: 28.91 kB / 0.5565 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.4667, allocations: 48.17 kB / 0.5566 GB, free: 1.789 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.0003946/0.4671, allocations: 211.6 kB / 0.5568 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.4672, allocations: 52.42 kB / 0.5568 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/0.4721, allocations: 1.087 MB / 0.5579 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.4722, allocations: 8 kB / 0.5579 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4722, allocations: 96 / 0.5579 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.4722, allocations: 15.86 kB / 0.5579 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006105/0.4783, allocations: 1.694 MB / 0.5596 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4783, allocations: 0 / 0.5596 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.4786, allocations: 91.89 kB / 0.5597 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004159/0.4828, allocations: 0.5059 MB / 0.5602 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.4829, allocations: 27.92 kB / 0.5602 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008226/0.4911, allocations: 5.578 MB / 0.5656 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4911, allocations: 4.031 kB / 0.5656 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/0.4965, allocations: 1.403 MB / 0.567 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.4968, allocations: 55.66 kB / 0.5671 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.4969, allocations: 16 kB / 0.5671 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.4973, allocations: 12 kB / 0.5671 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.4974, allocations: 68.27 kB / 0.5671 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.4975, allocations: 27.98 kB / 0.5672 GB, free: 6.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003472/0.4978, allocations: 267.2 kB / 0.5674 GB, free: 6.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4978, allocations: 0 / 0.5674 GB, free: 6.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001504/0.4993, allocations: 407 kB / 0.5678 GB, free: 6.098 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.006549/0.5059, allocations: 2.306 MB / 0.5701 GB, free: 3.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001768/0.5077, allocations: 0.8652 MB / 0.5709 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5077, allocations: 0 / 0.5709 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.5088, allocations: 0.6948 MB / 0.5716 GB, free: 2.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009626/0.5098, allocations: 153.7 kB / 0.5717 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.5239, allocations: 6.097 MB / 0.5777 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.5242, allocations: 305.6 kB / 0.578 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005419/0.5248, allocations: 136.4 kB / 0.5781 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.5252, allocations: 274.3 kB / 0.5784 GB, free: 10.78 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5252, allocations: 0 / 0.5784 GB, free: 10.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06904/0.5942, allocations: 23.5 MB / 0.6013 GB, free: 3.562 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.62, allocations: 0 / 0.6013 GB, free: 3.562 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.435711856000125] Failed to read output from testmodel.py, exit status != 0: 13.755199726001592 13.781372158 13.363122099 Calling exit ...