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: translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8567/0.8567, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.531e-05/1.534e-05, allocations: 0 / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1798, allocations: 31.98 MB / 236.8 MB, free: 5.477 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.677/1.856, allocations: 294.7 MB / 0.519 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1952/2.052, allocations: 185.5 MB / 0.7001 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004431/2.052, allocations: 4 kB / 0.7001 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004786/2.053, allocations: 119.2 kB / 0.7003 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006152/2.053, allocations: 170.7 kB / 0.7004 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3678/2.421, allocations: 8.862 MB / 0.7091 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001052/2.422, allocations: 0.7138 MB / 0.7098 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/2.422, allocations: 229.1 kB / 0.71 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/2.423, allocations: 252.6 kB / 0.7102 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/2.423, allocations: 227.7 kB / 0.7104 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/2.423, allocations: 20.56 kB / 0.7105 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03681/2.46, allocations: 20.17 MB / 0.7302 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/2.46, allocations: 83.97 kB / 0.7302 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005201/2.461, allocations: 292.8 kB / 0.7305 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02782/2.489, allocations: 9.998 MB / 0.7403 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/2.489, allocations: 0 / 0.7403 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.797e-06/2.489, allocations: 0 / 0.7403 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.082e-05/2.489, allocations: 0 / 0.7403 GB, free: 2.414 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.00635/2.495, allocations: 1.88 MB / 0.7421 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/2.495, allocations: 9.375 kB / 0.7421 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/2.495, allocations: 66.72 kB / 0.7422 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/2.496, allocations: 338.9 kB / 0.7425 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/2.496, allocations: 28.94 kB / 0.7425 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/2.496, allocations: 48.86 kB / 0.7426 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/2.497, allocations: 0.6249 MB / 0.7432 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/2.497, allocations: 3.562 kB / 0.7432 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/2.497, allocations: 20.62 kB / 0.7432 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/2.497, allocations: 25.86 kB / 0.7432 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/2.497, allocations: 406.9 kB / 0.7436 GB, free: 0.543 MB / 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.02139/2.519, allocations: 12.19 MB / 0.7555 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/2.52, allocations: 290.2 kB / 0.7558 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/2.52, allocations: 184.5 kB / 0.756 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3055/2.825, allocations: 151.8 MB / 0.9042 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/2.825, allocations: 42.25 kB / 0.9042 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 2.465e-06/2.825, allocations: 6.844 kB / 0.9042 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.002744/2.828, allocations: 0.9274 MB / 0.9051 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/2.828, allocations: 77.11 kB / 0.9052 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/2.829, allocations: 382.7 kB / 0.9056 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/2.829, allocations: 33.39 kB / 0.9056 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/2.829, allocations: 258.5 kB / 0.9059 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/2.829, allocations: 219.5 kB / 0.9061 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/2.829, allocations: 59.75 kB / 0.9061 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001252/2.829, allocations: 357.2 kB / 0.9065 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/2.83, allocations: 156.3 kB / 0.9066 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/2.83, allocations: 311.4 kB / 0.9069 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/2.831, allocations: 0.5077 MB / 0.9074 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/2.831, allocations: 4 kB / 0.9074 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001081/2.832, allocations: 0.6699 MB / 0.9081 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/2.832, allocations: 8 kB / 0.9081 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/2.832, allocations: 4.469 kB / 0.9081 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/2.834, allocations: 0.5358 MB / 0.9086 GB, free: 4.703 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/2.834, allocations: 42.64 kB / 0.9086 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008917/2.835, allocations: 0.8934 MB / 0.9095 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/2.835, allocations: 78.66 kB / 0.9096 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/2.835, allocations: 23.25 kB / 0.9096 GB, free: 3.816 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.0001998/2.835, allocations: 181.2 kB / 0.9098 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/2.835, allocations: 39.44 kB / 0.9098 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/2.837, allocations: 1.358 MB / 0.9111 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001174/2.838, allocations: 0.7152 MB / 0.9118 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/2.838, allocations: 4 kB / 0.9118 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/2.838, allocations: 3.984 kB / 0.9119 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/2.841, allocations: 1.779 MB / 0.9136 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/2.841, allocations: 0 / 0.9136 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/2.841, allocations: 82.69 kB / 0.9137 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/2.842, allocations: 429.9 kB / 0.9141 GB, free: 396 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/2.843, allocations: 15.25 kB / 0.9141 GB, free: 392 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007259/2.843, allocations: 0.8406 MB / 0.9149 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/2.843, allocations: 8.047 kB / 0.9149 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/2.845, allocations: 1.151 MB / 0.916 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/2.845, allocations: 190.5 kB / 0.9162 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/2.845, allocations: 15.06 kB / 0.9162 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/2.845, allocations: 34.06 kB / 0.9163 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/2.846, allocations: 47.03 kB / 0.9163 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/2.846, allocations: 11.69 kB / 0.9163 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002788/2.846, allocations: 289.8 kB / 0.9166 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/2.846, allocations: 0 / 0.9166 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004248/2.85, allocations: 1.558 MB / 0.9181 GB, free: 12.88 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.006255/2.856, allocations: 2.322 MB / 0.9204 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001378/2.858, allocations: 0.7381 MB / 0.9211 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/2.858, allocations: 0 / 0.9211 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006278/2.858, allocations: 358.4 kB / 0.9215 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/2.86, allocations: 253.8 kB / 0.9217 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/2.862, allocations: 1.578 MB / 0.9232 GB, free: 8.414 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/2.862, allocations: 0.9283 MB / 0.9241 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002502/2.862, allocations: 61.95 kB / 0.9242 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/2.863, allocations: 52.86 kB / 0.9243 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of SimCode: time 2.3e-07/2.863, allocations: 0 / 0.9243 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of Templates: time 0.06887/2.931, allocations: 53.03 MB / 0.976 GB, free: 2.598 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial.makefile Environment - environmentSimulation: (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 & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test2_polynomial.pipe 2>&1) Environment - environmentSimulation: