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.005808/0.005808, allocations: 101.2 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.00118/0.001181, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.9793/0.9793, allocations: 143 MB / 433.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.5951 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4521, allocations: 82.02 MB / 0.6752 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1731/0.6252, allocations: 147.8 MB / 0.8195 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.000195/0.6254, allocations: 59.8 kB / 0.8196 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.6255, allocations: 0 / 0.8196 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.6256, allocations: 3.984 kB / 0.8196 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.877e-05/0.6259, allocations: 7.938 kB / 0.8196 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006825/0.6266, allocations: 110.8 kB / 0.8197 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.6267, allocations: 35.91 kB / 0.8198 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.6267, allocations: 0 / 0.8198 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.771e-05/0.6268, allocations: 19.92 kB / 0.8198 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.6269, allocations: 19.91 kB / 0.8198 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.6269, allocations: 0 / 0.8198 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.6273, allocations: 75.8 kB / 0.8199 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.6274, allocations: 15.92 kB / 0.8199 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.6275, allocations: 19.92 kB / 0.8199 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.6277, allocations: 66.11 kB / 0.82 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.6277, allocations: 0 / 0.82 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6277, allocations: 0 / 0.82 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.6277, allocations: 0 / 0.82 GB, free: 1.59 MB / 0.6387 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.0005593/0.6283, allocations: 343.5 kB / 0.8203 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.6284, allocations: 8.625 kB / 0.8203 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.619e-05/0.6284, allocations: 34.73 kB / 0.8203 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.6287, allocations: 24.83 kB / 0.8204 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.6289, allocations: 168.1 kB / 0.8205 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-05/0.6289, allocations: 29.69 kB / 0.8205 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.629, allocations: 0 / 0.8205 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.6291, allocations: 49.62 kB / 0.8206 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.6292, allocations: 0 / 0.8206 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.6292, allocations: 0 / 0.8206 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.6292, allocations: 4 kB / 0.8206 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.788e-05/0.6293, allocations: 15.98 kB / 0.8206 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.6297, allocations: 260.9 kB / 0.8209 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.6298, allocations: 18.58 kB / 0.8209 GB, free: 500 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.6298, allocations: 12.8 kB / 0.8209 GB, free: 484 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.6298, allocations: 3.984 kB / 0.8209 GB, free: 480 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.6299, allocations: 34.56 kB / 0.8209 GB, free: 436 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.6299, allocations: 0 / 0.8209 GB, free: 436 kB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001837/0.6301, allocations: 37.75 kB / 0.821 GB, free: 392 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.6301, allocations: 55.34 kB / 0.821 GB, free: 324 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.6303, allocations: 117.7 kB / 0.8211 GB, free: 196 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.6303, allocations: 25.7 kB / 0.8212 GB, free: 164 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.6303, allocations: 99.92 kB / 0.8212 GB, free: 60 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.6304, allocations: 0 / 0.8212 GB, free: 60 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.6304, allocations: 17.84 kB / 0.8213 GB, free: 36 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6306, allocations: 318.8 kB / 0.8216 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.6306, allocations: 7.938 kB / 0.8216 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.6306, allocations: 18.58 kB / 0.8216 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.6307, allocations: 34.56 kB / 0.8216 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6307, allocations: 0 / 0.8216 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.301e-05/0.6308, allocations: 53.55 kB / 0.8217 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6308, allocations: 4 kB / 0.8217 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.6308, allocations: 7.984 kB / 0.8217 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6308, allocations: 3.938 kB / 0.8217 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.6309, allocations: 11.94 kB / 0.8217 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6309, allocations: 4 kB / 0.8217 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.631, allocations: 0 / 0.8217 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.631, allocations: 4.094 kB / 0.8217 GB, free: 15.54 MB / 0.6544 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 8.739e-05/0.6311, allocations: 109.8 kB / 0.8218 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.6311, allocations: 0 / 0.8218 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.6311, allocations: 7.125 kB / 0.8218 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.6311, allocations: 3.938 kB / 0.8218 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6311, allocations: 3.984 kB / 0.8218 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.6312, allocations: 0 / 0.8218 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.6314, allocations: 350.7 kB / 0.8222 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6315, allocations: 0 / 0.8222 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.947e-05/0.6315, allocations: 7.938 kB / 0.8222 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.6315, allocations: 0 / 0.8222 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.6315, allocations: 0 / 0.8222 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6315, allocations: 0 / 0.8222 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6315, allocations: 0 / 0.8222 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.974e-05/0.6316, allocations: 61.03 kB / 0.8222 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.6316, allocations: 89.11 kB / 0.8223 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.6317, allocations: 0 / 0.8223 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.6318, allocations: 7.984 kB / 0.8223 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.6318, allocations: 0 / 0.8223 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.6318, allocations: 256 / 0.8223 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.6318, allocations: 87.22 kB / 0.8224 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6318, allocations: 3.938 kB / 0.8224 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002285/0.6321, allocations: 12 kB / 0.8224 GB, free: 14.71 MB / 0.6544 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.0003691/0.6325, allocations: 0.6007 MB / 0.823 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.964e-05/0.6326, allocations: 11.94 kB / 0.823 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6326, allocations: 0 / 0.823 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.6326, allocations: 4 kB / 0.823 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.6328, allocations: 10.59 kB / 0.823 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.6332, allocations: 140.2 kB / 0.8232 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.6335, allocations: 0.6768 MB / 0.8238 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.688e-05/0.6336, allocations: 7.859 kB / 0.8238 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.6336, allocations: 11.44 kB / 0.8238 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of SimCode: time 7.52e-07/0.6336, allocations: 0 / 0.8238 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.6524, allocations: 1.396 MB / 0.8252 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/8.116, allocations: 16.72 kB / 0.8252 GB, free: 11.94 MB / 0.6544 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)