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: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_polynomial",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.8293/0.8293, allocations: 150.9 MB / 166 MB, free: 14.69 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 11.98 kB / 204.1 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 31.33 MB / 235.4 MB, free: 5.41 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.631/1.791, allocations: 294.7 MB / 0.5178 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1919/1.983, allocations: 187.7 MB / 0.701 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/1.984, allocations: 4 kB / 0.701 GB, free: 496 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.0004839/1.984, allocations: 108.1 kB / 0.7011 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004047/1.985, allocations: 174.6 kB / 0.7013 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3642/2.349, allocations: 8.689 MB / 0.7098 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001033/2.35, allocations: 0.717 MB / 0.7105 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/2.35, allocations: 251.9 kB / 0.7107 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/2.351, allocations: 268.1 kB / 0.711 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/2.351, allocations: 259.8 kB / 0.7112 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/2.351, allocations: 29 kB / 0.7113 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03607/2.387, allocations: 20.07 MB / 0.7309 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/2.387, allocations: 97.23 kB / 0.731 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00057/2.388, allocations: 286.6 kB / 0.7312 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02633/2.414, allocations: 10.1 MB / 0.7411 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/2.414, allocations: 0 / 0.7411 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.885e-06/2.414, allocations: 1.203 kB / 0.7411 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.708e-06/2.414, allocations: 2.906 kB / 0.7411 GB, free: 0.793 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.005916/2.42, allocations: 1.969 MB / 0.743 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/2.42, allocations: 14.64 kB / 0.743 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/2.42, allocations: 93.27 kB / 0.7431 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/2.421, allocations: 67.81 kB / 0.7432 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/2.421, allocations: 336.6 kB / 0.7435 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/2.421, allocations: 36.38 kB / 0.7435 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/2.421, allocations: 49.16 kB / 0.7436 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/2.422, allocations: 0.615 MB / 0.7442 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/2.422, allocations: 2.5 kB / 0.7442 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/2.422, allocations: 19.47 kB / 0.7442 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/2.422, allocations: 24.42 kB / 0.7442 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/2.423, allocations: 399.5 kB / 0.7446 GB, free: 14.86 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.02067/2.443, allocations: 12.13 MB / 0.7565 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/2.444, allocations: 281.2 kB / 0.7567 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/2.444, allocations: 187.5 kB / 0.7569 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2848/2.729, allocations: 150.4 MB / 0.9038 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/2.729, allocations: 41.41 kB / 0.9039 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 2.184e-06/2.729, allocations: 0 / 0.9039 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.002649/2.732, allocations: 0.8992 MB / 0.9047 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/2.732, allocations: 82.2 kB / 0.9048 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/2.732, allocations: 378.1 kB / 0.9052 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/2.732, allocations: 32.95 kB / 0.9052 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/2.732, allocations: 257.8 kB / 0.9055 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/2.733, allocations: 219.8 kB / 0.9057 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/2.733, allocations: 104.8 kB / 0.9058 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001252/2.733, allocations: 359.8 kB / 0.9061 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/2.733, allocations: 148.9 kB / 0.9062 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/2.733, allocations: 302.4 kB / 0.9065 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/2.734, allocations: 0.4964 MB / 0.907 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/2.734, allocations: 5.188 kB / 0.907 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001068/2.735, allocations: 0.6589 MB / 0.9077 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/2.735, allocations: 12.58 kB / 0.9077 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/2.735, allocations: 4 kB / 0.9077 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/2.737, allocations: 0.497 MB / 0.9082 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/2.737, allocations: 49.22 kB / 0.9082 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008996/2.738, allocations: 0.8862 MB / 0.9091 GB, free: 1.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/2.739, allocations: 74.16 kB / 0.9092 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/2.739, allocations: 20.83 kB / 0.9092 GB, free: 1.793 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.0001945/2.739, allocations: 179.1 kB / 0.9093 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/2.739, allocations: 39.44 kB / 0.9094 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/2.741, allocations: 1.342 MB / 0.9107 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001136/2.742, allocations: 0.7094 MB / 0.9114 GB, free: 208 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/2.742, allocations: 4 kB / 0.9114 GB, free: 204 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/2.742, allocations: 3.984 kB / 0.9114 GB, free: 200 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/2.744, allocations: 1.785 MB / 0.9131 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/2.744, allocations: 0 / 0.9131 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/2.745, allocations: 84.98 kB / 0.9132 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/2.746, allocations: 408.4 kB / 0.9136 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/2.746, allocations: 18.98 kB / 0.9136 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007232/2.747, allocations: 0.8334 MB / 0.9144 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.747, allocations: 4.031 kB / 0.9144 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/2.749, allocations: 1.137 MB / 0.9155 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/2.749, allocations: 177.6 kB / 0.9157 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/2.749, allocations: 14.94 kB / 0.9157 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/2.749, allocations: 30.89 kB / 0.9158 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/2.749, allocations: 39.52 kB / 0.9158 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/2.749, allocations: 15.38 kB / 0.9158 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002725/2.749, allocations: 289.8 kB / 0.9161 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.11e-07/2.749, allocations: 0 / 0.9161 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004332/2.754, allocations: 1.556 MB / 0.9176 GB, free: 10.96 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.01004/2.764, allocations: 3.942 MB / 0.9215 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001493/2.765, allocations: 0.7214 MB / 0.9222 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/2.765, allocations: 0 / 0.9222 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006824/2.766, allocations: 351.4 kB / 0.9225 GB, free: 6.887 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/2.767, allocations: 262.9 kB / 0.9227 GB, free: 6.637 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008584/2.776, allocations: 5.518 MB / 0.9281 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/2.777, allocations: 0.9295 MB / 0.929 GB, free: 8 kB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003098/2.777, allocations: 68.2 kB / 0.9291 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/2.777, allocations: 255.3 kB / 0.9294 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/2.777, allocations: 0 / 0.9294 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2671/3.044, allocations: 62.74 MB / 0.9906 GB, free: 452.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/3.044, allocations: 301.1 kB / 0.9909 GB, free: 452.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.69/7.734, allocations: 0 / 0.9909 GB, free: 452.5 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_polynomial_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test2_polynomial.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial.pipe 2>&1)