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: translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8779/0.8779, allocations: 150.8 MB / 166.1 MB, free: 15.37 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.663e-05, allocations: 4 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1951, allocations: 31.98 MB / 236.8 MB, free: 5.43 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.78/1.975, allocations: 296.6 MB / 0.5208 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5925/2.568, allocations: 186 MB / 0.7025 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008497/2.569, allocations: 6.5 kB / 0.7025 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006274/2.569, allocations: 163.1 kB / 0.7027 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000947/2.57, allocations: 320.2 kB / 0.703 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02941/2.6, allocations: 9.056 MB / 0.7118 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002203/2.602, allocations: 1.378 MB / 0.7132 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006627/2.602, allocations: 477.6 kB / 0.7136 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006452/2.603, allocations: 466.9 kB / 0.7141 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/2.604, allocations: 476.8 kB / 0.7145 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/2.604, allocations: 42.03 kB / 0.7145 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03653/2.64, allocations: 20.18 MB / 0.7343 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005278/2.641, allocations: 168.9 kB / 0.7344 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/2.642, allocations: 0.5403 MB / 0.7349 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03319/2.675, allocations: 10.58 MB / 0.7453 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/2.675, allocations: 0 / 0.7453 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.906e-06/2.675, allocations: 0 / 0.7453 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.613e-05/2.675, allocations: 2.812 kB / 0.7453 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.006997/2.682, allocations: 2.334 MB / 0.7476 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/2.682, allocations: 12.12 kB / 0.7476 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/2.683, allocations: 131.6 kB / 0.7477 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/2.683, allocations: 0.5054 MB / 0.7482 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/2.683, allocations: 120.5 kB / 0.7483 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/2.683, allocations: 95.27 kB / 0.7484 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/2.685, allocations: 1.2 MB / 0.7496 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/2.685, allocations: 5.906 kB / 0.7496 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/2.685, allocations: 38.44 kB / 0.7496 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/2.685, allocations: 41.59 kB / 0.7496 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/2.686, allocations: 0.8352 MB / 0.7505 GB, free: 12.49 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.02411/2.711, allocations: 15.48 MB / 0.7656 GB, free: 160 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/2.712, allocations: 0.7695 MB / 0.7663 GB, free: 48 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008548/2.713, allocations: 492.2 kB / 0.7668 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3179/3.031, allocations: 151.8 MB / 0.915 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/3.032, allocations: 0.5304 MB / 0.9155 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=141): time 4.268e-06/3.032, allocations: 0 / 0.9155 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of matching and sorting (n=141): time 0.02277/3.055, allocations: 5.022 MB / 0.9204 GB, free: 9.488 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/3.055, allocations: 137.1 kB / 0.9206 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/3.056, allocations: 0.5896 MB / 0.9211 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/3.056, allocations: 37.02 kB / 0.9212 GB, free: 8.828 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/3.057, allocations: 425.2 kB / 0.9216 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003986/3.057, allocations: 460.9 kB / 0.922 GB, free: 8.133 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/3.057, allocations: 118.2 kB / 0.9221 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001394/3.057, allocations: 352.3 kB / 0.9225 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007235/3.058, allocations: 343.8 kB / 0.9228 GB, free: 7.508 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009107/3.059, allocations: 0.6378 MB / 0.9234 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/3.061, allocations: 1.053 MB / 0.9245 GB, free: 6.125 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/3.061, allocations: 8 kB / 0.9245 GB, free: 6.117 MB / 0.7637 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002883/3.064, allocations: 1.469 MB / 0.9259 GB, free: 5.148 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/3.064, allocations: 8.812 kB / 0.9259 GB, free: 5.141 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/3.064, allocations: 12 kB / 0.9259 GB, free: 5.129 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003883/3.068, allocations: 1.482 MB / 0.9274 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/3.068, allocations: 78.72 kB / 0.9274 GB, free: 3.719 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/3.071, allocations: 1.666 MB / 0.9291 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/3.071, allocations: 136.1 kB / 0.9292 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/3.071, allocations: 41.31 kB / 0.9292 GB, free: 2.301 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.0004689/3.072, allocations: 260.5 kB / 0.9295 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/3.072, allocations: 92.03 kB / 0.9296 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/3.076, allocations: 2.206 MB / 0.9317 GB, free: 392 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002531/3.079, allocations: 1.546 MB / 0.9332 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/3.079, allocations: 0 / 0.9332 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/3.079, allocations: 9.719 kB / 0.9332 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00602/3.085, allocations: 3.644 MB / 0.9368 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/3.085, allocations: 2.906 kB / 0.9368 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/3.086, allocations: 148.7 kB / 0.9369 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002801/3.088, allocations: 1.051 MB / 0.938 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.653e-05/3.088, allocations: 27.98 kB / 0.938 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/3.09, allocations: 1.498 MB / 0.9395 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/3.09, allocations: 0 / 0.9395 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/3.094, allocations: 2.401 MB / 0.9418 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000608/3.095, allocations: 287.2 kB / 0.9421 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/3.095, allocations: 31.84 kB / 0.9421 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007427/3.096, allocations: 59.88 kB / 0.9422 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/3.096, allocations: 93.16 kB / 0.9423 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.71e-05/3.096, allocations: 32 kB / 0.9423 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007823/3.097, allocations: 423 kB / 0.9427 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/3.097, allocations: 1.859 kB / 0.9427 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006642/3.104, allocations: 1.709 MB / 0.9444 GB, free: 3.402 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.01156/3.115, allocations: 2.361 MB / 0.9467 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00463/3.12, allocations: 1.623 MB / 0.9483 GB, free: 15.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/3.12, allocations: 0 / 0.9483 GB, free: 15.68 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/3.122, allocations: 0.8116 MB / 0.949 GB, free: 14.88 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/3.125, allocations: 417.6 kB / 0.9494 GB, free: 14.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/3.129, allocations: 2.967 MB / 0.9523 GB, free: 11.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009212/3.13, allocations: 1.163 MB / 0.9535 GB, free: 10.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005218/3.131, allocations: 110.5 kB / 0.9536 GB, free: 10.19 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/3.131, allocations: 67.42 kB / 0.9536 GB, free: 10.12 MB / 0.795 GB Notification: Performance of SimCode: time 4.81e-07/3.131, allocations: 0 / 0.9536 GB, free: 10.12 MB / 0.795 GB Notification: Performance of Templates: time 0.29/3.421, allocations: 62.25 MB / 1.014 GB, free: 447 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97.makefile Environment - environmentSimulation: (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 & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_IF97.pipe 2>&1) Environment - environmentSimulation: