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: translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8776/0.8776, allocations: 150.8 MB / 166.1 MB, free: 15.38 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.634e-05, allocations: 4 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2001, allocations: 31.97 MB / 236.8 MB, free: 5.422 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.743/1.943, allocations: 296.6 MB / 0.5208 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5627/2.506, allocations: 186 MB / 0.7025 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008854/2.507, allocations: 6.688 kB / 0.7025 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008355/2.508, allocations: 164.4 kB / 0.7027 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/2.509, allocations: 322.2 kB / 0.703 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02729/2.537, allocations: 9.05 MB / 0.7118 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002015/2.539, allocations: 1.375 MB / 0.7131 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005963/2.539, allocations: 484.6 kB / 0.7136 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005745/2.54, allocations: 465.9 kB / 0.7141 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004416/2.54, allocations: 475.3 kB / 0.7145 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/2.54, allocations: 41.53 kB / 0.7145 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03615/2.577, allocations: 20.18 MB / 0.7343 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000441/2.577, allocations: 163.8 kB / 0.7344 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009981/2.578, allocations: 0.5409 MB / 0.7349 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02702/2.605, allocations: 10.6 MB / 0.7453 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/2.605, allocations: 0 / 0.7453 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.036e-06/2.605, allocations: 0 / 0.7453 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.809e-05/2.605, allocations: 0 / 0.7453 GB, free: 15.06 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.009827/2.615, allocations: 2.335 MB / 0.7476 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/2.615, allocations: 11.38 kB / 0.7476 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005531/2.616, allocations: 130 kB / 0.7477 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/2.617, allocations: 0.5065 MB / 0.7482 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/2.617, allocations: 123.5 kB / 0.7483 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/2.617, allocations: 90.28 kB / 0.7484 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/2.62, allocations: 1.201 MB / 0.7496 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.61e-05/2.62, allocations: 6.219 kB / 0.7496 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/2.62, allocations: 44.61 kB / 0.7496 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.238e-05/2.62, allocations: 41.44 kB / 0.7497 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/2.622, allocations: 0.8353 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.0265/2.649, allocations: 15.48 MB / 0.7656 GB, free: 164 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/2.65, allocations: 0.7668 MB / 0.7663 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009497/2.651, allocations: 486.8 kB / 0.7668 GB, free: 0 / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3091/2.961, allocations: 151.8 MB / 0.915 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001226/2.962, allocations: 0.5368 MB / 0.9155 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=141): time 3.947e-06/2.962, allocations: 0 / 0.9155 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of matching and sorting (n=141): time 0.02278/2.985, allocations: 5.014 MB / 0.9204 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/2.985, allocations: 141.1 kB / 0.9206 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/2.986, allocations: 0.5862 MB / 0.9211 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/2.986, allocations: 40.77 kB / 0.9212 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/2.986, allocations: 413.1 kB / 0.9216 GB, free: 8.469 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/2.986, allocations: 464.9 kB / 0.922 GB, free: 8.074 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/2.987, allocations: 121.9 kB / 0.9221 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001351/2.987, allocations: 348.6 kB / 0.9225 GB, free: 7.66 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/2.987, allocations: 347.8 kB / 0.9228 GB, free: 7.445 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000853/2.988, allocations: 0.6322 MB / 0.9234 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/2.99, allocations: 1.064 MB / 0.9245 GB, free: 6.059 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/2.99, allocations: 0 / 0.9245 GB, free: 6.059 MB / 0.7637 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002852/2.993, allocations: 1.468 MB / 0.9259 GB, free: 5.09 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/2.993, allocations: 11.98 kB / 0.9259 GB, free: 5.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/2.993, allocations: 8 kB / 0.9259 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/2.997, allocations: 1.489 MB / 0.9274 GB, free: 3.723 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/2.997, allocations: 74.27 kB / 0.9274 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/3, allocations: 1.661 MB / 0.9291 GB, free: 2.398 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008074/3.001, allocations: 137.4 kB / 0.9292 GB, free: 2.277 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/3.001, allocations: 48.92 kB / 0.9292 GB, free: 2.238 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.0004318/3.001, allocations: 253.1 kB / 0.9295 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/3.001, allocations: 90.78 kB / 0.9296 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/3.005, allocations: 2.212 MB / 0.9317 GB, free: 336 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002542/3.008, allocations: 1.546 MB / 0.9332 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/3.008, allocations: 4 kB / 0.9332 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/3.008, allocations: 3.984 kB / 0.9332 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005899/3.014, allocations: 3.639 MB / 0.9368 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/3.014, allocations: 4 kB / 0.9368 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/3.015, allocations: 156.6 kB / 0.9369 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002858/3.017, allocations: 1.043 MB / 0.938 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.825e-05/3.018, allocations: 27.98 kB / 0.938 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/3.02, allocations: 1.506 MB / 0.9395 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/3.02, allocations: 4 kB / 0.9395 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00439/3.024, allocations: 2.389 MB / 0.9418 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000588/3.025, allocations: 287.2 kB / 0.9421 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/3.025, allocations: 31.98 kB / 0.9421 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/3.026, allocations: 59.88 kB / 0.9422 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/3.026, allocations: 81.19 kB / 0.9422 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/3.026, allocations: 43.98 kB / 0.9423 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005697/3.027, allocations: 415.1 kB / 0.9427 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.01e-07/3.027, allocations: 0 / 0.9427 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006866/3.033, allocations: 1.713 MB / 0.9443 GB, free: 3.352 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.008516/3.042, allocations: 2.368 MB / 0.9467 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00345/3.045, allocations: 1.631 MB / 0.9483 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/3.045, allocations: 0 / 0.9483 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/3.047, allocations: 0.8156 MB / 0.949 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/3.05, allocations: 417.6 kB / 0.9494 GB, free: 14.42 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/3.054, allocations: 2.96 MB / 0.9523 GB, free: 11.45 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007594/3.055, allocations: 1.167 MB / 0.9535 GB, free: 10.25 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004493/3.055, allocations: 106.5 kB / 0.9536 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/3.055, allocations: 67.42 kB / 0.9536 GB, free: 10.07 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/3.055, allocations: 4 kB / 0.9536 GB, free: 10.07 MB / 0.795 GB Notification: Performance of Templates: time 0.2967/3.352, allocations: 62.25 MB / 1.014 GB, free: 446.9 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial.makefile Environment - environmentSimulation: (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 & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial.pipe 2>&1) Environment - environmentSimulation: