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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8661/0.8661, allocations: 153.8 MB / 173.4 MB, free: 4.875 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0006899/0.0006899, allocations: 15.95 kB / 250.6 MB, free: 4.398 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2323, allocations: 33.36 MB / 283.9 MB, free: 1.711 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p): time 1.96/2.193, allocations: 306.5 MB / 0.5766 GB, free: 17.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02699/2.22, allocations: 26.91 MB / 0.6028 GB, free: 5.562 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/2.22, allocations: 1.125 kB / 0.6028 GB, free: 5.562 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/2.22, allocations: 146.9 kB / 0.603 GB, free: 5.508 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/2.22, allocations: 53.45 kB / 0.603 GB, free: 5.473 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.02207/2.242, allocations: 8.134 MB / 0.611 GB, free: 1.609 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/2.243, allocations: 123.2 kB / 0.6111 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.682e-05/2.243, allocations: 28.62 kB / 0.6111 GB, free: 1.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/2.243, allocations: 76.31 kB / 0.6112 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/2.243, allocations: 38.3 kB / 0.6112 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/2.243, allocations: 2.719 kB / 0.6112 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02918/2.272, allocations: 14.54 MB / 0.6254 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.682e-05/2.272, allocations: 12.59 kB / 0.6254 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/2.272, allocations: 35.81 kB / 0.6255 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02056/2.293, allocations: 7.29 MB / 0.6326 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/2.293, allocations: 0 / 0.6326 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.354e-06/2.293, allocations: 0 / 0.6326 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.797e-06/2.293, allocations: 0.7812 kB / 0.6326 GB, free: 12.74 MB / 0.4981 GB 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.004368/2.297, allocations: 1.108 MB / 0.6337 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/2.297, allocations: 8.75 kB / 0.6337 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.158e-05/2.297, allocations: 4.844 kB / 0.6337 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/2.297, allocations: 43.16 kB / 0.6337 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/2.297, allocations: 10.3 kB / 0.6337 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/2.297, allocations: 128.9 kB / 0.6339 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/2.297, allocations: 0 / 0.6339 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/2.297, allocations: 11.62 kB / 0.6339 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/2.298, allocations: 89.66 kB / 0.634 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/2.298, allocations: 0 / 0.634 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/2.298, allocations: 4 kB / 0.634 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/2.298, allocations: 4.75 kB / 0.634 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/2.298, allocations: 115.8 kB / 0.6341 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/2.298, allocations: 193.2 kB / 0.6343 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/2.298, allocations: 83.11 kB / 0.6343 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.629e-05/2.298, allocations: 58.97 kB / 0.6344 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1128/2.411, allocations: 32.76 MB / 0.6664 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/2.411, allocations: 30.56 kB / 0.6664 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.485e-06/2.411, allocations: 0 / 0.6664 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.0005616/2.412, allocations: 246.2 kB / 0.6667 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/2.412, allocations: 53.09 kB / 0.6667 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/2.412, allocations: 101.8 kB / 0.6668 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/2.412, allocations: 25.7 kB / 0.6668 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/2.412, allocations: 84.64 kB / 0.6669 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/2.412, allocations: 99.12 kB / 0.667 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/2.412, allocations: 37.64 kB / 0.667 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000134/2.412, allocations: 322.8 kB / 0.6674 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/2.412, allocations: 51.97 kB / 0.6674 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/2.412, allocations: 48.86 kB / 0.6674 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/2.413, allocations: 133.8 kB / 0.6676 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/2.413, allocations: 4 kB / 0.6676 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002551/2.413, allocations: 173.5 kB / 0.6677 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/2.413, allocations: 8.625 kB / 0.6678 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/2.413, allocations: 3.938 kB / 0.6678 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/2.413, allocations: 4 kB / 0.6678 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/2.413, allocations: 12 kB / 0.6678 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/2.413, allocations: 1.25 kB / 0.6678 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/2.413, allocations: 24.81 kB / 0.6678 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/2.413, allocations: 5.125 kB / 0.6678 GB, free: 8.504 MB / 0.5294 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 9.293e-05/2.413, allocations: 117.8 kB / 0.6679 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/2.413, allocations: 12.42 kB / 0.6679 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/2.414, allocations: 209.5 kB / 0.6681 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/2.414, allocations: 7.984 kB / 0.6681 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/2.414, allocations: 0 / 0.6681 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/2.414, allocations: 8.594 kB / 0.6681 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/2.414, allocations: 185.4 kB / 0.6683 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/2.414, allocations: 0.5 kB / 0.6683 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/2.414, allocations: 23.92 kB / 0.6683 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/2.414, allocations: 3.938 kB / 0.6683 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/2.414, allocations: 5.125 kB / 0.6683 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/2.414, allocations: 0 / 0.6683 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/2.414, allocations: 0 / 0.6683 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/2.414, allocations: 201 kB / 0.6685 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/2.414, allocations: 16.67 kB / 0.6686 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/2.414, allocations: 9.078 kB / 0.6686 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/2.414, allocations: 7.984 kB / 0.6686 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/2.414, allocations: 7.984 kB / 0.6686 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/2.414, allocations: 4 kB / 0.6686 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.105e-05/2.414, allocations: 79.28 kB / 0.6687 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/2.414, allocations: 3.938 kB / 0.6687 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002927/2.417, allocations: 1.017 MB / 0.6697 GB, free: 6.523 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.006209/2.423, allocations: 2.215 MB / 0.6718 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003422/2.424, allocations: 123.9 kB / 0.6719 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/2.424, allocations: 1.969 kB / 0.6719 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/2.424, allocations: 67.92 kB / 0.672 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/2.424, allocations: 50.11 kB / 0.6721 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/2.428, allocations: 2.031 MB / 0.674 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.859e-05/2.428, allocations: 97.31 kB / 0.6741 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.415e-05/2.428, allocations: 11.08 kB / 0.6741 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/2.428, allocations: 31.42 kB / 0.6742 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of SimCode: time 6.22e-07/2.428, allocations: 0 / 0.6742 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07737/2.506, allocations: 40.44 MB / 0.7137 GB, free: 10 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/15.38, allocations: 2.797 kB / 0.7137 GB, free: 10 MB / 0.5762 GB " [Timeout remaining time 644] (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 --stepSize=4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.481355281895958] Failed to read output from testmodel.py, exit status != 0: 15.729010039009154 15.742047044 13.446127669 Calling exit ...