Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.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.calculette_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7573/0.7573, allocations: 150.8 MB / 166.7 MB, free: 14.62 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 19.97 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 31.33 MB / 236.1 MB, free: 5.43 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h): time 1.57/1.708, allocations: 292.8 MB / 0.5165 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03155/1.739, allocations: 30.16 MB / 0.546 GB, free: 432 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.031e-05/1.739, allocations: 0 / 0.546 GB, free: 432 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/1.74, allocations: 131.5 kB / 0.5461 GB, free: 300 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.405e-05/1.74, allocations: 36.44 kB / 0.5462 GB, free: 264 kB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01983/1.76, allocations: 6.985 MB / 0.553 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/1.76, allocations: 127.4 kB / 0.5531 GB, free: 9.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.073e-05/1.76, allocations: 16.81 kB / 0.5531 GB, free: 9.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/1.76, allocations: 75.55 kB / 0.5532 GB, free: 9.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/1.76, allocations: 35.8 kB / 0.5532 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/1.76, allocations: 0 / 0.5532 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02321/1.784, allocations: 14.53 MB / 0.5674 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/1.784, allocations: 11.92 kB / 0.5674 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/1.784, allocations: 39.75 kB / 0.5675 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007825/1.792, allocations: 4.897 MB / 0.5722 GB, free: 5.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.792, allocations: 0 / 0.5722 GB, free: 5.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/1.792, allocations: 0 / 0.5722 GB, free: 5.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/1.792, allocations: 0 / 0.5722 GB, free: 5.523 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002849/1.794, allocations: 1.142 MB / 0.5734 GB, free: 4.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.795, allocations: 8.031 kB / 0.5734 GB, free: 4.324 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/1.795, allocations: 11.84 kB / 0.5734 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/1.795, allocations: 186.8 kB / 0.5736 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/1.795, allocations: 0 / 0.5736 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/1.795, allocations: 5.594 kB / 0.5736 GB, free: 4.086 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/1.795, allocations: 135.5 kB / 0.5737 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/1.795, allocations: 0 / 0.5737 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/1.795, allocations: 0 / 0.5737 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.795, allocations: 7.984 kB / 0.5737 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/1.795, allocations: 59.86 kB / 0.5738 GB, free: 3.863 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03402/1.829, allocations: 15.44 MB / 0.5888 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/1.829, allocations: 86.42 kB / 0.5889 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/1.829, allocations: 56.91 kB / 0.589 GB, free: 3.035 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0706/1.9, allocations: 40.44 MB / 0.6285 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/1.9, allocations: 34.56 kB / 0.6285 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 2.575e-06/1.9, allocations: 0 / 0.6285 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.0003443/1.9, allocations: 186.1 kB / 0.6287 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/1.901, allocations: 55.34 kB / 0.6287 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/1.901, allocations: 117.8 kB / 0.6288 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/1.901, allocations: 30.08 kB / 0.6289 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/1.901, allocations: 92.33 kB / 0.629 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/1.901, allocations: 74.89 kB / 0.629 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/1.901, allocations: 41.64 kB / 0.6291 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.901, allocations: 326.8 kB / 0.6294 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/1.901, allocations: 40.22 kB / 0.6294 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.163e-05/1.901, allocations: 89.58 kB / 0.6295 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/1.901, allocations: 147.5 kB / 0.6296 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.901, allocations: 0 / 0.6296 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002094/1.901, allocations: 184.4 kB / 0.6298 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.901, allocations: 4 kB / 0.6298 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/1.901, allocations: 8.156 kB / 0.6298 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.901, allocations: 0 / 0.6298 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/1.902, allocations: 15.94 kB / 0.6298 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.902, allocations: 7.938 kB / 0.6299 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/1.902, allocations: 19.77 kB / 0.6299 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/1.902, allocations: 4 kB / 0.6299 GB, free: 4.289 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/1.902, allocations: 113.8 kB / 0.63 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/1.902, allocations: 3.906 kB / 0.63 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/1.902, allocations: 166.1 kB / 0.6301 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.902, allocations: 7.984 kB / 0.6302 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.902, allocations: 3.938 kB / 0.6302 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.902, allocations: 0 / 0.6302 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/1.902, allocations: 201.5 kB / 0.6303 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.902, allocations: 0 / 0.6303 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/1.902, allocations: 4 kB / 0.6304 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.902, allocations: 0 / 0.6304 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/1.902, allocations: 8.188 kB / 0.6304 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.902, allocations: 4 kB / 0.6304 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.902, allocations: 4.875 kB / 0.6304 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/1.902, allocations: 160.8 kB / 0.6305 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/1.902, allocations: 88.95 kB / 0.6306 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/1.902, allocations: 7.984 kB / 0.6306 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.692e-05/1.903, allocations: 4 kB / 0.6306 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/1.903, allocations: 3.938 kB / 0.6306 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/1.903, allocations: 4 kB / 0.6306 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.284e-05/1.903, allocations: 99.3 kB / 0.6307 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/1.903, allocations: 0 / 0.6307 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00229/1.905, allocations: 0.9799 MB / 0.6317 GB, free: 2.34 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003681/1.909, allocations: 1.575 MB / 0.6332 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002122/1.909, allocations: 119.9 kB / 0.6333 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.909, allocations: 0 / 0.6333 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.82e-05/1.909, allocations: 63.92 kB / 0.6334 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/1.909, allocations: 56.62 kB / 0.6334 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/1.91, allocations: 356.8 kB / 0.6338 GB, free: 176 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/1.91, allocations: 0.7001 MB / 0.6345 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/1.91, allocations: 15.44 kB / 0.6345 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/1.91, allocations: 0 / 0.6345 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.02515/1.935, allocations: 18.94 MB / 0.653 GB, free: 12.46 MB / 0.545 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1)