Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.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.SimpleExamples.TestSteamDryer2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamDryer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamDryer2",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.7936/0.7936, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.899e-05, allocations: 4 kB / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 31.99 MB / 236.8 MB, free: 5.375 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.SimpleExamples.TestSteamDryer2): time 1.511/1.645, allocations: 295.5 MB / 0.5199 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03665/1.682, allocations: 34.84 MB / 0.5539 GB, free: 9.598 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/1.682, allocations: 4 kB / 0.5539 GB, free: 9.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/1.683, allocations: 139.2 kB / 0.5541 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/1.683, allocations: 162.7 kB / 0.5542 GB, free: 9.297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01673/1.7, allocations: 6.726 MB / 0.5608 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006514/1.7, allocations: 0.5869 MB / 0.5614 GB, free: 1.977 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/1.701, allocations: 228.3 kB / 0.5616 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/1.701, allocations: 202.9 kB / 0.5618 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/1.701, allocations: 194.9 kB / 0.562 GB, free: 1.371 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/1.701, allocations: 16 kB / 0.562 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02379/1.725, allocations: 15.84 MB / 0.5774 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.984e-05/1.725, allocations: 71.64 kB / 0.5775 GB, free: 1.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/1.725, allocations: 264.3 kB / 0.5778 GB, free: 1.164 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/1.739, allocations: 8.034 MB / 0.5856 GB, free: 9.109 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.739, allocations: 4 kB / 0.5856 GB, free: 9.105 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.225e-06/1.739, allocations: 4 kB / 0.5856 GB, free: 9.102 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/1.739, allocations: 0 / 0.5856 GB, free: 9.102 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.00355/1.743, allocations: 1.505 MB / 0.5871 GB, free: 7.547 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/1.743, allocations: 8.031 kB / 0.5871 GB, free: 7.539 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.397e-05/1.743, allocations: 98.5 kB / 0.5872 GB, free: 7.434 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/1.743, allocations: 67.19 kB / 0.5873 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/1.743, allocations: 294.6 kB / 0.5875 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/1.743, allocations: 41 kB / 0.5876 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/1.743, allocations: 40 kB / 0.5876 GB, free: 6.961 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007834/1.744, allocations: 0.5806 MB / 0.5882 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.744, allocations: 7.938 kB / 0.5882 GB, free: 6.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/1.744, allocations: 23.94 kB / 0.5882 GB, free: 6.297 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/1.744, allocations: 23.92 kB / 0.5882 GB, free: 6.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/1.745, allocations: 358.2 kB / 0.5886 GB, free: 5.93 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.002349/1.747, allocations: 3.507 MB / 0.592 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/1.747, allocations: 300 kB / 0.5923 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/1.748, allocations: 185.9 kB / 0.5925 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1592/1.907, allocations: 81.17 MB / 0.6717 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.907, allocations: 34.56 kB / 0.6718 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.425e-06/1.907, allocations: 0 / 0.6718 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002881/1.91, allocations: 1.226 MB / 0.673 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.91, allocations: 93.09 kB / 0.673 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/1.91, allocations: 282.9 kB / 0.6733 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/1.91, allocations: 29.7 kB / 0.6733 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/1.91, allocations: 216.9 kB / 0.6736 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/1.911, allocations: 224.5 kB / 0.6738 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/1.911, allocations: 57.69 kB / 0.6738 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.911, allocations: 354.8 kB / 0.6742 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/1.911, allocations: 128.6 kB / 0.6743 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/1.911, allocations: 243.8 kB / 0.6745 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/1.912, allocations: 419.7 kB / 0.6749 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.912, allocations: 0 / 0.6749 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001077/1.913, allocations: 0.677 MB / 0.6756 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/1.913, allocations: 8 kB / 0.6756 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.913, allocations: 0 / 0.6756 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/1.914, allocations: 0.7851 MB / 0.6763 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.202e-05/1.914, allocations: 11.92 kB / 0.6764 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/1.916, allocations: 2.12 MB / 0.6784 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/1.916, allocations: 59.27 kB / 0.6785 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/1.916, allocations: 12.19 kB / 0.6785 GB, free: 248 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.0001795/1.916, allocations: 179.3 kB / 0.6787 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/1.916, allocations: 39.53 kB / 0.6787 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/1.918, allocations: 1.182 MB / 0.6799 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001187/1.919, allocations: 0.8732 MB / 0.6807 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.919, allocations: 0 / 0.6807 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.919, allocations: 3.984 kB / 0.6807 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/1.922, allocations: 1.994 MB / 0.6827 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.922, allocations: 0 / 0.6827 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/1.922, allocations: 63.91 kB / 0.6827 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/1.923, allocations: 0.8156 MB / 0.6835 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/1.923, allocations: 20 kB / 0.6835 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/1.925, allocations: 2.201 MB / 0.6857 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.925, allocations: 0 / 0.6857 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/1.926, allocations: 1.025 MB / 0.6867 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/1.926, allocations: 168.2 kB / 0.6869 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/1.926, allocations: 12 kB / 0.6869 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/1.926, allocations: 31.77 kB / 0.6869 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/1.926, allocations: 32.52 kB / 0.6869 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/1.926, allocations: 19.94 kB / 0.6869 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001638/1.927, allocations: 198 kB / 0.6871 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.927, allocations: 0 / 0.6871 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002571/1.929, allocations: 1.159 MB / 0.6883 GB, free: 5.996 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.005356/1.935, allocations: 3.109 MB / 0.6913 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001242/1.936, allocations: 0.7641 MB / 0.692 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.936, allocations: 0 / 0.692 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007796/1.937, allocations: 446.9 kB / 0.6925 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/1.938, allocations: 223.4 kB / 0.6927 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1524/2.09, allocations: 5.044 MB / 0.6976 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/2.09, allocations: 0.9166 MB / 0.6985 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001789/2.091, allocations: 38.53 kB / 0.6985 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/2.091, allocations: 218.4 kB / 0.6988 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/2.091, allocations: 0 / 0.6988 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06433/2.155, allocations: 52.15 MB / 0.7497 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001301/2.155, allocations: 242.8 kB / 0.7499 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.062/6.218, allocations: 0 / 0.7499 GB, free: 195.9 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamDryer2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamDryer2.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe 2>&1)