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: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8281/0.8281, allocations: 150.9 MB / 166.1 MB, free: 14.6 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 15.97 kB / 204.2 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1704, allocations: 31.33 MB / 235.6 MB, free: 5.395 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.632/1.802, allocations: 292.9 MB / 0.5161 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03563/1.838, allocations: 30.53 MB / 0.5459 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/1.838, allocations: 0 / 0.5459 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004716/1.838, allocations: 136.1 kB / 0.546 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/1.839, allocations: 32.45 kB / 0.546 GB, free: 15.82 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.02276/1.861, allocations: 7.069 MB / 0.5529 GB, free: 8.762 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/1.862, allocations: 127.3 kB / 0.5531 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/1.862, allocations: 32.97 kB / 0.5531 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/1.862, allocations: 59.61 kB / 0.5532 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/1.862, allocations: 35.8 kB / 0.5532 GB, free: 8.512 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/1.862, allocations: 4 kB / 0.5532 GB, free: 8.508 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02645/1.888, allocations: 14.58 MB / 0.5674 GB, free: 9.906 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/1.889, allocations: 15.91 kB / 0.5674 GB, free: 9.891 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.664e-05/1.889, allocations: 43.75 kB / 0.5675 GB, free: 9.848 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01913/1.908, allocations: 7.283 MB / 0.5746 GB, free: 2.547 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.908, allocations: 0 / 0.5746 GB, free: 2.547 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/1.908, allocations: 0 / 0.5746 GB, free: 2.547 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/1.908, allocations: 0 / 0.5746 GB, free: 2.547 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.004341/1.912, allocations: 1.154 MB / 0.5757 GB, free: 1.344 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.912, allocations: 8.031 kB / 0.5757 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/1.912, allocations: 42.56 kB / 0.5758 GB, free: 1.285 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/1.912, allocations: 11.84 kB / 0.5758 GB, free: 1.273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/1.913, allocations: 184.7 kB / 0.576 GB, free: 1.055 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/1.913, allocations: 4 kB / 0.576 GB, free: 1.051 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/1.913, allocations: 4 kB / 0.576 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/1.913, allocations: 94.59 kB / 0.5761 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.913, allocations: 0 / 0.5761 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/1.913, allocations: 0 / 0.5761 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/1.913, allocations: 11.88 kB / 0.5761 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/1.913, allocations: 111.9 kB / 0.5762 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/1.913, allocations: 213.5 kB / 0.5764 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/1.913, allocations: 110.5 kB / 0.5765 GB, free: 464 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.703e-05/1.913, allocations: 72.84 kB / 0.5766 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1133/2.027, allocations: 56.06 MB / 0.6313 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/2.027, allocations: 30.56 kB / 0.6313 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.394e-06/2.027, allocations: 0 / 0.6313 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.000473/2.027, allocations: 229.4 kB / 0.6316 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/2.027, allocations: 55.41 kB / 0.6316 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/2.028, allocations: 100.1 kB / 0.6317 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/2.028, allocations: 29.7 kB / 0.6317 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/2.028, allocations: 80.7 kB / 0.6318 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/2.028, allocations: 98.55 kB / 0.6319 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/2.028, allocations: 41.62 kB / 0.6319 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001157/2.028, allocations: 318.8 kB / 0.6322 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-05/2.028, allocations: 51.91 kB / 0.6323 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/2.028, allocations: 47.98 kB / 0.6323 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/2.028, allocations: 141.8 kB / 0.6325 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/2.028, allocations: 3.938 kB / 0.6325 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002278/2.028, allocations: 161.6 kB / 0.6326 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/2.028, allocations: 4 kB / 0.6326 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/2.029, allocations: 0 / 0.6326 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/2.029, allocations: 0 / 0.6326 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/2.029, allocations: 19.92 kB / 0.6327 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/2.029, allocations: 4 kB / 0.6327 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/2.029, allocations: 7.844 kB / 0.6327 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/2.029, allocations: 8 kB / 0.6327 GB, free: 0.7305 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 0.0001191/2.029, allocations: 121.8 kB / 0.6328 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/2.029, allocations: 11.81 kB / 0.6328 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/2.029, allocations: 206.6 kB / 0.633 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/2.029, allocations: 3.984 kB / 0.633 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/2.029, allocations: 0 / 0.633 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/2.029, allocations: 4 kB / 0.633 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/2.029, allocations: 225.4 kB / 0.6332 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/2.029, allocations: 4 kB / 0.6332 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/2.03, allocations: 15.98 kB / 0.6332 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/2.03, allocations: 0 / 0.6332 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/2.03, allocations: 0 / 0.6332 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/2.03, allocations: 4 kB / 0.6332 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/2.03, allocations: 0 / 0.6332 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/2.03, allocations: 212.9 kB / 0.6334 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/2.03, allocations: 92.86 kB / 0.6335 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/2.03, allocations: 0 / 0.6335 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.484e-05/2.03, allocations: 11.98 kB / 0.6335 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/2.03, allocations: 4 kB / 0.6335 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/2.03, allocations: 0 / 0.6335 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.759e-05/2.03, allocations: 88.34 kB / 0.6336 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/2.03, allocations: 0 / 0.6336 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002897/2.033, allocations: 0.9994 MB / 0.6346 GB, free: 14.64 MB / 0.5294 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.006225/2.039, allocations: 2.253 MB / 0.6368 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003524/2.04, allocations: 143.9 kB / 0.6369 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/2.04, allocations: 0 / 0.6369 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/2.04, allocations: 83.91 kB / 0.637 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/2.04, allocations: 49.38 kB / 0.6371 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/2.044, allocations: 2.025 MB / 0.6391 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/2.044, allocations: 0.708 MB / 0.6397 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.707e-05/2.044, allocations: 8.656 kB / 0.6398 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/2.044, allocations: 35.42 kB / 0.6398 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/2.044, allocations: 0 / 0.6398 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07524/2.119, allocations: 40.31 MB / 0.6791 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/2.12, allocations: 223.2 kB / 0.6794 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.081/6.201, allocations: 0 / 0.6794 GB, free: 0.7891 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)