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.0009404/0.0009405, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009063/0.0009063, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.207/1.207, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.8695/0.8695, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.89 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1211, allocations: 82.03 MB / 0.5944 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3238/0.445, allocations: 147.8 MB / 0.7388 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.4451, allocations: 49.33 kB / 0.7388 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.4452, allocations: 5.375 kB / 0.7388 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.061e-05/0.4452, allocations: 0 / 0.7388 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.4454, allocations: 15.5 kB / 0.7388 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.4458, allocations: 109.9 kB / 0.7389 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.4459, allocations: 31.02 kB / 0.739 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.4459, allocations: 5.266 kB / 0.739 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.4459, allocations: 18.75 kB / 0.739 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.446, allocations: 13.34 kB / 0.739 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.446, allocations: 3.984 kB / 0.739 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.4462, allocations: 80.16 kB / 0.7391 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.4463, allocations: 13.95 kB / 0.7391 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.4463, allocations: 13.25 kB / 0.7391 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.4465, allocations: 69.36 kB / 0.7392 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4465, allocations: 0 / 0.7392 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4465, allocations: 1.656 kB / 0.7392 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.4465, allocations: 0 / 0.7392 GB, free: 5.656 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.0003205/0.4468, allocations: 342.9 kB / 0.7395 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.4469, allocations: 9.938 kB / 0.7395 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.4469, allocations: 37.16 kB / 0.7395 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.4471, allocations: 19.73 kB / 0.7396 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.113e-05/0.4472, allocations: 165.7 kB / 0.7397 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.4473, allocations: 31.08 kB / 0.7398 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.4473, allocations: 5.547 kB / 0.7398 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.4474, allocations: 55.83 kB / 0.7398 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.4474, allocations: 0 / 0.7398 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4474, allocations: 1.469 kB / 0.7398 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.4474, allocations: 1.25 kB / 0.7398 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.4475, allocations: 19.95 kB / 0.7398 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.4478, allocations: 257.9 kB / 0.7401 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.022e-05/0.4479, allocations: 19.64 kB / 0.7401 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.4479, allocations: 9.891 kB / 0.7401 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-06/0.4479, allocations: 1.219 kB / 0.7401 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.4479, allocations: 33.33 kB / 0.7401 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4479, allocations: 0 / 0.7401 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.448, allocations: 39.86 kB / 0.7402 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.4481, allocations: 55.47 kB / 0.7402 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.4482, allocations: 110.1 kB / 0.7403 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.4482, allocations: 25.7 kB / 0.7404 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.4482, allocations: 90.61 kB / 0.7404 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.691e-06/0.4482, allocations: 5.344 kB / 0.7404 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.4483, allocations: 18.77 kB / 0.7405 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.4483, allocations: 311.9 kB / 0.7408 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.4484, allocations: 13.47 kB / 0.7408 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.4484, allocations: 24.55 kB / 0.7408 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.4484, allocations: 31.92 kB / 0.7408 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4484, allocations: 0 / 0.7408 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.854e-05/0.4485, allocations: 52.91 kB / 0.7409 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.4485, allocations: 6.312 kB / 0.7409 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4486, allocations: 6.406 kB / 0.7409 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.4486, allocations: 4.031 kB / 0.7409 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-05/0.4486, allocations: 7.938 kB / 0.7409 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4486, allocations: 5.25 kB / 0.7409 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.4487, allocations: 5.203 kB / 0.7409 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.4487, allocations: 1.344 kB / 0.7409 GB, free: 3.828 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 5.671e-05/0.4488, allocations: 113.4 kB / 0.741 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.4488, allocations: 3.562 kB / 0.741 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.653e-05/0.4488, allocations: 8.156 kB / 0.741 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4488, allocations: 1.25 kB / 0.741 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4488, allocations: 5.719 kB / 0.741 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.4488, allocations: 0 / 0.741 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.4491, allocations: 348.3 kB / 0.7414 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4491, allocations: 0.75 kB / 0.7414 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.4491, allocations: 1.375 kB / 0.7414 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4491, allocations: 5.719 kB / 0.7414 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.4491, allocations: 4.234 kB / 0.7414 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4491, allocations: 4.031 kB / 0.7414 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4491, allocations: 3.281 kB / 0.7414 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.775e-05/0.4492, allocations: 61.78 kB / 0.7415 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.4492, allocations: 83.62 kB / 0.7415 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.4492, allocations: 0 / 0.7415 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.4493, allocations: 6.172 kB / 0.7415 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/0.4494, allocations: 1.344 kB / 0.7415 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.4494, allocations: 4.031 kB / 0.7415 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.4494, allocations: 88.56 kB / 0.7416 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4494, allocations: 0 / 0.7416 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000198/0.4496, allocations: 6.531 kB / 0.7416 GB, free: 3.055 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.0002578/0.4499, allocations: 0.5964 MB / 0.7422 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.882e-05/0.45, allocations: 19.92 kB / 0.7422 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.45, allocations: 0 / 0.7422 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.45, allocations: 2.719 kB / 0.7422 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.4502, allocations: 6.438 kB / 0.7422 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.4505, allocations: 137.3 kB / 0.7424 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.4506, allocations: 0.6805 MB / 0.743 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.761e-05/0.4507, allocations: 6.719 kB / 0.743 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.4507, allocations: 9.906 kB / 0.7431 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4507, allocations: 0 / 0.7431 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3867/0.8375, allocations: 1.353 MB / 0.7444 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.42, allocations: 9.531 kB / 0.7444 GB, free: 1.203 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)