Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004431/0.004431, allocations: 103.4 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 189.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00224/0.00224, allocations: 290 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.891/0.891, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 95.84 kB / 0.6809 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.374, allocations: 86.98 MB / 0.7659 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1323/0.5064, allocations: 135.4 MB / 0.8981 GB, free: 12.06 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001678/0.5066, allocations: 51.88 kB / 0.8982 GB, free: 12.01 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.5067, allocations: 0 / 0.8982 GB, free: 12.01 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.5068, allocations: 7.922 kB / 0.8982 GB, free: 12 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.299e-05/0.5069, allocations: 15.92 kB / 0.8982 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008212/0.5077, allocations: 239 kB / 0.8984 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.715e-05/0.5078, allocations: 35.84 kB / 0.8985 GB, free: 11.71 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.5079, allocations: 0 / 0.8985 GB, free: 11.71 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.5079, allocations: 19.92 kB / 0.8985 GB, free: 11.7 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.508, allocations: 15.98 kB / 0.8985 GB, free: 11.68 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.508, allocations: 0 / 0.8985 GB, free: 11.68 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.5084, allocations: 243.4 kB / 0.8987 GB, free: 11.44 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.5085, allocations: 11.97 kB / 0.8987 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.5085, allocations: 11.94 kB / 0.8988 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.5088, allocations: 198.4 kB / 0.8989 GB, free: 11.23 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5088, allocations: 0 / 0.8989 GB, free: 11.23 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5088, allocations: 0 / 0.8989 GB, free: 11.23 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5088, allocations: 0 / 0.8989 GB, free: 11.23 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003727/0.5092, allocations: 359.4 kB / 0.8993 GB, free: 10.83 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.5093, allocations: 8.031 kB / 0.8993 GB, free: 10.82 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.5093, allocations: 38.73 kB / 0.8993 GB, free: 10.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.5093, allocations: 0.9375 kB / 0.8993 GB, free: 10.77 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.459e-05/0.5094, allocations: 160.4 kB / 0.8995 GB, free: 10.58 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.5095, allocations: 34.02 kB / 0.8995 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.5095, allocations: 0 / 0.8995 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.5096, allocations: 45.62 kB / 0.8996 GB, free: 10.49 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5096, allocations: 0 / 0.8996 GB, free: 10.49 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.5097, allocations: 4 kB / 0.8996 GB, free: 10.48 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.5097, allocations: 8 kB / 0.8996 GB, free: 10.48 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.5097, allocations: 15.98 kB / 0.8996 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.5104, allocations: 0.5911 MB / 0.9002 GB, free: 9.746 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 3.19e-05/0.5105, allocations: 18.58 kB / 0.9002 GB, free: 9.719 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.5105, allocations: 16.78 kB / 0.9002 GB, free: 9.699 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.5107, allocations: 336.5 kB / 0.9005 GB, free: 9.297 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.5107, allocations: 34.55 kB / 0.9006 GB, free: 9.254 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.5107, allocations: 0 / 0.9006 GB, free: 9.254 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.5109, allocations: 29.7 kB / 0.9006 GB, free: 9.219 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.5109, allocations: 55.41 kB / 0.9006 GB, free: 9.152 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.511, allocations: 105.8 kB / 0.9007 GB, free: 9.039 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.511, allocations: 25.83 kB / 0.9008 GB, free: 9.008 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.5111, allocations: 95.92 kB / 0.9008 GB, free: 8.91 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-06/0.5111, allocations: 7.906 kB / 0.9009 GB, free: 8.902 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.5111, allocations: 17.72 kB / 0.9009 GB, free: 8.879 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.5112, allocations: 318.8 kB / 0.9012 GB, free: 8.559 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.5112, allocations: 3.938 kB / 0.9012 GB, free: 8.555 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/0.5113, allocations: 17.91 kB / 0.9012 GB, free: 8.531 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.5113, allocations: 29.7 kB / 0.9012 GB, free: 8.496 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5113, allocations: 0 / 0.9012 GB, free: 8.496 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.623e-05/0.5114, allocations: 41.64 kB / 0.9013 GB, free: 8.449 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5114, allocations: 8 kB / 0.9013 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.5114, allocations: 96 / 0.9013 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5114, allocations: 7.969 kB / 0.9013 GB, free: 8.434 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-05/0.5115, allocations: 4 kB / 0.9013 GB, free: 8.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.5115, allocations: 4 kB / 0.9013 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.5115, allocations: 12 kB / 0.9013 GB, free: 8.414 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.5115, allocations: 0 / 0.9013 GB, free: 8.414 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.604e-05/0.5116, allocations: 109.8 kB / 0.9014 GB, free: 8.297 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.5116, allocations: 0 / 0.9014 GB, free: 8.297 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.326e-05/0.5117, allocations: 124.8 kB / 0.9015 GB, free: 8.164 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.206e-05/0.5118, allocations: 180.3 kB / 0.9017 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.642e-05/0.5118, allocations: 184.2 kB / 0.9019 GB, free: 7.793 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-05/0.5119, allocations: 184.2 kB / 0.902 GB, free: 7.605 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.5121, allocations: 401.2 kB / 0.9024 GB, free: 7.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-05/0.5121, allocations: 112.9 kB / 0.9025 GB, free: 7.039 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.5122, allocations: 101 kB / 0.9026 GB, free: 6.934 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.126e-05/0.5122, allocations: 180.2 kB / 0.9028 GB, free: 6.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-05/0.5123, allocations: 184.3 kB / 0.903 GB, free: 6.562 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.124e-05/0.5123, allocations: 184.2 kB / 0.9032 GB, free: 6.375 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.425e-05/0.5124, allocations: 176.3 kB / 0.9033 GB, free: 6.195 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.5125, allocations: 311.9 kB / 0.9036 GB, free: 5.867 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.5126, allocations: 182.1 kB / 0.9038 GB, free: 5.664 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.5126, allocations: 192.2 kB / 0.904 GB, free: 5.469 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.5128, allocations: 109 kB / 0.9041 GB, free: 5.355 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.5128, allocations: 180.3 kB / 0.9043 GB, free: 5.172 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.5129, allocations: 108.9 kB / 0.9044 GB, free: 5.059 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.5129, allocations: 87.27 kB / 0.9044 GB, free: 4.973 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5129, allocations: 7.938 kB / 0.9045 GB, free: 4.965 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002946/0.5132, allocations: 55.94 kB / 0.9045 GB, free: 4.91 MB / 0.67 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005268/0.5138, allocations: 0.8828 MB / 0.9054 GB, free: 3.996 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 6.633e-05/0.5138, allocations: 15.94 kB / 0.9054 GB, free: 3.98 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5139, allocations: 0 / 0.9054 GB, free: 3.98 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.5139, allocations: 0 / 0.9054 GB, free: 3.98 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.5142, allocations: 464.3 kB / 0.9058 GB, free: 3.523 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.5152, allocations: 1.344 MB / 0.9071 GB, free: 2.09 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.5154, allocations: 0.6806 MB / 0.9078 GB, free: 1.383 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.5154, allocations: 8 kB / 0.9078 GB, free: 1.375 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.5155, allocations: 7.438 kB / 0.9078 GB, free: 1.367 MB / 0.67 GB Notification: Performance of SimCode: time 3.3e-07/0.5155, allocations: 0 / 0.9078 GB, free: 1.367 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.5324, allocations: 2.23 MB / 0.91 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.536, allocations: 13.12 kB / 0.91 GB, free: 15.27 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)