Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial.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_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7955/0.7955, 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.0002903/0.0002907, allocations: 15.98 kB / 204.7 MB, free: 6.16 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 31.33 MB / 236 MB, free: 3.887 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_polynomial): time 1.617/1.79, allocations: 293.1 MB / 0.5167 GB, free: 8.918 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.5497/2.34, allocations: 187.7 MB / 0.7 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/2.34, allocations: 8.438 kB / 0.7 GB, free: 1.562 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.0004118/2.341, allocations: 114.6 kB / 0.7001 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000358/2.341, allocations: 174.1 kB / 0.7002 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02503/2.366, allocations: 8.705 MB / 0.7087 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009448/2.367, allocations: 0.721 MB / 0.7095 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/2.367, allocations: 251.7 kB / 0.7097 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003973/2.368, allocations: 264.5 kB / 0.7099 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/2.368, allocations: 264.8 kB / 0.7102 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/2.368, allocations: 27.5 kB / 0.7102 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.037/2.405, allocations: 20.08 MB / 0.7298 GB, free: 13.38 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/2.405, allocations: 95.39 kB / 0.7299 GB, free: 13.36 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004779/2.406, allocations: 287.6 kB / 0.7302 GB, free: 13.34 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02237/2.428, allocations: 10.1 MB / 0.7401 GB, free: 9.227 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/2.428, allocations: 1.094 kB / 0.7401 GB, free: 9.227 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.172e-06/2.428, allocations: 6.781 kB / 0.7401 GB, free: 9.223 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.05e-05/2.428, allocations: 0 / 0.7401 GB, free: 9.223 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.005556/2.434, allocations: 1.974 MB / 0.742 GB, free: 7.969 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/2.434, allocations: 9.969 kB / 0.742 GB, free: 7.969 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/2.434, allocations: 65.56 kB / 0.7421 GB, free: 7.934 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/2.435, allocations: 335.3 kB / 0.7424 GB, free: 7.648 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/2.435, allocations: 32.06 kB / 0.7424 GB, free: 7.648 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/2.435, allocations: 47.81 kB / 0.7425 GB, free: 7.645 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000927/2.436, allocations: 0.6175 MB / 0.7431 GB, free: 7.359 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/2.436, allocations: 2.531 kB / 0.7431 GB, free: 7.359 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/2.436, allocations: 19.16 kB / 0.7431 GB, free: 7.359 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/2.436, allocations: 23.45 kB / 0.7431 GB, free: 7.355 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000689/2.437, allocations: 400 kB / 0.7435 GB, free: 7.285 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.02122/2.458, allocations: 12.13 MB / 0.7553 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/2.458, allocations: 282.4 kB / 0.7556 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/2.459, allocations: 178.6 kB / 0.7558 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3029/2.762, allocations: 150.4 MB / 0.9027 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/2.762, allocations: 34.5 kB / 0.9027 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=67): time 2.134e-06/2.762, allocations: 1.094 kB / 0.9027 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67): time 0.002696/2.764, allocations: 0.9023 MB / 0.9036 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/2.764, allocations: 81.11 kB / 0.9037 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/2.765, allocations: 377.5 kB / 0.904 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/2.765, allocations: 29.7 kB / 0.9041 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/2.765, allocations: 262.7 kB / 0.9043 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/2.765, allocations: 218.1 kB / 0.9045 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/2.765, allocations: 106 kB / 0.9046 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001756/2.765, allocations: 360 kB / 0.905 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/2.766, allocations: 145.3 kB / 0.9051 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/2.766, allocations: 308.6 kB / 0.9054 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007655/2.767, allocations: 0.4914 MB / 0.9059 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/2.767, allocations: 0 / 0.9059 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001233/2.768, allocations: 0.669 MB / 0.9065 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/2.768, allocations: 5.562 kB / 0.9066 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/2.768, allocations: 8.859 kB / 0.9066 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/2.77, allocations: 0.4968 MB / 0.907 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/2.77, allocations: 43.91 kB / 0.9071 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/2.771, allocations: 0.894 MB / 0.908 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/2.772, allocations: 71.09 kB / 0.908 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/2.772, allocations: 20 kB / 0.908 GB, free: 4.48 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.0002464/2.772, allocations: 178.3 kB / 0.9082 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/2.772, allocations: 47.33 kB / 0.9083 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/2.774, allocations: 1.353 MB / 0.9096 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001172/2.775, allocations: 0.7111 MB / 0.9103 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/2.775, allocations: 0 / 0.9103 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/2.775, allocations: 0 / 0.9103 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/2.778, allocations: 1.772 MB / 0.912 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/2.778, allocations: 4 kB / 0.912 GB, free: 336 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/2.778, allocations: 87.89 kB / 0.9121 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/2.78, allocations: 401.9 kB / 0.9125 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/2.78, allocations: 15.98 kB / 0.9125 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007728/2.78, allocations: 0.8435 MB / 0.9133 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/2.78, allocations: 0 / 0.9133 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0244/2.805, allocations: 12.27 MB / 0.9253 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/2.805, allocations: 176.2 kB / 0.9255 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/2.805, allocations: 19.92 kB / 0.9255 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/2.805, allocations: 31.97 kB / 0.9255 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/2.805, allocations: 36.5 kB / 0.9256 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/2.805, allocations: 16 kB / 0.9256 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003015/2.806, allocations: 287.1 kB / 0.9258 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.863e-06/2.806, allocations: 0 / 0.9258 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006888/2.813, allocations: 2.662 MB / 0.9284 GB, free: 15.14 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.0119/2.825, allocations: 3.353 MB / 0.9317 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001718/2.826, allocations: 0.7251 MB / 0.9324 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/2.826, allocations: 0 / 0.9324 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006753/2.827, allocations: 358.4 kB / 0.9328 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/2.829, allocations: 246.8 kB / 0.933 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/2.831, allocations: 2.319 MB / 0.9353 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/2.832, allocations: 0.9639 MB / 0.9362 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003487/2.832, allocations: 68.14 kB / 0.9363 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/2.833, allocations: 48.64 kB / 0.9363 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/2.833, allocations: 0 / 0.9363 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of Templates: time 0.275/3.108, allocations: 79.34 MB / 1.014 GB, free: 408.6 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial.pipe 2>&1)