Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.Volume.TestSteamDryer,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestSteamDryer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer,fileNamePrefix="ThermoSysPro_ThermoSysPro_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.7971/0.7971, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.15e-05/1.152e-05, allocations: 0 / 204.9 MB, free: 9.977 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 31.98 MB / 236.8 MB, free: 5.414 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.Examples.Book.SimpleExamples.Volume.TestSteamDryer): time 1.511/1.649, allocations: 295.5 MB / 0.5198 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03802/1.687, allocations: 34.85 MB / 0.5539 GB, free: 9.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/1.688, allocations: 4 kB / 0.5539 GB, free: 9.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/1.688, allocations: 131.3 kB / 0.554 GB, free: 9.535 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/1.688, allocations: 158.7 kB / 0.5541 GB, free: 9.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01694/1.705, allocations: 6.724 MB / 0.5607 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007124/1.706, allocations: 0.5908 MB / 0.5613 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/1.706, allocations: 229.1 kB / 0.5615 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/1.707, allocations: 206.9 kB / 0.5617 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/1.707, allocations: 190.9 kB / 0.5619 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/1.707, allocations: 16 kB / 0.5619 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02495/1.732, allocations: 15.84 MB / 0.5774 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.906e-05/1.732, allocations: 59.66 kB / 0.5774 GB, free: 1.512 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002875/1.732, allocations: 272.3 kB / 0.5777 GB, free: 1.238 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01484/1.747, allocations: 8.034 MB / 0.5855 GB, free: 9.184 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.747, allocations: 0 / 0.5855 GB, free: 9.184 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/1.747, allocations: 0 / 0.5855 GB, free: 9.184 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/1.747, allocations: 4 kB / 0.5855 GB, free: 9.18 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.003589/1.751, allocations: 1.505 MB / 0.587 GB, free: 7.621 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.751, allocations: 12.03 kB / 0.587 GB, free: 7.609 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.093e-05/1.751, allocations: 94.52 kB / 0.5871 GB, free: 7.508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/1.751, allocations: 67.17 kB / 0.5872 GB, free: 7.441 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/1.751, allocations: 290.7 kB / 0.5874 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/1.751, allocations: 41 kB / 0.5875 GB, free: 7.078 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/1.751, allocations: 40 kB / 0.5875 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/1.752, allocations: 0.5962 MB / 0.5881 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/1.752, allocations: 0 / 0.5881 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/1.752, allocations: 16 kB / 0.5881 GB, free: 6.379 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/1.752, allocations: 27.92 kB / 0.5881 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/1.753, allocations: 359.9 kB / 0.5885 GB, free: 6 MB / 478.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.00238/1.755, allocations: 3.515 MB / 0.5919 GB, free: 2.086 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/1.756, allocations: 287.2 kB / 0.5922 GB, free: 1.797 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/1.756, allocations: 181.9 kB / 0.5924 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1577/1.914, allocations: 81.16 MB / 0.6716 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/1.914, allocations: 38.56 kB / 0.6717 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.023e-06/1.914, allocations: 3.938 kB / 0.6717 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002858/1.917, allocations: 1.238 MB / 0.6729 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.917, allocations: 81.11 kB / 0.673 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/1.917, allocations: 286.9 kB / 0.6732 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/1.917, allocations: 29.7 kB / 0.6733 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.917, allocations: 212.9 kB / 0.6735 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/1.917, allocations: 224.5 kB / 0.6737 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/1.917, allocations: 65.67 kB / 0.6737 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.917, allocations: 346.8 kB / 0.6741 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/1.918, allocations: 124.6 kB / 0.6742 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/1.918, allocations: 243.8 kB / 0.6744 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/1.918, allocations: 419.7 kB / 0.6748 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.918, allocations: 3.938 kB / 0.6748 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001081/1.919, allocations: 0.6731 MB / 0.6755 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.919, allocations: 8 kB / 0.6755 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.919, allocations: 4 kB / 0.6755 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/1.921, allocations: 0.786 MB / 0.6763 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.187e-05/1.921, allocations: 7.938 kB / 0.6763 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/1.922, allocations: 2.128 MB / 0.6783 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/1.923, allocations: 51.28 kB / 0.6784 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/1.923, allocations: 16.17 kB / 0.6784 GB, free: 320 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (sink.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,sourceQ.C.b,steamDryer.Csl.b,steamDryer.Csv.b,steamDryer.Cev.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * 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.0001803/1.923, allocations: 186.2 kB / 0.6786 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/1.923, allocations: 39.52 kB / 0.6786 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/1.924, allocations: 1.182 MB / 0.6798 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001153/1.926, allocations: 0.8732 MB / 0.6806 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.926, allocations: 0 / 0.6806 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/1.926, allocations: 3.984 kB / 0.6806 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/1.928, allocations: 1.99 MB / 0.6826 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/1.928, allocations: 7.984 kB / 0.6826 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/1.928, allocations: 55.92 kB / 0.6826 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/1.929, allocations: 0.8155 MB / 0.6834 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/1.929, allocations: 20 kB / 0.6835 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/1.931, allocations: 2.195 MB / 0.6856 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.931, allocations: 0 / 0.6856 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/1.932, allocations: 1.021 MB / 0.6866 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/1.932, allocations: 180 kB / 0.6868 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/1.932, allocations: 15.94 kB / 0.6868 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/1.933, allocations: 15.94 kB / 0.6868 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/1.933, allocations: 32.52 kB / 0.6868 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/1.933, allocations: 23.92 kB / 0.6869 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000157/1.933, allocations: 198 kB / 0.687 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.933, allocations: 0 / 0.687 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002511/1.935, allocations: 1.159 MB / 0.6882 GB, free: 6.07 MB / 0.5762 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 (45): * Single equations (assignments): 42 * 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.005324/1.941, allocations: 3.109 MB / 0.6912 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001228/1.942, allocations: 0.7641 MB / 0.692 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.942, allocations: 0 / 0.692 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007736/1.943, allocations: 446.9 kB / 0.6924 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/1.944, allocations: 227.3 kB / 0.6926 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1555/2.099, allocations: 5.039 MB / 0.6975 GB, free: 225 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/2.1, allocations: 0.9155 MB / 0.6984 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001889/2.1, allocations: 40.64 kB / 0.6984 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/2.1, allocations: 217.3 kB / 0.6987 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/2.1, allocations: 0 / 0.6987 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06355/2.164, allocations: 52.16 MB / 0.7496 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/2.164, allocations: 239.1 kB / 0.7498 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.977/6.141, allocations: 4 kB / 0.7498 GB, free: 195.9 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestSteamDryer_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestSteamDryer.fmu > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe 2>&1)