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.9676/0.9676, allocations: 150.8 MB / 166.1 MB, free: 15.45 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.937e-05, allocations: 4 kB / 204.9 MB, free: 9.949 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1825, allocations: 31.98 MB / 236.9 MB, free: 5.41 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. 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.613/1.796, allocations: 295.7 MB / 0.52 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1957/1.992, allocations: 185.5 MB / 0.7012 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005055/1.992, allocations: 4 kB / 0.7012 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005601/1.993, allocations: 115.2 kB / 0.7013 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007522/1.993, allocations: 174.7 kB / 0.7014 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3534/2.347, allocations: 8.868 MB / 0.7101 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008853/2.348, allocations: 0.7101 MB / 0.7108 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/2.348, allocations: 225.5 kB / 0.711 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/2.348, allocations: 248.5 kB / 0.7113 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/2.349, allocations: 239.9 kB / 0.7115 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/2.349, allocations: 19.09 kB / 0.7115 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03464/2.383, allocations: 20.16 MB / 0.7312 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/2.384, allocations: 75.61 kB / 0.7313 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004524/2.384, allocations: 299.3 kB / 0.7315 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02266/2.407, allocations: 9.988 MB / 0.7413 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/2.407, allocations: 1.875 kB / 0.7413 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.815e-06/2.407, allocations: 0 / 0.7413 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.927e-06/2.407, allocations: 0 / 0.7413 GB, free: 2.23 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.004858/2.412, allocations: 1.879 MB / 0.7431 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/2.412, allocations: 8.906 kB / 0.7431 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.175e-05/2.412, allocations: 99.75 kB / 0.7432 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/2.412, allocations: 67.84 kB / 0.7433 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/2.412, allocations: 336.5 kB / 0.7436 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/2.412, allocations: 33.72 kB / 0.7437 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/2.412, allocations: 51.05 kB / 0.7437 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/2.413, allocations: 0.6219 MB / 0.7443 GB, free: 368 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/2.413, allocations: 1.094 kB / 0.7443 GB, free: 368 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/2.413, allocations: 24.48 kB / 0.7443 GB, free: 364 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/2.413, allocations: 22.05 kB / 0.7444 GB, free: 360 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/2.414, allocations: 415.9 kB / 0.7448 GB, free: 308 kB / 0.5762 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.02044/2.434, allocations: 12.19 MB / 0.7567 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/2.435, allocations: 289.4 kB / 0.7569 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/2.435, allocations: 188.6 kB / 0.7571 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3025/2.738, allocations: 151.8 MB / 0.9053 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/2.738, allocations: 41.12 kB / 0.9054 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 2.886e-06/2.738, allocations: 7.781 kB / 0.9054 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.002651/2.74, allocations: 0.9228 MB / 0.9063 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/2.74, allocations: 77.11 kB / 0.9063 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/2.741, allocations: 380.9 kB / 0.9067 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/2.741, allocations: 29.58 kB / 0.9067 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/2.741, allocations: 263 kB / 0.907 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/2.741, allocations: 224.6 kB / 0.9072 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/2.741, allocations: 63.92 kB / 0.9073 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001133/2.741, allocations: 357.1 kB / 0.9076 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/2.742, allocations: 148.4 kB / 0.9077 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/2.742, allocations: 315.4 kB / 0.908 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/2.743, allocations: 0.4997 MB / 0.9085 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/2.743, allocations: 8 kB / 0.9085 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00107/2.744, allocations: 0.6697 MB / 0.9092 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/2.744, allocations: 8 kB / 0.9092 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/2.744, allocations: 4 kB / 0.9092 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/2.746, allocations: 0.5358 MB / 0.9097 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/2.746, allocations: 49.78 kB / 0.9098 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008495/2.747, allocations: 0.893 MB / 0.9106 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/2.747, allocations: 78.47 kB / 0.9107 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/2.747, allocations: 23.75 kB / 0.9107 GB, free: 3.582 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.0001872/2.747, allocations: 170.1 kB / 0.9109 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/2.747, allocations: 43.44 kB / 0.9109 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/2.749, allocations: 1.355 MB / 0.9123 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00114/2.75, allocations: 0.7149 MB / 0.913 GB, free: 1.977 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/2.75, allocations: 3.984 kB / 0.913 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/2.75, allocations: 0 / 0.913 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/2.753, allocations: 1.795 MB / 0.9147 GB, free: 0.6055 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/2.753, allocations: 0 / 0.9147 GB, free: 0.6055 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/2.753, allocations: 86.48 kB / 0.9148 GB, free: 0.5273 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/2.754, allocations: 430.9 kB / 0.9152 GB, free: 152 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/2.754, allocations: 11.38 kB / 0.9152 GB, free: 148 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006784/2.755, allocations: 0.8418 MB / 0.916 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/2.755, allocations: 0 / 0.916 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/2.757, allocations: 1.157 MB / 0.9172 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/2.757, allocations: 190.2 kB / 0.9174 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/2.757, allocations: 11.31 kB / 0.9174 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/2.757, allocations: 31.14 kB / 0.9174 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/2.757, allocations: 39.89 kB / 0.9174 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/2.757, allocations: 15.56 kB / 0.9175 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002663/2.758, allocations: 293.9 kB / 0.9177 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/2.758, allocations: 1.969 kB / 0.9177 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003831/2.761, allocations: 1.545 MB / 0.9192 GB, free: 12.65 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.008312/2.77, allocations: 3.946 MB / 0.9231 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001469/2.771, allocations: 0.7343 MB / 0.9238 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/2.771, allocations: 0.9375 kB / 0.9238 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006841/2.772, allocations: 362.5 kB / 0.9242 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/2.773, allocations: 257.2 kB / 0.9244 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/2.784, allocations: 5.599 MB / 0.9299 GB, free: 3.434 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/2.784, allocations: 0.9283 MB / 0.9308 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003306/2.785, allocations: 60.16 kB / 0.9308 GB, free: 2.414 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/2.785, allocations: 256.6 kB / 0.9311 GB, free: 2.352 MB / 0.7637 GB Notification: Performance of SimCode: time 8.81e-07/2.785, allocations: 4 kB / 0.9311 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2751/3.06, allocations: 61.6 MB / 0.9912 GB, free: 458.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/3.06, allocations: 306.4 kB / 0.9915 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.574/7.634, allocations: 0 / 0.9915 GB, free: 458.2 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)