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.8136/0.8136, allocations: 150.9 MB / 166 MB, free: 14.55 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 15.97 kB / 204 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1465, allocations: 31.33 MB / 235.4 MB, free: 5.473 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_polynomial): time 1.521/1.667, allocations: 293.8 MB / 0.5167 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1792/1.846, allocations: 187.7 MB / 0.7 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003583/1.847, allocations: 7.938 kB / 0.7 GB, free: 0.6562 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.0003964/1.847, allocations: 117.3 kB / 0.7001 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003614/1.848, allocations: 174.7 kB / 0.7003 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2757/2.123, allocations: 8.696 MB / 0.7088 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008342/2.124, allocations: 0.7124 MB / 0.7095 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/2.124, allocations: 245.5 kB / 0.7097 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/2.125, allocations: 274.2 kB / 0.71 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/2.125, allocations: 253.6 kB / 0.7102 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/2.125, allocations: 31.59 kB / 0.7102 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03038/2.155, allocations: 20.07 MB / 0.7298 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/2.156, allocations: 93.95 kB / 0.7299 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000455/2.156, allocations: 286 kB / 0.7302 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0205/2.177, allocations: 10.1 MB / 0.7401 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/2.177, allocations: 3.625 kB / 0.7401 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/2.177, allocations: 3.344 kB / 0.7401 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.536e-06/2.177, allocations: 0 / 0.7401 GB, free: 0.9062 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.004861/2.182, allocations: 1.979 MB / 0.742 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/2.182, allocations: 6.844 kB / 0.742 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/2.182, allocations: 66.31 kB / 0.7421 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/2.182, allocations: 335.8 kB / 0.7424 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/2.182, allocations: 35.09 kB / 0.7424 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/2.182, allocations: 42.69 kB / 0.7425 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008042/2.183, allocations: 0.6169 MB / 0.7431 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/2.183, allocations: 11.22 kB / 0.7431 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/2.183, allocations: 23.62 kB / 0.7431 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/2.183, allocations: 24.52 kB / 0.7431 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/2.184, allocations: 396.1 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.01995/2.204, allocations: 12.12 MB / 0.7553 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/2.204, allocations: 276.8 kB / 0.7556 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/2.204, allocations: 181.6 kB / 0.7558 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2864/2.491, allocations: 150.4 MB / 0.9027 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/2.491, allocations: 41.62 kB / 0.9027 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 2.164e-06/2.491, allocations: 0 / 0.9027 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.002799/2.494, allocations: 0.8933 MB / 0.9036 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/2.494, allocations: 81.11 kB / 0.9037 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/2.494, allocations: 382.3 kB / 0.9041 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/2.494, allocations: 32.83 kB / 0.9041 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/2.495, allocations: 255.4 kB / 0.9043 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/2.495, allocations: 223.7 kB / 0.9045 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/2.495, allocations: 112.5 kB / 0.9046 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001322/2.495, allocations: 360.5 kB / 0.905 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/2.495, allocations: 148.3 kB / 0.9051 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/2.496, allocations: 301.4 kB / 0.9054 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/2.496, allocations: 0.4945 MB / 0.9059 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/2.496, allocations: 4 kB / 0.9059 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001157/2.498, allocations: 0.663 MB / 0.9066 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/2.498, allocations: 9.406 kB / 0.9066 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/2.498, allocations: 4 kB / 0.9066 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/2.5, allocations: 0.5014 MB / 0.9071 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/2.5, allocations: 42.06 kB / 0.9071 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009741/2.501, allocations: 0.8896 MB / 0.908 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/2.501, allocations: 74 kB / 0.908 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/2.501, allocations: 23.42 kB / 0.9081 GB, free: 2.008 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.0002317/2.501, allocations: 177.6 kB / 0.9082 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/2.502, allocations: 42.25 kB / 0.9083 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/2.503, allocations: 1.346 MB / 0.9096 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001147/2.504, allocations: 0.7057 MB / 0.9103 GB, free: 432 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/2.504, allocations: 0 / 0.9103 GB, free: 432 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/2.505, allocations: 3.984 kB / 0.9103 GB, free: 428 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/2.507, allocations: 1.775 MB / 0.912 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/2.507, allocations: 5.094 kB / 0.912 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/2.507, allocations: 82.33 kB / 0.9121 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/2.509, allocations: 399.3 kB / 0.9125 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/2.509, allocations: 10.94 kB / 0.9125 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007807/2.51, allocations: 0.8497 MB / 0.9133 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/2.51, allocations: 0 / 0.9133 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/2.511, allocations: 1.136 MB / 0.9144 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/2.512, allocations: 173.3 kB / 0.9146 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/2.512, allocations: 14.88 kB / 0.9146 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/2.512, allocations: 22.89 kB / 0.9146 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-05/2.512, allocations: 47.5 kB / 0.9147 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/2.512, allocations: 19.69 kB / 0.9147 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002939/2.512, allocations: 289.8 kB / 0.915 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/2.512, allocations: 0 / 0.915 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004045/2.516, allocations: 1.545 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.00795/2.524, allocations: 2.361 MB / 0.9188 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001468/2.526, allocations: 0.728 MB / 0.9195 GB, free: 8.605 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/2.526, allocations: 0 / 0.9195 GB, free: 8.605 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007597/2.527, allocations: 348.8 kB / 0.9198 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/2.528, allocations: 258.7 kB / 0.9201 GB, free: 8.168 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/2.53, allocations: 1.518 MB / 0.9216 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/2.531, allocations: 0.9322 MB / 0.9225 GB, free: 5.816 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003065/2.531, allocations: 60.16 kB / 0.9225 GB, free: 5.754 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/2.531, allocations: 47.42 kB / 0.9226 GB, free: 5.707 MB / 0.7637 GB Notification: Performance of SimCode: time 1.513e-06/2.531, allocations: 0 / 0.9226 GB, free: 5.707 MB / 0.7637 GB Notification: Performance of Templates: time 0.07207/2.603, allocations: 53.7 MB / 0.975 GB, free: 324 kB / 0.8106 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)