Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.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.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_IF97",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_IF97",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.8466/0.8466, allocations: 150.9 MB / 166 MB, free: 14.58 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003095, allocations: 15.97 kB / 204.1 MB, free: 9.992 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1501, allocations: 31.33 MB / 235.4 MB, free: 5.422 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97): time 1.571/1.721, allocations: 294.7 MB / 0.5178 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1946/1.915, allocations: 187.7 MB / 0.701 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004277/1.916, allocations: 4 kB / 0.701 GB, free: 484 kB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:29:3-31:42:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:32:3-34:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:35:3-37:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:38:3-40:37:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004543/1.916, allocations: 120.1 kB / 0.7012 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003881/1.917, allocations: 166.7 kB / 0.7013 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3562/2.273, allocations: 8.694 MB / 0.7098 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009925/2.274, allocations: 0.7125 MB / 0.7105 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/2.274, allocations: 248.1 kB / 0.7107 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/2.275, allocations: 269.9 kB / 0.711 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/2.275, allocations: 258.3 kB / 0.7112 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/2.275, allocations: 29.12 kB / 0.7113 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03328/2.308, allocations: 20.07 MB / 0.7309 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/2.308, allocations: 94.56 kB / 0.731 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005172/2.309, allocations: 284.7 kB / 0.7312 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02397/2.333, allocations: 10.1 MB / 0.7411 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/2.333, allocations: 0 / 0.7411 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.405e-06/2.333, allocations: 3.984 kB / 0.7411 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.448e-06/2.333, allocations: 3.875 kB / 0.7411 GB, free: 0.707 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.004847/2.338, allocations: 1.97 MB / 0.743 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/2.338, allocations: 10.62 kB / 0.743 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.582e-05/2.338, allocations: 99.84 kB / 0.7431 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.483e-05/2.338, allocations: 64.56 kB / 0.7432 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/2.338, allocations: 340.3 kB / 0.7435 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/2.339, allocations: 33.62 kB / 0.7435 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/2.339, allocations: 47.55 kB / 0.7436 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/2.339, allocations: 0.6181 MB / 0.7442 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/2.339, allocations: 1.094 kB / 0.7442 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/2.339, allocations: 23.55 kB / 0.7442 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/2.339, allocations: 26.67 kB / 0.7442 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/2.34, allocations: 395.2 kB / 0.7446 GB, free: 14.77 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.01919/2.359, allocations: 12.13 MB / 0.7565 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/2.36, allocations: 281.8 kB / 0.7567 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/2.36, allocations: 178.2 kB / 0.7569 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2795/2.64, allocations: 150.4 MB / 0.9038 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/2.64, allocations: 49.86 kB / 0.9039 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 2.384e-06/2.64, allocations: 0 / 0.9039 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.002758/2.642, allocations: 0.892 MB / 0.9047 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/2.643, allocations: 82.31 kB / 0.9048 GB, free: 5.434 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/2.643, allocations: 378 kB / 0.9052 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/2.643, allocations: 36.11 kB / 0.9052 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/2.643, allocations: 259.6 kB / 0.9054 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/2.643, allocations: 220.8 kB / 0.9057 GB, free: 4.703 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/2.643, allocations: 104.9 kB / 0.9058 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001374/2.644, allocations: 363.6 kB / 0.9061 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/2.644, allocations: 148.9 kB / 0.9062 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/2.644, allocations: 303.1 kB / 0.9065 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000703/2.645, allocations: 0.4933 MB / 0.907 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/2.645, allocations: 0 / 0.907 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001148/2.646, allocations: 0.6709 MB / 0.9077 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/2.646, allocations: 8 kB / 0.9077 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/2.646, allocations: 7.938 kB / 0.9077 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/2.648, allocations: 0.498 MB / 0.9082 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/2.648, allocations: 37.8 kB / 0.9082 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008906/2.649, allocations: 0.8972 MB / 0.9091 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/2.65, allocations: 66.31 kB / 0.9092 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/2.65, allocations: 20.95 kB / 0.9092 GB, free: 1.73 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 (perteDP1.C2.b,perteDP1.C1.a,perteDP.C2.b,perteDP.C1.a,volumeD.Cs3.b,volumeD.Cs2.b,volumeD.Cs1.b,volumeD.Ce.a,sourceP.C.b,puitsP.C.a,volumeD.Cs2.a,volumeD.Cs1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002067/2.65, allocations: 176.5 kB / 0.9093 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/2.65, allocations: 43.44 kB / 0.9094 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/2.652, allocations: 1.349 MB / 0.9107 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00114/2.653, allocations: 0.7097 MB / 0.9114 GB, free: 140 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/2.653, allocations: 0 / 0.9114 GB, free: 140 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/2.653, allocations: 3.984 kB / 0.9114 GB, free: 136 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/2.655, allocations: 1.776 MB / 0.9131 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/2.655, allocations: 2.812 kB / 0.9131 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/2.656, allocations: 82.53 kB / 0.9132 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/2.657, allocations: 399.4 kB / 0.9136 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/2.657, allocations: 12.94 kB / 0.9136 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000901/2.658, allocations: 0.8486 MB / 0.9144 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/2.658, allocations: 3.984 kB / 0.9144 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/2.66, allocations: 1.129 MB / 0.9155 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/2.66, allocations: 177.3 kB / 0.9157 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-05/2.66, allocations: 14.94 kB / 0.9157 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/2.66, allocations: 30.39 kB / 0.9158 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/2.661, allocations: 35.95 kB / 0.9158 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/2.661, allocations: 23.48 kB / 0.9158 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000295/2.661, allocations: 285.4 kB / 0.9161 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.223e-06/2.661, allocations: 0 / 0.9161 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004906/2.666, allocations: 1.56 MB / 0.9176 GB, free: 10.88 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (volumeD.h) * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01193/2.678, allocations: 3.933 MB / 0.9214 GB, free: 7.625 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001663/2.68, allocations: 0.7246 MB / 0.9222 GB, free: 7.074 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/2.68, allocations: 256 / 0.9222 GB, free: 7.074 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008121/2.68, allocations: 350.1 kB / 0.9225 GB, free: 6.836 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/2.682, allocations: 258.4 kB / 0.9227 GB, free: 6.617 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/2.694, allocations: 5.528 MB / 0.9281 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/2.694, allocations: 0.9283 MB / 0.929 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003411/2.695, allocations: 64.16 kB / 0.9291 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/2.695, allocations: 260.4 kB / 0.9293 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/2.695, allocations: 0 / 0.9293 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2774/2.973, allocations: 62.74 MB / 0.9906 GB, free: 450.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/2.973, allocations: 299.3 kB / 0.9909 GB, free: 449.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.603/7.576, allocations: 1.312 kB / 0.9909 GB, free: 449.9 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_IF97_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_IF97.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.pipe 2>&1)