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.925/0.925, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002864, allocations: 11.97 kB / 204.7 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1648, allocations: 31.32 MB / 236 MB, free: 3.863 MB / 186.7 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.608/1.773, allocations: 293.1 MB / 0.5167 GB, free: 8.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.5367/2.31, allocations: 187.7 MB / 0.7 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/2.31, allocations: 3.531 kB / 0.7 GB, free: 1.535 MB / 0.5573 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.0004301/2.311, allocations: 112.6 kB / 0.7001 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/2.311, allocations: 180.2 kB / 0.7003 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02652/2.338, allocations: 8.708 MB / 0.7088 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009879/2.339, allocations: 0.7214 MB / 0.7095 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/2.339, allocations: 245.9 kB / 0.7097 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/2.34, allocations: 272.4 kB / 0.71 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/2.34, allocations: 259.7 kB / 0.7102 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/2.34, allocations: 27.88 kB / 0.7102 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03751/2.377, allocations: 20.11 MB / 0.7299 GB, free: 13.45 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002179/2.378, allocations: 96.81 kB / 0.73 GB, free: 13.43 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005808/2.378, allocations: 281.2 kB / 0.7302 GB, free: 13.42 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02665/2.405, allocations: 10.1 MB / 0.7401 GB, free: 9.301 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/2.405, allocations: 0 / 0.7401 GB, free: 9.301 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.383e-06/2.405, allocations: 0 / 0.7401 GB, free: 9.301 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.184e-05/2.405, allocations: 0 / 0.7401 GB, free: 9.301 MB / 0.573 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.005662/2.411, allocations: 1.968 MB / 0.742 GB, free: 8.051 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/2.411, allocations: 12.62 kB / 0.742 GB, free: 8.051 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/2.411, allocations: 68.81 kB / 0.7421 GB, free: 8.016 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/2.411, allocations: 337.2 kB / 0.7424 GB, free: 7.73 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/2.411, allocations: 37.66 kB / 0.7425 GB, free: 7.727 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/2.411, allocations: 45.16 kB / 0.7425 GB, free: 7.723 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008798/2.412, allocations: 0.616 MB / 0.7431 GB, free: 7.441 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/2.412, allocations: 3.938 kB / 0.7431 GB, free: 7.438 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/2.412, allocations: 18.56 kB / 0.7431 GB, free: 7.438 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/2.412, allocations: 23.89 kB / 0.7431 GB, free: 7.434 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/2.413, allocations: 400.5 kB / 0.7435 GB, free: 7.363 MB / 0.573 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.02161/2.435, allocations: 12.13 MB / 0.7554 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/2.435, allocations: 279.3 kB / 0.7556 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/2.436, allocations: 186.7 kB / 0.7558 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3116/2.747, allocations: 150.4 MB / 0.9027 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/2.747, allocations: 40.58 kB / 0.9028 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=67): time 2.514e-06/2.747, allocations: 3.938 kB / 0.9028 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67): time 0.002738/2.75, allocations: 0.8945 MB / 0.9036 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/2.75, allocations: 85.09 kB / 0.9037 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/2.751, allocations: 373.5 kB / 0.9041 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/2.751, allocations: 33.69 kB / 0.9041 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/2.751, allocations: 263.4 kB / 0.9044 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/2.751, allocations: 226.1 kB / 0.9046 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/2.751, allocations: 109.9 kB / 0.9047 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001299/2.751, allocations: 355.9 kB / 0.905 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/2.752, allocations: 145.3 kB / 0.9052 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/2.752, allocations: 304.7 kB / 0.9054 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/2.753, allocations: 0.4913 MB / 0.9059 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/2.753, allocations: 4 kB / 0.9059 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00108/2.754, allocations: 0.6609 MB / 0.9066 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/2.754, allocations: 8 kB / 0.9066 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/2.754, allocations: 5.406 kB / 0.9066 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/2.756, allocations: 0.5005 MB / 0.9071 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/2.756, allocations: 47.91 kB / 0.9071 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008729/2.757, allocations: 0.89 MB / 0.908 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/2.757, allocations: 67.2 kB / 0.9081 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/2.757, allocations: 20 kB / 0.9081 GB, free: 4.441 MB / 0.7448 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.0001883/2.757, allocations: 177.7 kB / 0.9082 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/2.757, allocations: 43.44 kB / 0.9083 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/2.759, allocations: 1.35 MB / 0.9096 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001246/2.76, allocations: 0.7072 MB / 0.9103 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/2.76, allocations: 1.203 kB / 0.9103 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/2.76, allocations: 7.984 kB / 0.9103 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/2.763, allocations: 1.772 MB / 0.912 GB, free: 296 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/2.763, allocations: 0 / 0.912 GB, free: 296 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/2.763, allocations: 83.89 kB / 0.9121 GB, free: 212 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/2.764, allocations: 415.8 kB / 0.9125 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/2.764, allocations: 12 kB / 0.9125 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000711/2.765, allocations: 0.8422 MB / 0.9133 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/2.765, allocations: 0 / 0.9133 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02503/2.79, allocations: 12.27 MB / 0.9253 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/2.79, allocations: 176.2 kB / 0.9255 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/2.791, allocations: 20 kB / 0.9255 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/2.791, allocations: 35.83 kB / 0.9255 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/2.791, allocations: 36.5 kB / 0.9256 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/2.791, allocations: 16 kB / 0.9256 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002955/2.791, allocations: 283.2 kB / 0.9259 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.1e-07/2.791, allocations: 0 / 0.9259 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006871/2.798, allocations: 2.662 MB / 0.9285 GB, free: 15.1 MB / 0.7761 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.01219/2.81, allocations: 3.344 MB / 0.9317 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001615/2.812, allocations: 0.7176 MB / 0.9324 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/2.812, allocations: 4.938 kB / 0.9324 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007214/2.813, allocations: 357.5 kB / 0.9328 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/2.814, allocations: 249.2 kB / 0.933 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/2.817, allocations: 2.316 MB / 0.9353 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/2.818, allocations: 0.9639 MB / 0.9362 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003346/2.818, allocations: 76.14 kB / 0.9363 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/2.818, allocations: 48.64 kB / 0.9363 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/2.818, allocations: 0 / 0.9363 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of Templates: time 0.2754/3.094, allocations: 79.34 MB / 1.014 GB, free: 408.7 MB / 0.7917 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)