Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",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.001355/0.001355, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001358/0.001358, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.214/1.214, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 290.5 kB / 290.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8464/0.8464, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 94.66 kB / 0.5948 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 86.97 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3592/0.4816, allocations: 146.2 MB / 0.8225 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 9.977e-05/0.4817, allocations: 47.48 kB / 0.8225 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.4818, allocations: 0 / 0.8225 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.865e-05/0.4819, allocations: 6.609 kB / 0.8225 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.154e-05/0.482, allocations: 13.45 kB / 0.8225 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.4826, allocations: 201.5 kB / 0.8227 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.879e-05/0.4826, allocations: 33.56 kB / 0.8228 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.749e-05/0.4827, allocations: 5.344 kB / 0.8228 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.292e-05/0.4827, allocations: 17.89 kB / 0.8228 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.4828, allocations: 15.5 kB / 0.8228 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.4828, allocations: 1.062 kB / 0.8228 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.4831, allocations: 203.7 kB / 0.823 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.4832, allocations: 7.328 kB / 0.823 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.4832, allocations: 15.34 kB / 0.823 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.4834, allocations: 124.7 kB / 0.8231 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4834, allocations: 0 / 0.8231 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4834, allocations: 0.5 kB / 0.8231 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4834, allocations: 0.5 kB / 0.8231 GB, free: 0.8164 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.0003241/0.4838, allocations: 342.4 kB / 0.8235 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4838, allocations: 8.938 kB / 0.8235 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.764e-05/0.4839, allocations: 41.95 kB / 0.8235 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.4841, allocations: 23.91 kB / 0.8235 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.399e-05/0.4842, allocations: 165.5 kB / 0.8237 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.4843, allocations: 31.17 kB / 0.8237 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.4843, allocations: 4.312 kB / 0.8237 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.4844, allocations: 52.14 kB / 0.8238 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.4844, allocations: 0.7188 kB / 0.8238 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.4844, allocations: 0.5 kB / 0.8238 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.4845, allocations: 9.25 kB / 0.8238 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.4845, allocations: 23.03 kB / 0.8238 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.4848, allocations: 255.5 kB / 0.8241 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.935e-05/0.4848, allocations: 22.92 kB / 0.8241 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.4849, allocations: 10.56 kB / 0.8241 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.485, allocations: 92.8 kB / 0.8242 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.485, allocations: 35.47 kB / 0.8242 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.485, allocations: 0 / 0.8242 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002034/0.4852, allocations: 52.62 kB / 0.8243 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.4853, allocations: 51.91 kB / 0.8243 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.086e-05/0.4853, allocations: 117.3 kB / 0.8244 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.4854, allocations: 26.2 kB / 0.8244 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.4854, allocations: 88.3 kB / 0.8245 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-06/0.4854, allocations: 4.906 kB / 0.8245 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.4854, allocations: 19.09 kB / 0.8245 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.4855, allocations: 314.1 kB / 0.8248 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.4855, allocations: 6.906 kB / 0.8249 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.4856, allocations: 21.69 kB / 0.8249 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.4856, allocations: 34.33 kB / 0.8249 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4856, allocations: 0.5 kB / 0.8249 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.904e-05/0.4857, allocations: 58.28 kB / 0.825 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4857, allocations: 4.875 kB / 0.825 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4857, allocations: 1.375 kB / 0.825 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.4857, allocations: 4.875 kB / 0.825 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.4858, allocations: 5.469 kB / 0.825 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4858, allocations: 5.781 kB / 0.825 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.4858, allocations: 1.094 kB / 0.825 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.4859, allocations: 1.375 kB / 0.825 GB, free: 14.95 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.308e-05/0.4859, allocations: 120.3 kB / 0.8251 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.4859, allocations: 4.969 kB / 0.8251 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.642e-05/0.486, allocations: 4.188 kB / 0.8251 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.486, allocations: 0.5938 kB / 0.8251 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.486, allocations: 12.47 kB / 0.8251 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.486, allocations: 0.5938 kB / 0.8251 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.4862, allocations: 359.2 kB / 0.8255 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4862, allocations: 0.5 kB / 0.8255 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.4863, allocations: 5.609 kB / 0.8255 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4863, allocations: 8.969 kB / 0.8255 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.4863, allocations: 0.5 kB / 0.8255 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4863, allocations: 5.125 kB / 0.8255 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4863, allocations: 1.656 kB / 0.8255 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.31e-05/0.4864, allocations: 69.95 kB / 0.8256 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.4864, allocations: 86.05 kB / 0.8256 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.4864, allocations: 1 kB / 0.8256 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.4865, allocations: 9.141 kB / 0.8256 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.4865, allocations: 5.062 kB / 0.8257 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4865, allocations: 1.594 kB / 0.8257 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.4866, allocations: 84.3 kB / 0.8257 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4866, allocations: 0.7812 kB / 0.8257 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001838/0.4868, allocations: 6 kB / 0.8257 GB, free: 14.16 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002867/0.4871, allocations: 0.6139 MB / 0.8263 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.754e-05/0.4871, allocations: 17.78 kB / 0.8264 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4871, allocations: 0.5 kB / 0.8264 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.4872, allocations: 5.891 kB / 0.8264 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.4874, allocations: 7.812 kB / 0.8264 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.4877, allocations: 165.6 kB / 0.8265 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.4879, allocations: 0.6778 MB / 0.8272 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.215e-05/0.4879, allocations: 8.141 kB / 0.8272 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.488, allocations: 11.67 kB / 0.8272 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.488, allocations: 0.5312 kB / 0.8272 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4856/0.9736, allocations: 1.361 MB / 0.8285 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.9738, allocations: 214.7 kB / 0.8287 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.655, allocations: 3.938 kB / 0.8287 GB, free: 12.2 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)