Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97.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_IF97,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test1_IF97",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test1_IF97",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.7405/0.7405, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.347e-05/1.349e-05, allocations: 4 kB / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1242, allocations: 31.98 MB / 236.8 MB, free: 5.402 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_IF97): time 1.438/1.562, allocations: 297.5 MB / 0.5219 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4545/2.017, allocations: 186 MB / 0.7035 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006984/2.018, allocations: 7.625 kB / 0.7035 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006099/2.018, allocations: 163.9 kB / 0.7037 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008029/2.019, allocations: 324.9 kB / 0.704 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02357/2.043, allocations: 9.055 MB / 0.7128 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001562/2.044, allocations: 1.373 MB / 0.7142 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000526/2.045, allocations: 487 kB / 0.7146 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/2.045, allocations: 472.7 kB / 0.7151 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003819/2.046, allocations: 472.3 kB / 0.7155 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.893e-05/2.046, allocations: 39.91 kB / 0.7156 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03029/2.076, allocations: 20.18 MB / 0.7353 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002819/2.076, allocations: 164.2 kB / 0.7354 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006909/2.077, allocations: 0.5402 MB / 0.736 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02116/2.098, allocations: 10.59 MB / 0.7463 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/2.098, allocations: 0 / 0.7463 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.315e-06/2.098, allocations: 2.734 kB / 0.7463 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.758e-05/2.098, allocations: 1.781 kB / 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.006302/2.105, allocations: 2.345 MB / 0.7486 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/2.105, allocations: 8.625 kB / 0.7486 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/2.105, allocations: 162.7 kB / 0.7488 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/2.105, allocations: 134.5 kB / 0.7489 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006791/2.106, allocations: 0.4992 MB / 0.7494 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.704e-05/2.106, allocations: 125.7 kB / 0.7495 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/2.106, allocations: 87.72 kB / 0.7496 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/2.107, allocations: 1.205 MB / 0.7508 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/2.108, allocations: 6.25 kB / 0.7508 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/2.108, allocations: 38.47 kB / 0.7508 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/2.108, allocations: 45.31 kB / 0.7509 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/2.109, allocations: 0.8304 MB / 0.7517 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.02261/2.132, allocations: 15.48 MB / 0.7668 GB, free: 80 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/2.133, allocations: 0.7669 MB / 0.7675 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007497/2.134, allocations: 485.3 kB / 0.768 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2873/2.421, allocations: 151.8 MB / 0.9162 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009516/2.422, allocations: 0.5349 MB / 0.9167 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=141): time 2.194e-06/2.422, allocations: 0 / 0.9167 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of matching and sorting (n=141): time 0.02117/2.443, allocations: 5.021 MB / 0.9216 GB, free: 9.32 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/2.444, allocations: 137.1 kB / 0.9217 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/2.444, allocations: 0.5826 MB / 0.9223 GB, free: 8.699 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/2.444, allocations: 40.58 kB / 0.9224 GB, free: 8.664 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/2.444, allocations: 421.8 kB / 0.9228 GB, free: 8.359 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/2.445, allocations: 458.2 kB / 0.9232 GB, free: 7.969 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/2.445, allocations: 125.9 kB / 0.9233 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001064/2.445, allocations: 349.5 kB / 0.9236 GB, free: 7.555 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/2.446, allocations: 344 kB / 0.924 GB, free: 7.34 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007657/2.446, allocations: 0.636 MB / 0.9246 GB, free: 6.754 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/2.448, allocations: 1.056 MB / 0.9256 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/2.448, allocations: 0 / 0.9256 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002341/2.45, allocations: 1.471 MB / 0.9271 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/2.45, allocations: 9.859 kB / 0.9271 GB, free: 4.977 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/2.45, allocations: 20.59 kB / 0.9271 GB, free: 4.961 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003442/2.454, allocations: 1.482 MB / 0.9285 GB, free: 3.609 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/2.454, allocations: 76.98 kB / 0.9286 GB, free: 3.547 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/2.456, allocations: 1.666 MB / 0.9302 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/2.457, allocations: 134 kB / 0.9304 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/2.457, allocations: 50.55 kB / 0.9304 GB, free: 2.125 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.0003056/2.457, allocations: 255.2 kB / 0.9307 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/2.457, allocations: 96.77 kB / 0.9308 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/2.461, allocations: 2.21 MB / 0.9329 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002244/2.463, allocations: 1.542 MB / 0.9344 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/2.463, allocations: 7.984 kB / 0.9344 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/2.463, allocations: 3.984 kB / 0.9344 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004847/2.468, allocations: 3.64 MB / 0.938 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/2.468, allocations: 0 / 0.938 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/2.469, allocations: 152.6 kB / 0.9381 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002469/2.471, allocations: 1.043 MB / 0.9391 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/2.471, allocations: 35.97 kB / 0.9392 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/2.473, allocations: 1.5 MB / 0.9406 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.473, allocations: 0 / 0.9406 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/2.476, allocations: 2.398 MB / 0.943 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/2.477, allocations: 291.2 kB / 0.9433 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/2.477, allocations: 23.98 kB / 0.9433 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/2.477, allocations: 67.88 kB / 0.9434 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/2.478, allocations: 81.19 kB / 0.9434 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/2.478, allocations: 39.98 kB / 0.9435 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003951/2.478, allocations: 419.1 kB / 0.9439 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3e-07/2.478, allocations: 0 / 0.9439 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003491/2.481, allocations: 1.713 MB / 0.9455 GB, free: 3.07 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.009813/2.491, allocations: 5.209 MB / 0.9506 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00259/2.494, allocations: 1.625 MB / 0.9522 GB, free: 12.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/2.494, allocations: 0.625 kB / 0.9522 GB, free: 12.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/2.495, allocations: 0.8188 MB / 0.953 GB, free: 11.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/2.497, allocations: 421.3 kB / 0.9534 GB, free: 11.29 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/2.51, allocations: 9.889 MB / 0.9631 GB, free: 1.117 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/2.511, allocations: 1.159 MB / 0.9642 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003832/2.511, allocations: 114.5 kB / 0.9643 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/2.511, allocations: 0.4993 MB / 0.9648 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/2.511, allocations: 4 kB / 0.9648 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.018/7.529, allocations: 75.6 MB / 1.039 GB, free: 422.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/7.529, allocations: 301.3 kB / 1.039 GB, free: 422.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.389/12.92, allocations: 2.344 kB / 1.039 GB, free: 422.4 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test1_IF97_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_Bench_Test1_IF97.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97.pipe 2>&1)