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.001385/0.001385, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001867/0.001867, allocations: 219.9 kB / 22.26 MB, free: 5.121 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.992 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.1705/0.1705, allocations: 23.85 MB / 336.3 MB, free: 11.21 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.003358/0.003358, allocations: 67.89 kB / 471.2 MB, free: 7.727 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3945, allocations: 59.85 MB / 0.5186 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005024/0.3995, allocations: 4.323 MB / 0.5228 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00903/0.4085, allocations: 8.773 MB / 0.5314 GB, free: 216 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006131/0.4091, allocations: 13.53 kB / 0.5314 GB, free: 208 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006965/0.4098, allocations: 184.1 kB / 0.5315 GB, free: 104 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.4124, allocations: 0.8008 MB / 0.5323 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.4158, allocations: 1.021 MB / 0.5333 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.4175, allocations: 0.8868 MB / 0.5342 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/0.4183, allocations: 425.1 kB / 0.5346 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007151/0.419, allocations: 454.5 kB / 0.535 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007948/0.4198, allocations: 479.6 kB / 0.5355 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.4199, allocations: 76.88 kB / 0.5356 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003882/0.4238, allocations: 0.9128 MB / 0.5365 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.424, allocations: 174.6 kB / 0.5366 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.4246, allocations: 413.2 kB / 0.537 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004467/0.429, allocations: 1.848 MB / 0.5388 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.4291, allocations: 1.984 kB / 0.5388 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4291, allocations: 0 / 0.5388 GB, free: 12.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.4291, allocations: 0 / 0.5388 GB, free: 12.63 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.002632/0.4317, allocations: 1.092 MB / 0.5399 GB, free: 11.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4318, allocations: 9.719 kB / 0.5399 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.4319, allocations: 108 kB / 0.54 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007032/0.4326, allocations: 160.4 kB / 0.5402 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/0.4336, allocations: 401.7 kB / 0.5405 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/0.4336, allocations: 50.39 kB / 0.5406 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.4337, allocations: 68.38 kB / 0.5406 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.4351, allocations: 0.7577 MB / 0.5414 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.4351, allocations: 0 / 0.5414 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/0.4351, allocations: 30.94 kB / 0.5414 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.4352, allocations: 15.53 kB / 0.5414 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.4366, allocations: 0.8727 MB / 0.5423 GB, free: 10.88 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.004317/0.441, allocations: 2.31 MB / 0.5445 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.4428, allocations: 0.8254 MB / 0.5453 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.4433, allocations: 259 kB / 0.5456 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004629/0.4479, allocations: 1.601 MB / 0.5472 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.4479, allocations: 44.75 kB / 0.5472 GB, free: 8.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.933e-06/0.448, allocations: 0 / 0.5472 GB, free: 8.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01671/0.4647, allocations: 2.653 MB / 0.5498 GB, free: 6.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.4647, allocations: 57.28 kB / 0.5498 GB, free: 6.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/0.4653, allocations: 411 kB / 0.5502 GB, free: 6.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.197e-05/0.4654, allocations: 35.8 kB / 0.5503 GB, free: 6.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.4657, allocations: 370.6 kB / 0.5506 GB, free: 6.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.4659, allocations: 210.2 kB / 0.5508 GB, free: 5.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.4661, allocations: 143.4 kB / 0.551 GB, free: 5.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.4663, allocations: 366.9 kB / 0.5513 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.4667, allocations: 201.9 kB / 0.5515 GB, free: 5.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/0.4673, allocations: 464.8 kB / 0.5519 GB, free: 4.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.4684, allocations: 0.7171 MB / 0.5526 GB, free: 4.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.4684, allocations: 2.5 kB / 0.5527 GB, free: 4.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004854/0.4733, allocations: 1.142 MB / 0.5538 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4733, allocations: 8.219 kB / 0.5538 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4733, allocations: 7.656 kB / 0.5538 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003799/0.4771, allocations: 444.8 kB / 0.5542 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.4776, allocations: 167.5 kB / 0.5544 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008113/0.4858, allocations: 4.435 MB / 0.5587 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.4865, allocations: 25.19 kB / 0.5587 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.45e-05/0.4866, allocations: 44.7 kB / 0.5588 GB, free: 15.59 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.0004227/0.487, allocations: 211.4 kB / 0.559 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.4871, allocations: 56.78 kB / 0.559 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005603/0.4927, allocations: 1.085 MB / 0.5601 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.4927, allocations: 8.078 kB / 0.5601 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4927, allocations: 7.938 kB / 0.5601 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.4928, allocations: 3.938 kB / 0.5601 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006748/0.4995, allocations: 1.775 MB / 0.5618 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.4995, allocations: 3.984 kB / 0.5618 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.4999, allocations: 91.84 kB / 0.5619 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004931/0.5048, allocations: 0.5138 MB / 0.5624 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.837e-05/0.5049, allocations: 23.98 kB / 0.5624 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009069/0.5139, allocations: 5.64 MB / 0.568 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5139, allocations: 4.031 kB / 0.568 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006154/0.5201, allocations: 1.403 MB / 0.5693 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.5203, allocations: 51.62 kB / 0.5694 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/0.5204, allocations: 16.03 kB / 0.5694 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.5208, allocations: 16 kB / 0.5694 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.521, allocations: 64.33 kB / 0.5695 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.521, allocations: 20 kB / 0.5695 GB, free: 4.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004043/0.5214, allocations: 271.1 kB / 0.5697 GB, free: 4.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5214, allocations: 0 / 0.5697 GB, free: 4.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001731/0.5232, allocations: 403.1 kB / 0.5701 GB, free: 3.961 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.00792/0.5311, allocations: 2.314 MB / 0.5724 GB, free: 1.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.5331, allocations: 0.8615 MB / 0.5732 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5331, allocations: 0 / 0.5732 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.5344, allocations: 0.7023 MB / 0.5739 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.5355, allocations: 144.3 kB / 0.5741 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.5514, allocations: 6.097 MB / 0.58 GB, free: 9.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/0.5521, allocations: 0.8913 MB / 0.5809 GB, free: 8.449 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005038/0.5526, allocations: 132.7 kB / 0.581 GB, free: 8.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.5531, allocations: 282 kB / 0.5813 GB, free: 8.043 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5531, allocations: 0 / 0.5813 GB, free: 8.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07049/0.6236, allocations: 22.63 MB / 0.6034 GB, free: 1.629 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.47/16.09, allocations: 8.062 kB / 0.6034 GB, free: 1.621 MB / 446.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.163714796071872] Failed to read output from testmodel.py, exit status != 0: 16.232159346807748 16.260105601 15.825859151 Calling exit ...