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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.004442/0.004443, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.001315/0.001315, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9022/0.9022, allocations: 143.3 MB / 433.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.001941, allocations: 59.89 kB / 0.5953 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3575, allocations: 82.03 MB / 0.6754 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1883/0.5458, allocations: 147.8 MB / 0.8198 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.000176/0.546, allocations: 55.8 kB / 0.8199 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.5461, allocations: 0 / 0.8199 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 9.842e-05/0.5462, allocations: 7.922 kB / 0.8199 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.045e-05/0.5463, allocations: 7.938 kB / 0.8199 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.5469, allocations: 119.5 kB / 0.82 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.518e-05/0.547, allocations: 31.91 kB / 0.82 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.5471, allocations: 3.938 kB / 0.82 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.5471, allocations: 19.92 kB / 0.82 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.5472, allocations: 11.97 kB / 0.82 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.5472, allocations: 4 kB / 0.82 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.5475, allocations: 83.72 kB / 0.8201 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.5475, allocations: 11.94 kB / 0.8201 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.5475, allocations: 11.98 kB / 0.8202 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.5477, allocations: 71.36 kB / 0.8202 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.5477, allocations: 4 kB / 0.8202 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5477, allocations: 0 / 0.8202 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5478, allocations: 0 / 0.8202 GB, free: 1.352 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.0003942/0.5482, allocations: 340.7 kB / 0.8205 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.5482, allocations: 8.625 kB / 0.8206 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.5482, allocations: 34.75 kB / 0.8206 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.5484, allocations: 24.92 kB / 0.8206 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.5486, allocations: 168.1 kB / 0.8208 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.68e-05/0.5487, allocations: 29.69 kB / 0.8208 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.5487, allocations: 4 kB / 0.8208 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.5489, allocations: 45.62 kB / 0.8209 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5489, allocations: 0 / 0.8209 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.5489, allocations: 0 / 0.8209 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.549, allocations: 8 kB / 0.8209 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.228e-05/0.549, allocations: 19.98 kB / 0.8209 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.5496, allocations: 260.8 kB / 0.8211 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.5496, allocations: 22.52 kB / 0.8211 GB, free: 248 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.5497, allocations: 4.859 kB / 0.8212 GB, free: 240 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.5497, allocations: 4 kB / 0.8212 GB, free: 236 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.5497, allocations: 34.62 kB / 0.8212 GB, free: 192 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.5497, allocations: 0 / 0.8212 GB, free: 192 kB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001859/0.5499, allocations: 37.69 kB / 0.8212 GB, free: 148 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.55, allocations: 59.28 kB / 0.8213 GB, free: 76 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.5501, allocations: 105.8 kB / 0.8214 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.5502, allocations: 25.7 kB / 0.8214 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.5502, allocations: 95.98 kB / 0.8215 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-06/0.5503, allocations: 4.125 kB / 0.8215 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.5503, allocations: 17.72 kB / 0.8215 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5505, allocations: 314.8 kB / 0.8218 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.5505, allocations: 4 kB / 0.8218 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.836e-05/0.5506, allocations: 26.52 kB / 0.8218 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.5507, allocations: 34.56 kB / 0.8219 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5507, allocations: 3.938 kB / 0.8219 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001218/0.5508, allocations: 49.89 kB / 0.8219 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5508, allocations: 8 kB / 0.8219 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5508, allocations: 0 / 0.8219 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.5509, allocations: 3.984 kB / 0.8219 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.551, allocations: 15.94 kB / 0.822 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.551, allocations: 0 / 0.822 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.78e-05/0.551, allocations: 8.047 kB / 0.822 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.5511, allocations: 4 kB / 0.822 GB, free: 15.31 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 0.0001111/0.5512, allocations: 113.8 kB / 0.8221 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.5512, allocations: 4 kB / 0.8221 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.5512, allocations: 3.125 kB / 0.8221 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5513, allocations: 3.938 kB / 0.8221 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5513, allocations: 3.984 kB / 0.8221 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5513, allocations: 0 / 0.8221 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.5517, allocations: 346.7 kB / 0.8224 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5517, allocations: 0 / 0.8224 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.5517, allocations: 7.938 kB / 0.8224 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5517, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.5517, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5517, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5518, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.5519, allocations: 65.16 kB / 0.8225 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.5519, allocations: 85 kB / 0.8226 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.552, allocations: 0 / 0.8226 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5521, allocations: 11.92 kB / 0.8226 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.5521, allocations: 8.016 kB / 0.8226 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.5521, allocations: 0 / 0.8226 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.511e-05/0.5522, allocations: 87.28 kB / 0.8227 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.5522, allocations: 0 / 0.8227 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003462/0.5526, allocations: 4 kB / 0.8227 GB, free: 14.48 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.0005073/0.5531, allocations: 0.5968 MB / 0.8233 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.5532, allocations: 19.94 kB / 0.8233 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5532, allocations: 0 / 0.8233 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.5532, allocations: 4.219 kB / 0.8233 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.5536, allocations: 11.92 kB / 0.8233 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.5541, allocations: 136.2 kB / 0.8234 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.5545, allocations: 0.6806 MB / 0.8241 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.927e-05/0.5546, allocations: 7.859 kB / 0.8241 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.5546, allocations: 15.44 kB / 0.8241 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.5546, allocations: 0 / 0.8241 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.5849, allocations: 1.381 MB / 0.8255 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.57, allocations: 10.28 kB / 0.8255 GB, free: 11.71 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)