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.8705/0.8705, allocations: 153.8 MB / 170.9 MB, free: 13.71 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.0004926/0.0004926, allocations: 15.44 kB / 247 MB, free: 14.91 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06837/0.06886, allocations: 33.35 MB / 280.3 MB, free: 15.15 MB / 238.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.755/1.824, allocations: 306.5 MB / 0.5731 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03969/1.863, allocations: 30.62 MB / 0.603 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.853e-05/1.863, allocations: 0 / 0.603 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005802/1.864, allocations: 195.4 kB / 0.6032 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/1.864, allocations: 51.69 kB / 0.6032 GB, free: 12.34 MB / 494.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.02248/1.886, allocations: 8.14 MB / 0.6112 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/1.887, allocations: 123.3 kB / 0.6113 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.729e-05/1.887, allocations: 25.03 kB / 0.6113 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/1.887, allocations: 83.53 kB / 0.6114 GB, free: 3.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/1.887, allocations: 35.8 kB / 0.6114 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/1.887, allocations: 0 / 0.6114 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02838/1.915, allocations: 14.71 MB / 0.6258 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/1.915, allocations: 15.88 kB / 0.6258 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/1.916, allocations: 47.67 kB / 0.6259 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01784/1.933, allocations: 7.274 MB / 0.633 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.933, allocations: 0 / 0.633 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/1.933, allocations: 0 / 0.633 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.295e-05/1.933, allocations: 0 / 0.633 GB, free: 13.84 MB / 0.5137 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.003489/1.937, allocations: 1.199 MB / 0.6341 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.937, allocations: 12.03 kB / 0.6341 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.71e-05/1.937, allocations: 4 kB / 0.6342 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/1.937, allocations: 42.55 kB / 0.6342 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/1.937, allocations: 15.84 kB / 0.6342 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/1.937, allocations: 178.9 kB / 0.6344 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/1.937, allocations: 4 kB / 0.6344 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/1.937, allocations: 7.984 kB / 0.6344 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/1.937, allocations: 93.55 kB / 0.6345 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.937, allocations: 4 kB / 0.6345 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/1.937, allocations: 0 / 0.6345 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.937, allocations: 7.922 kB / 0.6345 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/1.938, allocations: 111.9 kB / 0.6346 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/1.938, allocations: 221.5 kB / 0.6348 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/1.938, allocations: 86.55 kB / 0.6349 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.649e-05/1.938, allocations: 56.83 kB / 0.6349 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1317/2.07, allocations: 60.82 MB / 0.6943 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/2.07, allocations: 38.56 kB / 0.6944 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/2.07, allocations: 0 / 0.6944 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.0004454/2.07, allocations: 226.3 kB / 0.6946 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/2.07, allocations: 55.41 kB / 0.6946 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/2.07, allocations: 93.86 kB / 0.6947 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/2.07, allocations: 29.7 kB / 0.6948 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/2.07, allocations: 80.7 kB / 0.6948 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.227e-05/2.071, allocations: 107.1 kB / 0.6949 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/2.071, allocations: 37.7 kB / 0.695 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001519/2.071, allocations: 318.8 kB / 0.6953 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/2.071, allocations: 51.91 kB / 0.6953 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/2.071, allocations: 51.98 kB / 0.6954 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/2.071, allocations: 128.8 kB / 0.6955 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/2.071, allocations: 3.938 kB / 0.6955 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002298/2.071, allocations: 165.9 kB / 0.6957 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/2.071, allocations: 8 kB / 0.6957 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/2.071, allocations: 0 / 0.6957 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/2.071, allocations: 4 kB / 0.6957 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/2.071, allocations: 19.92 kB / 0.6957 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/2.071, allocations: 4 kB / 0.6957 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/2.071, allocations: 7.891 kB / 0.6957 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/2.071, allocations: 4 kB / 0.6957 GB, free: 6.336 MB / 0.5762 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.037e-05/2.072, allocations: 124.2 kB / 0.6958 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/2.072, allocations: 11.91 kB / 0.6958 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/2.072, allocations: 210.8 kB / 0.696 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/2.072, allocations: 11.97 kB / 0.6961 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/2.072, allocations: 0 / 0.6961 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/2.072, allocations: 0 / 0.6961 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/2.072, allocations: 221.5 kB / 0.6963 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/2.072, allocations: 0 / 0.6963 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-05/2.072, allocations: 23.98 kB / 0.6963 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/2.072, allocations: 0 / 0.6963 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/2.072, allocations: 0 / 0.6963 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/2.072, allocations: 0 / 0.6963 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/2.072, allocations: 4 kB / 0.6963 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/2.072, allocations: 208.9 kB / 0.6965 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/2.073, allocations: 96.88 kB / 0.6966 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/2.073, allocations: 3.984 kB / 0.6966 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/2.073, allocations: 4 kB / 0.6966 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/2.073, allocations: 4 kB / 0.6966 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/2.073, allocations: 4 kB / 0.6966 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.395e-05/2.073, allocations: 83.27 kB / 0.6967 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/2.073, allocations: 0 / 0.6967 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002499/2.075, allocations: 1.025 MB / 0.6977 GB, free: 4.215 MB / 0.5762 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.004673/2.08, allocations: 2.219 MB / 0.6998 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002658/2.08, allocations: 115.9 kB / 0.7 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/2.08, allocations: 0 / 0.7 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/2.08, allocations: 63.91 kB / 0.7 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/2.081, allocations: 51.88 kB / 0.7001 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/2.084, allocations: 2.015 MB / 0.702 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/2.084, allocations: 0.7002 MB / 0.7027 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.093e-05/2.084, allocations: 20.64 kB / 0.7027 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/2.084, allocations: 31.42 kB / 0.7028 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/2.084, allocations: 4 kB / 0.7028 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2466/2.331, allocations: 40.03 MB / 0.7419 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/12.78, allocations: 10.69 kB / 0.7419 GB, free: 200.7 MB / 0.5919 GB " [Timeout remaining time 647] (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: 14.851610105019063] Failed to read output from testmodel.py, exit status != 0: 13.067767061002087 13.076672006 11.141130044 Calling exit ...