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.001723/0.001723, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.002026/0.002026, allocations: 214.2 kB / 22.25 MB, free: 5.117 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.785 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.1451/0.1451, allocations: 23.89 MB / 336.3 MB, free: 10.96 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.002609/0.002609, allocations: 71.91 kB / 471.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3526, allocations: 59.86 MB / 0.5185 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004701/0.3573, allocations: 3.907 MB / 0.5223 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008261/0.3656, allocations: 7.705 MB / 0.5299 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005458/0.3661, allocations: 13.47 kB / 0.5299 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.3667, allocations: 164.6 kB / 0.53 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.3686, allocations: 0.7853 MB / 0.5308 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.3713, allocations: 1.026 MB / 0.5318 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.3728, allocations: 0.8893 MB / 0.5327 GB, free: 92 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006844/0.3735, allocations: 412.9 kB / 0.5331 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007324/0.3742, allocations: 452.9 kB / 0.5335 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007594/0.375, allocations: 429.4 kB / 0.5339 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.3751, allocations: 76.5 kB / 0.534 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.3778, allocations: 0.8561 MB / 0.5348 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.378, allocations: 187.9 kB / 0.535 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.3785, allocations: 345 kB / 0.5353 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003595/0.3821, allocations: 1.834 MB / 0.5371 GB, free: 14.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3821, allocations: 0 / 0.5371 GB, free: 14.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3821, allocations: 0 / 0.5371 GB, free: 14.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.3821, allocations: 2.078 kB / 0.5371 GB, free: 14.34 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.002166/0.3843, allocations: 1.096 MB / 0.5382 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3843, allocations: 9.609 kB / 0.5382 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.3845, allocations: 116.5 kB / 0.5383 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006543/0.3851, allocations: 155.2 kB / 0.5385 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.386, allocations: 402.8 kB / 0.5388 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.386, allocations: 54.72 kB / 0.5389 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.3862, allocations: 64.38 kB / 0.539 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.3875, allocations: 0.7616 MB / 0.5397 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.3875, allocations: 3.938 kB / 0.5397 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.3876, allocations: 29.78 kB / 0.5397 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.3876, allocations: 15.84 kB / 0.5397 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.3891, allocations: 0.8632 MB / 0.5406 GB, free: 12.57 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.003851/0.3929, allocations: 1.862 MB / 0.5424 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.3945, allocations: 0.8077 MB / 0.5432 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.3949, allocations: 255.1 kB / 0.5434 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003884/0.3988, allocations: 1.529 MB / 0.5449 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3989, allocations: 37.22 kB / 0.545 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.454e-06/0.3989, allocations: 0 / 0.545 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01557/0.4144, allocations: 2.662 MB / 0.5476 GB, free: 9.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.4145, allocations: 58.94 kB / 0.5476 GB, free: 8.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.4151, allocations: 424 kB / 0.548 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.932e-05/0.4152, allocations: 39.75 kB / 0.5481 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.4155, allocations: 373.8 kB / 0.5484 GB, free: 8.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.4158, allocations: 202.8 kB / 0.5486 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.416, allocations: 148.5 kB / 0.5488 GB, free: 8.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.4162, allocations: 362.8 kB / 0.5491 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.4166, allocations: 205.8 kB / 0.5493 GB, free: 7.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.4172, allocations: 458.9 kB / 0.5497 GB, free: 7.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.4185, allocations: 0.7174 MB / 0.5504 GB, free: 6.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.4185, allocations: 2.469 kB / 0.5504 GB, free: 6.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00502/0.4235, allocations: 1.134 MB / 0.5515 GB, free: 6.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.4236, allocations: 12.23 kB / 0.5516 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.4236, allocations: 8.25 kB / 0.5516 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003566/0.4271, allocations: 435.6 kB / 0.552 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.4278, allocations: 164.1 kB / 0.5521 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008333/0.4362, allocations: 4.405 MB / 0.5564 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.4369, allocations: 24.94 kB / 0.5565 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.437, allocations: 40.73 kB / 0.5565 GB, free: 1.91 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.0005178/0.4376, allocations: 218.8 kB / 0.5567 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.4378, allocations: 54.05 kB / 0.5568 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00566/0.4434, allocations: 1.091 MB / 0.5578 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4434, allocations: 8 kB / 0.5578 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4434, allocations: 0 / 0.5578 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.4435, allocations: 7.922 kB / 0.5578 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006799/0.4503, allocations: 1.697 MB / 0.5595 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.4503, allocations: 0 / 0.5595 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.4507, allocations: 92.11 kB / 0.5596 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004672/0.4553, allocations: 0.5097 MB / 0.5601 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.4554, allocations: 19.98 kB / 0.5601 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009233/0.4647, allocations: 5.577 MB / 0.5656 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.4647, allocations: 4.031 kB / 0.5656 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00596/0.4706, allocations: 1.403 MB / 0.5669 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.4709, allocations: 51.62 kB / 0.567 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.471, allocations: 20.17 kB / 0.567 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.4714, allocations: 12 kB / 0.567 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.4716, allocations: 72.25 kB / 0.5671 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.4716, allocations: 20 kB / 0.5671 GB, free: 6.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003642/0.472, allocations: 271.2 kB / 0.5674 GB, free: 6.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.472, allocations: 3.938 kB / 0.5674 GB, free: 6.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001617/0.4736, allocations: 411 kB / 0.5677 GB, free: 6.168 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.007237/0.4809, allocations: 2.299 MB / 0.57 GB, free: 3.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.4828, allocations: 0.8655 MB / 0.5708 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4828, allocations: 0 / 0.5708 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.4841, allocations: 0.7021 MB / 0.5715 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.4852, allocations: 146.6 kB / 0.5717 GB, free: 2.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.5007, allocations: 6.093 MB / 0.5776 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.5011, allocations: 297.6 kB / 0.5779 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005116/0.5016, allocations: 128.8 kB / 0.578 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/0.5021, allocations: 282.1 kB / 0.5783 GB, free: 10.87 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5021, allocations: 0 / 0.5783 GB, free: 10.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07354/0.5756, allocations: 23.26 MB / 0.601 GB, free: 3.887 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.46, allocations: 3.984 kB / 0.601 GB, free: 3.883 MB / 446.1 MB " [Timeout remaining time 645] (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 os._exit(0), Time elapsed: 17.295582599006593] Failed to read output from testmodel.py, exit status != 0: 14.593736539129168 14.622353198 14.234421594 Calling exit ...