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.001827/0.001827, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002438/0.002438, allocations: 218.4 kB / 23.03 MB, free: 4.945 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1483/0.1483, allocations: 23.91 MB / 337.1 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 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="cs",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.002063/0.002063, allocations: 67.91 kB / 471.9 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 59.86 MB / 0.5193 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.00505/0.3746, allocations: 3.907 MB / 0.5231 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009096/0.3837, allocations: 7.708 MB / 0.5307 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008356/0.3845, allocations: 9.5 kB / 0.5307 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007796/0.3853, allocations: 166.9 kB / 0.5308 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.3882, allocations: 0.7821 MB / 0.5316 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.3915, allocations: 1.03 MB / 0.5326 GB, free: 444 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.3932, allocations: 0.8772 MB / 0.5335 GB, free: 0 / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007994/0.394, allocations: 419 kB / 0.5339 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000775/0.3948, allocations: 452.8 kB / 0.5343 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008407/0.3957, allocations: 488.4 kB / 0.5348 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.3958, allocations: 76.84 kB / 0.5348 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.3994, allocations: 0.8729 MB / 0.5357 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.3996, allocations: 183.5 kB / 0.5359 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005166/0.4001, allocations: 347.6 kB / 0.5362 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004614/0.4047, allocations: 1.839 MB / 0.538 GB, free: 14.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4047, allocations: 0 / 0.538 GB, free: 14.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4047, allocations: 1.375 kB / 0.538 GB, free: 14.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.4047, allocations: 0 / 0.538 GB, free: 14.16 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.002368/0.4071, allocations: 1.093 MB / 0.5391 GB, free: 13.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4072, allocations: 9.531 kB / 0.5391 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.143e-05/0.4072, allocations: 22.5 kB / 0.5391 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.4073, allocations: 111.9 kB / 0.5392 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007095/0.408, allocations: 157.4 kB / 0.5393 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008558/0.4089, allocations: 405.3 kB / 0.5397 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.409, allocations: 54.62 kB / 0.5398 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.4091, allocations: 64.38 kB / 0.5398 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.4105, allocations: 0.7618 MB / 0.5406 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4105, allocations: 0 / 0.5406 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.4106, allocations: 27 kB / 0.5406 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.4106, allocations: 15.47 kB / 0.5406 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.4122, allocations: 0.8833 MB / 0.5415 GB, free: 12.38 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.004123/0.4163, allocations: 1.855 MB / 0.5433 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.418, allocations: 0.8237 MB / 0.5441 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.4184, allocations: 258.3 kB / 0.5444 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004064/0.4225, allocations: 1.514 MB / 0.5458 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.4225, allocations: 41.03 kB / 0.5459 GB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.725e-06/0.4225, allocations: 0 / 0.5459 GB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.0175/0.44, allocations: 2.664 MB / 0.5485 GB, free: 8.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.4401, allocations: 58.06 kB / 0.5485 GB, free: 8.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.4408, allocations: 406.2 kB / 0.5489 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-05/0.4409, allocations: 34.92 kB / 0.549 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.4412, allocations: 379.6 kB / 0.5493 GB, free: 8.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.4414, allocations: 206 kB / 0.5495 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.4417, allocations: 144.1 kB / 0.5496 GB, free: 7.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.4419, allocations: 362.7 kB / 0.55 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.4423, allocations: 206.7 kB / 0.5502 GB, free: 7.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006595/0.4429, allocations: 458.2 kB / 0.5506 GB, free: 7.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.4442, allocations: 0.7211 MB / 0.5513 GB, free: 6.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.4442, allocations: 2.25 kB / 0.5513 GB, free: 6.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005136/0.4494, allocations: 1.137 MB / 0.5524 GB, free: 5.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.4494, allocations: 12.12 kB / 0.5525 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.4494, allocations: 7.844 kB / 0.5525 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003979/0.4534, allocations: 448.6 kB / 0.5529 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.454, allocations: 162.4 kB / 0.553 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008509/0.4625, allocations: 4.391 MB / 0.5573 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007865/0.4633, allocations: 25.47 kB / 0.5574 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.4634, allocations: 36.38 kB / 0.5574 GB, free: 1.762 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.0005522/0.464, allocations: 224.6 kB / 0.5576 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.4643, allocations: 56.25 kB / 0.5577 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006092/0.4703, allocations: 1.085 MB / 0.5587 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.4704, allocations: 4 kB / 0.5587 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.4704, allocations: 4 kB / 0.5587 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.4704, allocations: 7.922 kB / 0.5587 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006995/0.4774, allocations: 1.69 MB / 0.5604 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.4774, allocations: 7.938 kB / 0.5604 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.4778, allocations: 92.11 kB / 0.5605 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005004/0.4828, allocations: 0.5096 MB / 0.561 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.399e-05/0.4828, allocations: 23.98 kB / 0.561 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009266/0.4921, allocations: 5.574 MB / 0.5664 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4921, allocations: 48 / 0.5664 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006211/0.4983, allocations: 1.419 MB / 0.5678 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.4986, allocations: 51.62 kB / 0.5679 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.4987, allocations: 15.94 kB / 0.5679 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.4991, allocations: 23.97 kB / 0.5679 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.4993, allocations: 60.39 kB / 0.568 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.4994, allocations: 20 kB / 0.568 GB, free: 6.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003991/0.4998, allocations: 271.1 kB / 0.5683 GB, free: 6.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4998, allocations: 0 / 0.5683 GB, free: 6.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001784/0.5016, allocations: 403.1 kB / 0.5686 GB, free: 6.082 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.007715/0.5093, allocations: 2.302 MB / 0.5709 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.5113, allocations: 0.8655 MB / 0.5717 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5113, allocations: 0 / 0.5717 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.5125, allocations: 0.7061 MB / 0.5724 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.5136, allocations: 139.8 kB / 0.5726 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/0.5298, allocations: 6.093 MB / 0.5785 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.5304, allocations: 305.6 kB / 0.5788 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005811/0.5309, allocations: 128.8 kB / 0.5789 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/0.5315, allocations: 270.1 kB / 0.5792 GB, free: 10.79 MB / 430.1 MB Notification: Performance of SimCode: time 2.114e-06/0.5315, allocations: 0 / 0.5792 GB, free: 10.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0627/0.5942, allocations: 23.19 MB / 0.6018 GB, free: 3.898 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.37, allocations: 8.062 kB / 0.6018 GB, free: 3.891 MB / 446.1 MB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 19.288945087930188] Failed to read output from testmodel.py, exit status != 0: 16.567475665011443 16.593449726 16.183637613 Calling exit ...