Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001381/0.001381, 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.001693/0.001693, allocations: 192.7 kB / 16.25 MB, free: 6.633 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9497/0.9497, allocations: 143 MB / 433.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 55.91 kB / 0.5138 GB, free: 11.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1356, allocations: 82.04 MB / 0.5939 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3772/0.5128, allocations: 145.7 MB / 0.7362 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.513, allocations: 48.33 kB / 0.7363 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.513, allocations: 1.375 kB / 0.7363 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.379e-05/0.5131, allocations: 0.6562 kB / 0.7363 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.5132, allocations: 13.91 kB / 0.7363 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.5137, allocations: 106 kB / 0.7364 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.676e-05/0.5138, allocations: 33.72 kB / 0.7364 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.5138, allocations: 3.266 kB / 0.7364 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.16e-05/0.5139, allocations: 19.19 kB / 0.7365 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.5139, allocations: 10.36 kB / 0.7365 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.5139, allocations: 0 / 0.7365 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.5142, allocations: 81.05 kB / 0.7365 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.414e-05/0.5143, allocations: 15.16 kB / 0.7366 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.5143, allocations: 10.8 kB / 0.7366 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.5145, allocations: 73.28 kB / 0.7366 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5145, allocations: 4 kB / 0.7366 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5145, allocations: 0 / 0.7366 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.5145, allocations: 0 / 0.7366 GB, free: 7.191 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.0003525/0.5148, allocations: 344.1 kB / 0.737 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5149, allocations: 10.22 kB / 0.737 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.5149, allocations: 33.06 kB / 0.737 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.5151, allocations: 18.19 kB / 0.737 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.5153, allocations: 167.3 kB / 0.7372 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.5153, allocations: 31.77 kB / 0.7372 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.5153, allocations: 1.375 kB / 0.7372 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.5155, allocations: 53.69 kB / 0.7373 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.5155, allocations: 1.625 kB / 0.7373 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.5155, allocations: 0 / 0.7373 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.5155, allocations: 2.25 kB / 0.7373 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.623e-05/0.5156, allocations: 22.48 kB / 0.7373 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.5159, allocations: 261.4 kB / 0.7375 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.486e-05/0.516, allocations: 20.05 kB / 0.7376 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.516, allocations: 10.48 kB / 0.7376 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.516, allocations: 0.7969 kB / 0.7376 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.5161, allocations: 32.25 kB / 0.7376 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5161, allocations: 4 kB / 0.7376 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.5162, allocations: 40.39 kB / 0.7377 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.5162, allocations: 56.69 kB / 0.7377 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.5163, allocations: 104.3 kB / 0.7378 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.5163, allocations: 27.92 kB / 0.7378 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.5164, allocations: 94.67 kB / 0.7379 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.5164, allocations: 4.562 kB / 0.7379 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.5164, allocations: 14.7 kB / 0.7379 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.5165, allocations: 321.3 kB / 0.7382 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.5166, allocations: 4.344 kB / 0.7383 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.5166, allocations: 28.19 kB / 0.7383 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.5166, allocations: 28.12 kB / 0.7383 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5166, allocations: 4.656 kB / 0.7383 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.976e-05/0.5167, allocations: 57.19 kB / 0.7384 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.5168, allocations: 6.062 kB / 0.7384 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5168, allocations: 1.281 kB / 0.7384 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5168, allocations: 1.062 kB / 0.7384 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.5168, allocations: 6.359 kB / 0.7384 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5168, allocations: 6.266 kB / 0.7384 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.5169, allocations: 1.312 kB / 0.7384 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.5169, allocations: 2.375 kB / 0.7384 GB, free: 5.363 MB / 0.5606 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.409e-05/0.517, allocations: 117.8 kB / 0.7385 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.517, allocations: 1.188 kB / 0.7385 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.517, allocations: 9.469 kB / 0.7385 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.517, allocations: 1.531 kB / 0.7385 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.517, allocations: 3.938 kB / 0.7385 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5171, allocations: 1.969 kB / 0.7385 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.5173, allocations: 345.9 kB / 0.7388 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5173, allocations: 4.031 kB / 0.7389 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.5173, allocations: 3.469 kB / 0.7389 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.5173, allocations: 3.938 kB / 0.7389 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.5173, allocations: 3.938 kB / 0.7389 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5174, allocations: 1.188 kB / 0.7389 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5174, allocations: 2.641 kB / 0.7389 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.252e-05/0.5174, allocations: 62.36 kB / 0.7389 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.5175, allocations: 87.09 kB / 0.739 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.5175, allocations: 0.6094 kB / 0.739 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.5176, allocations: 3.75 kB / 0.739 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.5176, allocations: 0 / 0.739 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.5176, allocations: 2.078 kB / 0.739 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.5177, allocations: 81.52 kB / 0.7391 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5177, allocations: 0 / 0.7391 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001949/0.5179, allocations: 10.66 kB / 0.7391 GB, free: 4.59 MB / 0.5606 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.0002778/0.5181, allocations: 0.6014 MB / 0.7397 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.57e-05/0.5182, allocations: 10.94 kB / 0.7397 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5182, allocations: 0.6562 kB / 0.7397 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.454e-06/0.5182, allocations: 6.375 kB / 0.7397 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.5185, allocations: 9.828 kB / 0.7397 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.5188, allocations: 140.6 kB / 0.7399 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.519, allocations: 0.6762 MB / 0.7405 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.902e-05/0.5191, allocations: 9.094 kB / 0.7405 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.5191, allocations: 16.56 kB / 0.7405 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5191, allocations: 5.25 kB / 0.7405 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1845/0.7036, allocations: 1.271 MB / 0.7418 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.7038, allocations: 243.2 kB / 0.742 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.963, allocations: 1.156 kB / 0.742 GB, free: 2.711 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)