Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001134/0.001134, allocations: 191.8 kB / 16.13 MB, free: 6.66 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.196/1.196, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 274.9 kB / 290.2 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8827/0.8827, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 91.95 kB / 0.5946 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1355, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4053/0.5408, allocations: 145.6 MB / 0.8217 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001073/0.5409, allocations: 54.52 kB / 0.8218 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.5409, allocations: 0 / 0.8218 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.321e-05/0.5411, allocations: 1.969 kB / 0.8218 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.324e-05/0.5411, allocations: 17.84 kB / 0.8218 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.5415, allocations: 101.9 kB / 0.8219 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.168e-05/0.5416, allocations: 58.52 kB / 0.8219 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.5416, allocations: 1.125 kB / 0.8219 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.393e-05/0.5417, allocations: 14.47 kB / 0.8219 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.5417, allocations: 16.98 kB / 0.822 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.5417, allocations: 3.203 kB / 0.822 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.542, allocations: 82.14 kB / 0.822 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.542, allocations: 9.203 kB / 0.822 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.5421, allocations: 13.78 kB / 0.8221 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.5422, allocations: 66.75 kB / 0.8221 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5422, allocations: 0 / 0.8221 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.62e-07/0.5422, allocations: 0 / 0.8221 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.5422, allocations: 1.156 kB / 0.8221 GB, free: 1.227 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003691/0.5426, allocations: 346.8 kB / 0.8225 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.5426, allocations: 9.938 kB / 0.8225 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.5427, allocations: 39.41 kB / 0.8225 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.5429, allocations: 17.55 kB / 0.8225 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.291e-05/0.543, allocations: 165.2 kB / 0.8227 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.543, allocations: 31.14 kB / 0.8227 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.5431, allocations: 5.594 kB / 0.8227 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.5432, allocations: 50.38 kB / 0.8228 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.5432, allocations: 0 / 0.8228 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.5432, allocations: 4.906 kB / 0.8228 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.5432, allocations: 5.766 kB / 0.8228 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.5433, allocations: 22.84 kB / 0.8228 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.5436, allocations: 257.4 kB / 0.823 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 2.682e-05/0.5436, allocations: 16.05 kB / 0.8231 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.323e-05/0.5437, allocations: 12.39 kB / 0.8231 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-06/0.5437, allocations: 0 / 0.8231 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.5437, allocations: 32.16 kB / 0.8231 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.5437, allocations: 0 / 0.8231 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001098/0.5438, allocations: 39.42 kB / 0.8231 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.5439, allocations: 58.02 kB / 0.8232 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.656e-05/0.5439, allocations: 103.8 kB / 0.8233 GB, free: 16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.5439, allocations: 25.7 kB / 0.8233 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.544, allocations: 97.52 kB / 0.8234 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-06/0.544, allocations: 5.062 kB / 0.8234 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.544, allocations: 14.97 kB / 0.8234 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.5441, allocations: 315.1 kB / 0.8237 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.5442, allocations: 6.625 kB / 0.8237 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.5442, allocations: 24.02 kB / 0.8238 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.5442, allocations: 40.17 kB / 0.8238 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5442, allocations: 0 / 0.8238 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.202e-05/0.5443, allocations: 51.31 kB / 0.8238 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5443, allocations: 8.578 kB / 0.8238 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5443, allocations: 0 / 0.8238 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.5443, allocations: 1.188 kB / 0.8238 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.5444, allocations: 11.66 kB / 0.8239 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.5444, allocations: 9.156 kB / 0.8239 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.5445, allocations: 5.094 kB / 0.8239 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.5445, allocations: 2.094 kB / 0.8239 GB, free: 15.43 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.543e-05/0.5445, allocations: 119.4 kB / 0.824 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.5446, allocations: 1.5 kB / 0.824 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.364e-05/0.5446, allocations: 4.656 kB / 0.824 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.5446, allocations: 0 / 0.824 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5446, allocations: 3.938 kB / 0.824 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.5446, allocations: 0 / 0.824 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.5448, allocations: 348.7 kB / 0.8243 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5448, allocations: 0 / 0.8243 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.5448, allocations: 1.531 kB / 0.8243 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5448, allocations: 5.219 kB / 0.8243 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.5449, allocations: 3.938 kB / 0.8243 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5449, allocations: 0.6562 kB / 0.8243 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5449, allocations: 0 / 0.8243 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.179e-05/0.5449, allocations: 65.16 kB / 0.8244 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.545, allocations: 86.48 kB / 0.8245 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.545, allocations: 4.125 kB / 0.8245 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.5451, allocations: 5.312 kB / 0.8245 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-06/0.5451, allocations: 0 / 0.8245 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.5451, allocations: 1.75 kB / 0.8245 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.5451, allocations: 82.62 kB / 0.8246 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5451, allocations: 0 / 0.8246 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001828/0.5453, allocations: 13.75 kB / 0.8246 GB, free: 14.67 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 (1): * Single equations (assignments): 1 * 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.0002562/0.5456, allocations: 0.5976 MB / 0.8252 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.219e-05/0.5457, allocations: 11.36 kB / 0.8252 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5457, allocations: 4.219 kB / 0.8252 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/0.5457, allocations: 2.656 kB / 0.8252 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.5459, allocations: 11.59 kB / 0.8252 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.5462, allocations: 148.5 kB / 0.8253 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.5464, allocations: 0.6763 MB / 0.826 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.241e-05/0.5465, allocations: 12.61 kB / 0.826 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.5465, allocations: 9.734 kB / 0.826 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.5465, allocations: 1.094 kB / 0.826 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0103/0.5568, allocations: 1.23 MB / 0.8272 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.557, allocations: 251 kB / 0.8275 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/2.055, allocations: 5.328 kB / 0.8275 GB, free: 12.77 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)