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: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",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.822/0.822, allocations: 150.8 MB / 166.1 MB, free: 14.64 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.000278, allocations: 15.98 kB / 204.2 MB, free: 9.977 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 31.33 MB / 235.6 MB, free: 5.438 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.595/1.746, allocations: 292.9 MB / 0.516 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03579/1.782, allocations: 30.16 MB / 0.5455 GB, free: 392 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/1.782, allocations: 0.7188 kB / 0.5455 GB, free: 392 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005196/1.783, allocations: 127.5 kB / 0.5456 GB, free: 264 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/1.783, allocations: 40.91 kB / 0.5457 GB, free: 224 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.0211/1.804, allocations: 6.991 MB / 0.5525 GB, free: 9.234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/1.804, allocations: 123.4 kB / 0.5526 GB, free: 9.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.037e-05/1.804, allocations: 26.16 kB / 0.5526 GB, free: 9.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/1.804, allocations: 63.62 kB / 0.5527 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/1.805, allocations: 31.8 kB / 0.5527 GB, free: 8.996 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/1.805, allocations: 4 kB / 0.5527 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02427/1.829, allocations: 14.53 MB / 0.5669 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/1.829, allocations: 7.922 kB / 0.5669 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.319e-05/1.829, allocations: 43.75 kB / 0.567 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01703/1.846, allocations: 7.209 MB / 0.574 GB, free: 3.164 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/1.846, allocations: 4 kB / 0.574 GB, free: 3.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.904e-06/1.846, allocations: 4 kB / 0.574 GB, free: 3.156 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/1.846, allocations: 0 / 0.574 GB, free: 3.156 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.00356/1.85, allocations: 1.135 MB / 0.5751 GB, free: 1.973 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.85, allocations: 8.031 kB / 0.5751 GB, free: 1.965 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/1.85, allocations: 46.55 kB / 0.5752 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/1.85, allocations: 11.84 kB / 0.5752 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.85, allocations: 178.8 kB / 0.5754 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/1.85, allocations: 4 kB / 0.5754 GB, free: 1.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/1.85, allocations: 4 kB / 0.5754 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/1.85, allocations: 131.5 kB / 0.5755 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.85, allocations: 0 / 0.5755 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.85, allocations: 4 kB / 0.5755 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/1.85, allocations: 3.938 kB / 0.5755 GB, free: 1.516 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/1.85, allocations: 59.91 kB / 0.5756 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03485/1.885, allocations: 15.44 MB / 0.5906 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/1.886, allocations: 90.47 kB / 0.5907 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/1.886, allocations: 54.39 kB / 0.5908 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07399/1.96, allocations: 40.43 MB / 0.6303 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/1.96, allocations: 34.56 kB / 0.6303 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 3.196e-06/1.96, allocations: 0 / 0.6303 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.0003704/1.96, allocations: 190.1 kB / 0.6305 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/1.96, allocations: 59.34 kB / 0.6305 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/1.96, allocations: 121.7 kB / 0.6306 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/1.96, allocations: 25.7 kB / 0.6307 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/1.96, allocations: 104.3 kB / 0.6308 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/1.96, allocations: 78.83 kB / 0.6308 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/1.96, allocations: 33.7 kB / 0.6309 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.961, allocations: 318.8 kB / 0.6312 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/1.961, allocations: 44.2 kB / 0.6312 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.742e-05/1.961, allocations: 89.58 kB / 0.6313 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/1.961, allocations: 143.5 kB / 0.6314 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.961, allocations: 0 / 0.6314 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00023/1.961, allocations: 176.9 kB / 0.6316 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.961, allocations: 9.094 kB / 0.6316 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.961, allocations: 0 / 0.6316 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.961, allocations: 4 kB / 0.6316 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/1.961, allocations: 19.86 kB / 0.6316 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.961, allocations: 4 kB / 0.6316 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/1.961, allocations: 11.84 kB / 0.6317 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/1.961, allocations: 4 kB / 0.6317 GB, free: 1.891 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 9.341e-05/1.961, allocations: 118 kB / 0.6318 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/1.962, allocations: 11.89 kB / 0.6318 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/1.962, allocations: 166.1 kB / 0.6319 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/1.962, allocations: 14.97 kB / 0.632 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/1.962, allocations: 0 / 0.632 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/1.962, allocations: 0 / 0.632 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/1.962, allocations: 205.5 kB / 0.6322 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.962, allocations: 7.984 kB / 0.6322 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/1.962, allocations: 4 kB / 0.6322 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.962, allocations: 0 / 0.6322 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/1.962, allocations: 0 / 0.6322 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.962, allocations: 3.938 kB / 0.6322 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.962, allocations: 0 / 0.6322 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/1.962, allocations: 168.8 kB / 0.6323 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/1.962, allocations: 88.95 kB / 0.6324 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/1.962, allocations: 4.469 kB / 0.6324 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.293e-05/1.962, allocations: 3.938 kB / 0.6324 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/1.962, allocations: 7.984 kB / 0.6324 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/1.962, allocations: 0 / 0.6324 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.497e-05/1.962, allocations: 95.2 kB / 0.6325 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/1.962, allocations: 0 / 0.6325 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002395/1.965, allocations: 0.976 MB / 0.6335 GB, free: 15.93 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 (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.005161/1.97, allocations: 2.175 MB / 0.6356 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002181/1.97, allocations: 123.8 kB / 0.6357 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.97, allocations: 320 / 0.6357 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.589e-05/1.97, allocations: 63.98 kB / 0.6358 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/1.971, allocations: 47.48 kB / 0.6358 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/1.974, allocations: 2.017 MB / 0.6378 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/1.974, allocations: 0.7117 MB / 0.6385 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.813e-05/1.974, allocations: 7.984 kB / 0.6385 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/1.974, allocations: 31.42 kB / 0.6385 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/1.974, allocations: 0 / 0.6385 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06347/2.037, allocations: 39.45 MB / 0.6771 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/2.038, allocations: 214.9 kB / 0.6773 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.108/6.146, allocations: 5.891 kB / 0.6773 GB, free: 3.031 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1)