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.0007589/0.0007589, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.0008617/0.0008619, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.258 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.9446/0.9446, allocations: 143.2 MB / 434.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 8 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 83.41 MB / 0.598 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.376/0.5129, allocations: 143.7 MB / 0.7383 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000114/0.5131, allocations: 52.94 kB / 0.7384 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.5131, allocations: 0 / 0.7384 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.836e-05/0.5132, allocations: 8.688 kB / 0.7384 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.499e-05/0.5133, allocations: 8.062 kB / 0.7384 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.5137, allocations: 99.31 kB / 0.7385 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.876e-05/0.5138, allocations: 61.92 kB / 0.7385 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.099e-05/0.5138, allocations: 2.062 kB / 0.7385 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.5139, allocations: 19.69 kB / 0.7386 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.5139, allocations: 17.41 kB / 0.7386 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.5139, allocations: 1.125 kB / 0.7386 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.5142, allocations: 72.08 kB / 0.7386 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.5142, allocations: 10.7 kB / 0.7387 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.5143, allocations: 41.17 kB / 0.7387 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.5144, allocations: 72.88 kB / 0.7388 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.5144, allocations: 4 kB / 0.7388 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5144, allocations: 0.9375 kB / 0.7388 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.5144, allocations: 0 / 0.7388 GB, free: 7.004 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.0002842/0.5147, allocations: 332.8 kB / 0.7391 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.5148, allocations: 8.906 kB / 0.7391 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.5148, allocations: 32.56 kB / 0.7391 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.515, allocations: 19.5 kB / 0.7391 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.203e-05/0.5151, allocations: 164.3 kB / 0.7393 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.5152, allocations: 35.77 kB / 0.7393 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.5152, allocations: 0 / 0.7393 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.5153, allocations: 54.88 kB / 0.7394 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.5153, allocations: 1.094 kB / 0.7394 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.5153, allocations: 0 / 0.7394 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.5153, allocations: 3.219 kB / 0.7394 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.5154, allocations: 18.23 kB / 0.7394 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.5157, allocations: 263.9 kB / 0.7397 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/0.5158, allocations: 20.52 kB / 0.7397 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.5158, allocations: 7.078 kB / 0.7397 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.5158, allocations: 0 / 0.7397 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.5158, allocations: 36.05 kB / 0.7397 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.5158, allocations: 0 / 0.7397 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001094/0.516, allocations: 41.22 kB / 0.7398 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.516, allocations: 56 kB / 0.7398 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.5161, allocations: 105.5 kB / 0.7399 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5161, allocations: 26.92 kB / 0.7399 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.5161, allocations: 94.52 kB / 0.74 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.5161, allocations: 1 kB / 0.74 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.5162, allocations: 11.7 kB / 0.74 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.5163, allocations: 316.9 kB / 0.7403 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.5163, allocations: 7.984 kB / 0.7404 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.5163, allocations: 25.2 kB / 0.7404 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.5164, allocations: 37.05 kB / 0.7404 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5164, allocations: 0 / 0.7404 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.375e-05/0.5165, allocations: 60.5 kB / 0.7405 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.5165, allocations: 5.5 kB / 0.7405 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5165, allocations: 2.328 kB / 0.7405 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.515e-06/0.5165, allocations: 1.094 kB / 0.7405 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.286e-05/0.5166, allocations: 10.14 kB / 0.7405 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5166, allocations: 5.719 kB / 0.7405 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.5166, allocations: 6.562 kB / 0.7405 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.5166, allocations: 1.312 kB / 0.7405 GB, free: 5.18 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.02e-05/0.5167, allocations: 114.2 kB / 0.7406 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.5167, allocations: 2.547 kB / 0.7406 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.5167, allocations: 5.078 kB / 0.7406 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.5167, allocations: 0 / 0.7406 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5168, allocations: 5.062 kB / 0.7406 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-06/0.5168, allocations: 0 / 0.7406 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.517, allocations: 349.3 kB / 0.741 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.517, allocations: 0.5625 kB / 0.741 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.517, allocations: 3.234 kB / 0.741 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.517, allocations: 7.969 kB / 0.741 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.517, allocations: 0.5156 kB / 0.741 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.517, allocations: 4.219 kB / 0.741 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.517, allocations: 0 / 0.741 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.791e-05/0.5171, allocations: 61.75 kB / 0.741 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.5171, allocations: 83.53 kB / 0.7411 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.5172, allocations: 1.844 kB / 0.7411 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.5173, allocations: 12.48 kB / 0.7411 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-06/0.5173, allocations: 1.875 kB / 0.7411 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-06/0.5173, allocations: 0 / 0.7411 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.5173, allocations: 82.14 kB / 0.7412 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5173, allocations: 0 / 0.7412 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001869/0.5175, allocations: 9.75 kB / 0.7412 GB, free: 4.414 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.0002517/0.5178, allocations: 0.6 MB / 0.7418 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.176e-05/0.5178, allocations: 18.55 kB / 0.7418 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5179, allocations: 0 / 0.7418 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.5179, allocations: 2.156 kB / 0.7418 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.5181, allocations: 12.08 kB / 0.7418 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.5184, allocations: 151.8 kB / 0.742 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.5185, allocations: 0.6757 MB / 0.7426 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.128e-05/0.5186, allocations: 5.688 kB / 0.7426 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.5186, allocations: 8.562 kB / 0.7426 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.5186, allocations: 0 / 0.7426 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.447/1.966, allocations: 1.183 MB / 0.7438 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/1.966, allocations: 245.4 kB / 0.744 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/4.301, allocations: 0 / 0.744 GB, free: 2.602 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)