Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.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_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7714/0.7714, allocations: 150.9 MB / 166.7 MB, free: 14.61 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 15.98 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1573, allocations: 31.33 MB / 236.1 MB, free: 5.445 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_p): time 1.572/1.73, allocations: 292.8 MB / 0.5166 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03201/1.762, allocations: 30.54 MB / 0.5464 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/1.762, allocations: 4 kB / 0.5464 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/1.762, allocations: 127.5 kB / 0.5465 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/1.762, allocations: 36.28 kB / 0.5465 GB, free: 15.8 MB / 446.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.02354/1.786, allocations: 7.074 MB / 0.5534 GB, free: 8.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/1.786, allocations: 127.3 kB / 0.5536 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.79e-05/1.786, allocations: 25.03 kB / 0.5536 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/1.786, allocations: 63.61 kB / 0.5537 GB, free: 8.523 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/1.787, allocations: 39.8 kB / 0.5537 GB, free: 8.484 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/1.787, allocations: 4 kB / 0.5537 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02721/1.814, allocations: 14.58 MB / 0.5679 GB, free: 9.879 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/1.814, allocations: 15.92 kB / 0.568 GB, free: 9.863 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/1.814, allocations: 39.75 kB / 0.568 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009047/1.823, allocations: 4.943 MB / 0.5728 GB, free: 4.867 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/1.823, allocations: 4 kB / 0.5728 GB, free: 4.863 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.306e-06/1.823, allocations: 0 / 0.5728 GB, free: 4.863 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/1.823, allocations: 3.938 kB / 0.5728 GB, free: 4.859 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.003552/1.827, allocations: 1.154 MB / 0.574 GB, free: 3.656 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.827, allocations: 8.031 kB / 0.574 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/1.827, allocations: 11.84 kB / 0.574 GB, free: 3.637 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/1.827, allocations: 182.8 kB / 0.5741 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/1.827, allocations: 4 kB / 0.5742 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/1.827, allocations: 4 kB / 0.5742 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/1.827, allocations: 86.61 kB / 0.5742 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.827, allocations: 3.938 kB / 0.5742 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/1.827, allocations: 8 kB / 0.5742 GB, free: 3.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/1.827, allocations: 3.984 kB / 0.5743 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/1.827, allocations: 115.8 kB / 0.5744 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/1.828, allocations: 225.4 kB / 0.5746 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/1.828, allocations: 98.55 kB / 0.5747 GB, free: 2.816 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/1.828, allocations: 80.83 kB / 0.5747 GB, free: 2.734 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1072/1.935, allocations: 56.04 MB / 0.6295 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/1.935, allocations: 42.5 kB / 0.6295 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/1.935, allocations: 0 / 0.6295 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.0004076/1.935, allocations: 229.5 kB / 0.6297 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.936, allocations: 51.41 kB / 0.6298 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/1.936, allocations: 105.8 kB / 0.6299 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/1.936, allocations: 25.7 kB / 0.6299 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/1.936, allocations: 84.7 kB / 0.63 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/1.936, allocations: 94.55 kB / 0.6301 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/1.936, allocations: 33.7 kB / 0.6301 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.936, allocations: 322.8 kB / 0.6304 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/1.936, allocations: 51.97 kB / 0.6305 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.994e-05/1.936, allocations: 51.92 kB / 0.6305 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/1.936, allocations: 133.8 kB / 0.6306 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.936, allocations: 3.938 kB / 0.6307 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001924/1.936, allocations: 165.5 kB / 0.6308 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.936, allocations: 4 kB / 0.6308 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.936, allocations: 4 kB / 0.6308 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/1.936, allocations: 0 / 0.6308 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/1.937, allocations: 15.94 kB / 0.6308 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.937, allocations: 0 / 0.6308 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/1.937, allocations: 19.84 kB / 0.6309 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/1.937, allocations: 8.594 kB / 0.6309 GB, free: 3.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 10 * 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.703e-05/1.937, allocations: 113.8 kB / 0.631 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/1.937, allocations: 11.81 kB / 0.631 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/1.937, allocations: 206.7 kB / 0.6312 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.937, allocations: 11.98 kB / 0.6312 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/1.937, allocations: 3.938 kB / 0.6312 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/1.937, allocations: 0.8438 kB / 0.6312 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/1.937, allocations: 221.3 kB / 0.6314 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.937, allocations: 0 / 0.6314 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/1.937, allocations: 15.98 kB / 0.6314 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.937, allocations: 4 kB / 0.6314 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.937, allocations: 4 kB / 0.6314 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.937, allocations: 0 / 0.6314 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.937, allocations: 4 kB / 0.6314 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/1.938, allocations: 204.9 kB / 0.6316 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/1.938, allocations: 92.86 kB / 0.6317 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/1.938, allocations: 4 kB / 0.6317 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.896e-05/1.938, allocations: 3.938 kB / 0.6317 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/1.938, allocations: 9.625 kB / 0.6317 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/1.938, allocations: 8 kB / 0.6317 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.393e-05/1.938, allocations: 87.27 kB / 0.6318 GB, free: 2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.938, allocations: 0 / 0.6318 GB, free: 2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002508/1.94, allocations: 0.9994 MB / 0.6328 GB, free: 1 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 (12): * Single equations (assignments): 10 * 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.004103/1.944, allocations: 1.616 MB / 0.6344 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002846/1.945, allocations: 155.7 kB / 0.6345 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.945, allocations: 0 / 0.6345 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/1.945, allocations: 75.92 kB / 0.6346 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/1.945, allocations: 52.86 kB / 0.6346 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/1.946, allocations: 388.9 kB / 0.635 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/1.946, allocations: 0.7041 MB / 0.6357 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/1.946, allocations: 19.44 kB / 0.6357 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/1.946, allocations: 0 / 0.6357 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.02709/1.973, allocations: 19.37 MB / 0.6546 GB, free: 10.56 MB / 0.545 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)