Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestSteamDryer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestSteamDryer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8041/0.8041, allocations: 150.8 MB / 166.1 MB, free: 15.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.03e-05/1.032e-05, allocations: 4 kB / 204.9 MB, free: 9.973 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1644, allocations: 31.99 MB / 236.9 MB, free: 5.426 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer): time 1.607/1.771, allocations: 296.4 MB / 0.5208 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4846/2.256, allocations: 190.4 MB / 0.7067 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005655/2.256, allocations: 10.72 kB / 0.7067 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000408/2.257, allocations: 150.3 kB / 0.7069 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005567/2.257, allocations: 261.9 kB / 0.7071 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02471/2.282, allocations: 9.658 MB / 0.7165 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00119/2.283, allocations: 0.9948 MB / 0.7175 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/2.284, allocations: 497.8 kB / 0.718 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004182/2.284, allocations: 348.5 kB / 0.7183 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003622/2.285, allocations: 387.7 kB / 0.7187 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.348e-05/2.285, allocations: 43.81 kB / 0.7187 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02945/2.314, allocations: 18.11 MB / 0.7364 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002224/2.314, allocations: 145.4 kB / 0.7366 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006515/2.315, allocations: 468.4 kB / 0.737 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0199/2.335, allocations: 9.822 MB / 0.7466 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/2.335, allocations: 6.219 kB / 0.7466 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 1.674e-06/2.335, allocations: 64 / 0.7466 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 1.094e-05/2.335, allocations: 2.844 kB / 0.7466 GB, free: 0 / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004627/2.34, allocations: 2.027 MB / 0.7486 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/2.34, allocations: 12.02 kB / 0.7486 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/2.34, allocations: 160.6 kB / 0.7488 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/2.34, allocations: 112.9 kB / 0.7489 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/2.341, allocations: 476.2 kB / 0.7493 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/2.341, allocations: 76 kB / 0.7494 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/2.341, allocations: 89.94 kB / 0.7495 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/2.342, allocations: 1.048 MB / 0.7505 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/2.342, allocations: 0 / 0.7505 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/2.342, allocations: 49.91 kB / 0.7505 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/2.342, allocations: 29 kB / 0.7506 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000978/2.343, allocations: 0.6853 MB / 0.7512 GB, free: 13.73 MB / 0.5919 GB 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.07069/2.414, allocations: 37.7 MB / 0.7881 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009949/2.415, allocations: 0.8501 MB / 0.7889 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/2.415, allocations: 213.6 kB / 0.7891 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.712/3.127, allocations: 338.9 MB / 1.12 GB, free: 322.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/3.127, allocations: 34.44 kB / 1.12 GB, free: 322.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 2.295e-06/3.127, allocations: 0 / 1.12 GB, free: 322.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.002823/3.13, allocations: 1.292 MB / 1.121 GB, free: 321.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/3.13, allocations: 81.11 kB / 1.121 GB, free: 321.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/3.131, allocations: 497.4 kB / 1.122 GB, free: 321.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/3.131, allocations: 33.64 kB / 1.122 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/3.131, allocations: 466.4 kB / 1.122 GB, free: 320.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/3.131, allocations: 179 kB / 1.123 GB, free: 320.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/3.131, allocations: 85.16 kB / 1.123 GB, free: 320.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/3.131, allocations: 362.3 kB / 1.123 GB, free: 320.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/3.131, allocations: 188.3 kB / 1.123 GB, free: 320.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/3.132, allocations: 473.6 kB / 1.124 GB, free: 319.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/3.132, allocations: 0.694 MB / 1.124 GB, free: 319.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/3.132, allocations: 4 kB / 1.124 GB, free: 319.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001516/3.134, allocations: 0.9754 MB / 1.125 GB, free: 318.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/3.134, allocations: 8 kB / 1.125 GB, free: 318.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/3.134, allocations: 12 kB / 1.125 GB, free: 318.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/3.135, allocations: 0.6075 MB / 1.126 GB, free: 317.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/3.135, allocations: 87.78 kB / 1.126 GB, free: 317.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009981/3.136, allocations: 1.997 MB / 1.128 GB, free: 315.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/3.137, allocations: 105.2 kB / 1.128 GB, free: 315.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/3.137, allocations: 39.86 kB / 1.128 GB, free: 315.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 19 (steamDryer.Csl.ftype,steamDryer.Csv.ftype,sourceQ.C.ftype,steamDryer.fluids[1],singularPressureLoss2.fluid,sinkP.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,sink.fluid,sourceQ.fluid1,steamDryer.Csl.diff_on_2,steamDryer.Csl.diff_on_1,singularPressureLoss3.C2.diff_on_1,steamDryer.Csv.diff_on_2,steamDryer.Csv.diff_on_1,singularPressureLoss1.C2.diff_on_1,steamDryer.Cev.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss2.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002416/3.137, allocations: 222.8 kB / 1.128 GB, free: 315.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/3.137, allocations: 55.25 kB / 1.128 GB, free: 315.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/3.138, allocations: 0.8465 MB / 1.129 GB, free: 314.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009209/3.139, allocations: 0.6542 MB / 1.13 GB, free: 314.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/3.139, allocations: 4 kB / 1.13 GB, free: 314.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/3.139, allocations: 3.984 kB / 1.13 GB, free: 314.4 MB / 0.8106 GB 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 postOpt removeSimpleEquations (simulation): time 0.001999/3.141, allocations: 1.807 MB / 1.132 GB, free: 313 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/3.141, allocations: 4 kB / 1.132 GB, free: 313 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/3.141, allocations: 36.48 kB / 1.132 GB, free: 313 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008592/3.142, allocations: 0.614 MB / 1.132 GB, free: 312.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/3.142, allocations: 15.55 kB / 1.132 GB, free: 312.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009078/3.143, allocations: 1.983 MB / 1.134 GB, free: 310.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/3.143, allocations: 0 / 1.134 GB, free: 310.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/3.144, allocations: 0.8038 MB / 1.135 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/3.144, allocations: 178.7 kB / 1.135 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/3.144, allocations: 15.81 kB / 1.135 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/3.145, allocations: 39.89 kB / 1.135 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/3.145, allocations: 27.91 kB / 1.135 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/3.145, allocations: 8 kB / 1.135 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002735/3.145, allocations: 321.2 kB / 1.135 GB, free: 309.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/3.145, allocations: 4.844 kB / 1.135 GB, free: 309.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003232/3.148, allocations: 1.459 MB / 1.137 GB, free: 308.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (24): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006675/3.155, allocations: 3.319 MB / 1.14 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009023/3.156, allocations: 0.636 MB / 1.141 GB, free: 305 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/3.156, allocations: 0 / 1.141 GB, free: 305 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004199/3.156, allocations: 323 kB / 1.141 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008783/3.157, allocations: 189 kB / 1.141 GB, free: 304.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007712/3.165, allocations: 6.529 MB / 1.148 GB, free: 298 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/3.165, allocations: 0.9578 MB / 1.149 GB, free: 297 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002855/3.166, allocations: 94.7 kB / 1.149 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/3.166, allocations: 300.2 kB / 1.149 GB, free: 296.7 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/3.166, allocations: 0 / 1.149 GB, free: 296.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6412/3.807, allocations: 57.01 MB / 1.205 GB, free: 240.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/3.807, allocations: 293.4 kB / 1.205 GB, free: 240.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.716/10.52, allocations: 5.906 kB / 1.205 GB, free: 240.4 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestSteamDryer_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestSteamDryer.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe 2>&1)