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: translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7854/0.7854, allocations: 150.9 MB / 166 MB, free: 14.63 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002871, allocations: 15.97 kB / 204 MB, free: 10.11 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 31.33 MB / 235.4 MB, free: 5.461 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.531/1.667, allocations: 293.8 MB / 0.5167 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1894/1.857, allocations: 187.7 MB / 0.7 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003304/1.857, allocations: 4 kB / 0.7 GB, free: 0.6328 MB / 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.0003948/1.858, allocations: 113.4 kB / 0.7001 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/1.858, allocations: 178.6 kB / 0.7003 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.283/2.141, allocations: 8.692 MB / 0.7088 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009734/2.142, allocations: 0.7091 MB / 0.7095 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/2.142, allocations: 249.4 kB / 0.7097 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/2.143, allocations: 269.1 kB / 0.71 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/2.143, allocations: 259.4 kB / 0.7102 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.232e-05/2.143, allocations: 30.38 kB / 0.7102 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03092/2.174, allocations: 20.07 MB / 0.7298 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/2.174, allocations: 90.28 kB / 0.7299 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004659/2.175, allocations: 284.9 kB / 0.7302 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01967/2.194, allocations: 10.11 MB / 0.7401 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/2.194, allocations: 3.094 kB / 0.7401 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/2.194, allocations: 0 / 0.7401 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.993e-05/2.195, allocations: 0 / 0.7401 GB, free: 0.9023 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.00507/2.2, allocations: 1.979 MB / 0.742 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/2.2, allocations: 8.625 kB / 0.742 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/2.2, allocations: 65.81 kB / 0.7421 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/2.2, allocations: 336.8 kB / 0.7424 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/2.2, allocations: 34.25 kB / 0.7424 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/2.2, allocations: 43.06 kB / 0.7425 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/2.201, allocations: 0.6216 MB / 0.7431 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/2.201, allocations: 5.094 kB / 0.7431 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/2.201, allocations: 20.38 kB / 0.7431 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/2.201, allocations: 24.69 kB / 0.7431 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/2.202, allocations: 399.3 kB / 0.7435 GB, free: 15.02 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.02031/2.222, allocations: 12.12 MB / 0.7553 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/2.223, allocations: 275.7 kB / 0.7556 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/2.223, allocations: 185.9 kB / 0.7558 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2849/2.508, allocations: 150.4 MB / 0.9027 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.603e-05/2.508, allocations: 38.5 kB / 0.9027 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 3.045e-06/2.508, allocations: 5.094 kB / 0.9027 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.002815/2.511, allocations: 0.9016 MB / 0.9036 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/2.511, allocations: 85.11 kB / 0.9037 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/2.511, allocations: 385.1 kB / 0.9041 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/2.511, allocations: 29.52 kB / 0.9041 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/2.512, allocations: 251.2 kB / 0.9043 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/2.512, allocations: 230.5 kB / 0.9045 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/2.512, allocations: 101.3 kB / 0.9046 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001798/2.512, allocations: 360.7 kB / 0.905 GB, free: 4.582 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/2.512, allocations: 156.3 kB / 0.9051 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/2.513, allocations: 305.6 kB / 0.9054 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/2.514, allocations: 497.2 kB / 0.9059 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/2.514, allocations: 4 kB / 0.9059 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001076/2.515, allocations: 0.6661 MB / 0.9066 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/2.515, allocations: 8 kB / 0.9066 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/2.515, allocations: 4 kB / 0.9066 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/2.517, allocations: 0.4982 MB / 0.9071 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/2.517, allocations: 49.31 kB / 0.9071 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008964/2.518, allocations: 0.8826 MB / 0.908 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/2.518, allocations: 78.09 kB / 0.908 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/2.518, allocations: 19.69 kB / 0.9081 GB, free: 2.02 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.0002056/2.518, allocations: 172.7 kB / 0.9082 GB, free: 1.875 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/2.518, allocations: 43.44 kB / 0.9083 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/2.52, allocations: 1.35 MB / 0.9096 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001163/2.521, allocations: 0.7098 MB / 0.9103 GB, free: 440 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/2.521, allocations: 0 / 0.9103 GB, free: 440 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/2.521, allocations: 1.203 kB / 0.9103 GB, free: 440 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/2.524, allocations: 1.776 MB / 0.912 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/2.524, allocations: 0 / 0.912 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/2.524, allocations: 82.27 kB / 0.9121 GB, free: 15 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001377/2.526, allocations: 410.6 kB / 0.9125 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/2.526, allocations: 11.86 kB / 0.9125 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008039/2.526, allocations: 0.8459 MB / 0.9133 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/2.526, allocations: 4 kB / 0.9133 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/2.528, allocations: 1.14 MB / 0.9144 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/2.528, allocations: 170.1 kB / 0.9146 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/2.528, allocations: 18.06 kB / 0.9146 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/2.529, allocations: 26.89 kB / 0.9146 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/2.529, allocations: 36.27 kB / 0.9147 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/2.529, allocations: 19 kB / 0.9147 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002901/2.529, allocations: 287.3 kB / 0.915 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.51e-07/2.529, allocations: 4.062 kB / 0.915 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004056/2.533, allocations: 1.56 MB / 0.9165 GB, free: 11.17 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.006561/2.54, allocations: 2.342 MB / 0.9188 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001343/2.541, allocations: 0.7232 MB / 0.9195 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/2.541, allocations: 0.9375 kB / 0.9195 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006436/2.542, allocations: 356 kB / 0.9198 GB, free: 8.379 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/2.543, allocations: 254.8 kB / 0.9201 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/2.545, allocations: 1.529 MB / 0.9216 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/2.545, allocations: 0.9283 MB / 0.9225 GB, free: 5.82 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002519/2.546, allocations: 63.67 kB / 0.9225 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/2.546, allocations: 47.44 kB / 0.9226 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of SimCode: time 2.3e-07/2.546, allocations: 0 / 0.9226 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of Templates: time 0.06836/2.614, allocations: 53.68 MB / 0.975 GB, free: 324 kB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.makefile (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 & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_IF97.pipe 2>&1)