Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_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.Test1_polynomial,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test1_polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test1_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.7376/0.7376, allocations: 150.8 MB / 166.1 MB, free: 15.63 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.417e-05, allocations: 7.984 kB / 204.9 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1269, allocations: 31.98 MB / 236.9 MB, free: 5.379 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.Test1_polynomial): time 1.446/1.573, allocations: 297.5 MB / 0.5219 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4564/2.03, allocations: 186 MB / 0.7035 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/2.031, allocations: 6.188 kB / 0.7035 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004473/2.031, allocations: 167.1 kB / 0.7037 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008469/2.032, allocations: 321.9 kB / 0.704 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02289/2.055, allocations: 9.057 MB / 0.7128 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001688/2.056, allocations: 1.376 MB / 0.7142 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/2.057, allocations: 474.6 kB / 0.7146 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/2.057, allocations: 471.4 kB / 0.7151 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/2.058, allocations: 472.7 kB / 0.7155 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.747e-05/2.058, allocations: 39.38 kB / 0.7156 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02949/2.087, allocations: 20.19 MB / 0.7353 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/2.088, allocations: 164.8 kB / 0.7354 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006836/2.088, allocations: 0.5381 MB / 0.736 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0194/2.108, allocations: 10.57 MB / 0.7463 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/2.108, allocations: 0 / 0.7463 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.764e-06/2.108, allocations: 0 / 0.7463 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.13e-05/2.108, allocations: 0 / 0.7463 GB, free: 15.07 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.006109/2.114, allocations: 2.345 MB / 0.7486 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/2.114, allocations: 8.625 kB / 0.7486 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/2.114, allocations: 170.6 kB / 0.7488 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/2.114, allocations: 135.2 kB / 0.7489 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/2.115, allocations: 0.4974 MB / 0.7494 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/2.115, allocations: 124.4 kB / 0.7495 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/2.115, allocations: 90.88 kB / 0.7496 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/2.117, allocations: 1.207 MB / 0.7507 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/2.117, allocations: 2.906 kB / 0.7508 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/2.117, allocations: 41 kB / 0.7508 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/2.117, allocations: 44.84 kB / 0.7508 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/2.118, allocations: 0.8337 MB / 0.7516 GB, free: 12.41 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.02184/2.14, allocations: 15.48 MB / 0.7668 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/2.141, allocations: 0.766 MB / 0.7675 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007317/2.142, allocations: 481.4 kB / 0.768 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2849/2.427, allocations: 151.8 MB / 0.9162 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009344/2.428, allocations: 0.5241 MB / 0.9167 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=141): time 2.595e-06/2.428, allocations: 0 / 0.9167 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of matching and sorting (n=141): time 0.02108/2.449, allocations: 5.022 MB / 0.9216 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/2.449, allocations: 142.9 kB / 0.9217 GB, free: 9.133 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/2.45, allocations: 0.5787 MB / 0.9223 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/2.45, allocations: 44.62 kB / 0.9223 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/2.45, allocations: 419 kB / 0.9227 GB, free: 8.336 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/2.45, allocations: 457.8 kB / 0.9232 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/2.451, allocations: 129.8 kB / 0.9233 GB, free: 7.859 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001247/2.451, allocations: 344.6 kB / 0.9236 GB, free: 7.531 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/2.451, allocations: 339.6 kB / 0.924 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007764/2.452, allocations: 0.6371 MB / 0.9246 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/2.454, allocations: 1.059 MB / 0.9256 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/2.454, allocations: 4 kB / 0.9256 GB, free: 5.934 MB / 0.7637 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002325/2.456, allocations: 1.47 MB / 0.927 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/2.456, allocations: 12 kB / 0.9271 GB, free: 4.953 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/2.456, allocations: 15.72 kB / 0.9271 GB, free: 4.941 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/2.459, allocations: 1.482 MB / 0.9285 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/2.46, allocations: 68.06 kB / 0.9286 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/2.462, allocations: 1.671 MB / 0.9302 GB, free: 2.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/2.463, allocations: 145.9 kB / 0.9304 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/2.463, allocations: 39 kB / 0.9304 GB, free: 2.109 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 40 ($PRE.idealCheckValve2.touvert,$whenCondition4,$PRE.idealCheckValve2.tferme,$whenCondition3,$PRE.idealCheckValve1.touvert,$whenCondition2,$PRE.idealCheckValve1.tferme,$whenCondition1,idealCheckValve2.tferme,idealCheckValve2.touvert,idealCheckValve2.ouvert,$PRE.idealCheckValve2.ouvert,idealCheckValve1.tferme,idealCheckValve1.touvert,idealCheckValve1.ouvert,$PRE.idealCheckValve1.ouvert,perteDP1.C2.b,perteDP1.C1.a,perteDP.C2.b,perteDP.C1.a,volumeC.Ce3.a,volumeC.Cs.b,volumeC.Ce2.a,volumeC.Ce1.a,idealCheckValve2.C1.a,idealCheckValve2.C2.b,idealCheckValve1.C1.a,idealCheckValve1.C2.b,volumeD.Cs3.b,volumeD.Cs2.b,volumeD.Cs1.b,volumeD.Ce.a,staticCentrifugalPump2.C2.b,staticCentrifugalPump2.C1.a,staticCentrifugalPump1.C2.b,staticCentrifugalPump1.C1.a,sourceP.C.b,puitsP.C.a,volumeC.Ce1.b,volumeD.Cs3.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * 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 {(14,34)} Notification: Performance of prepare postOptimizeDAE: time 0.0003033/2.463, allocations: 260.1 kB / 0.9306 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/2.463, allocations: 90.78 kB / 0.9307 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/2.467, allocations: 2.206 MB / 0.9329 GB, free: 44 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002241/2.469, allocations: 1.549 MB / 0.9344 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/2.469, allocations: 0 / 0.9344 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/2.469, allocations: 7.969 kB / 0.9344 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004852/2.474, allocations: 3.643 MB / 0.938 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/2.474, allocations: 4 kB / 0.938 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/2.474, allocations: 148.7 kB / 0.9381 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/2.477, allocations: 1.047 MB / 0.9391 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/2.477, allocations: 27.98 kB / 0.9392 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/2.479, allocations: 1.505 MB / 0.9406 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/2.479, allocations: 0 / 0.9406 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/2.482, allocations: 2.393 MB / 0.943 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/2.483, allocations: 295.2 kB / 0.9432 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/2.483, allocations: 24 kB / 0.9433 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/2.483, allocations: 59.81 kB / 0.9433 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/2.483, allocations: 85.17 kB / 0.9434 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/2.483, allocations: 40 kB / 0.9434 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004135/2.484, allocations: 419 kB / 0.9438 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/2.484, allocations: 0 / 0.9438 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003562/2.487, allocations: 1.717 MB / 0.9455 GB, free: 3.062 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volumeD.h,volumeC.h) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCheckValve1.ouvert,idealCheckValve1.touvert,idealCheckValve1.tferme,idealCheckValve2.ouvert,idealCheckValve2.touvert,idealCheckValve2.tferme) * Number of discrete states: 4 (idealCheckValve2.touvert,idealCheckValve2.tferme,idealCheckValve1.touvert,idealCheckValve1.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {(11,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009771/2.497, allocations: 5.217 MB / 0.9506 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002601/2.5, allocations: 1.622 MB / 0.9522 GB, free: 12.48 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/2.5, allocations: 4 kB / 0.9522 GB, free: 12.48 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/2.501, allocations: 0.8145 MB / 0.953 GB, free: 11.68 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/2.503, allocations: 419.7 kB / 0.9534 GB, free: 11.28 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/2.516, allocations: 9.885 MB / 0.9631 GB, free: 1.113 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/2.516, allocations: 1.167 MB / 0.9642 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00036/2.517, allocations: 110.8 kB / 0.9643 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/2.517, allocations: 0.4992 MB / 0.9648 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of SimCode: time 9.51e-07/2.517, allocations: 4 kB / 0.9648 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.972/7.489, allocations: 75.59 MB / 1.039 GB, free: 422.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/7.489, allocations: 309.1 kB / 1.039 GB, free: 422.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.358/12.85, allocations: 0.625 kB / 1.039 GB, free: 422.2 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test1_polynomial_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test1_polynomial.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial.pipe 2>&1)