Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.008239/0.00824, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001691/0.00169, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 1.117/1.117, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.89 kB / 0.5953 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4671, allocations: 82.02 MB / 0.6754 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1915/0.6586, allocations: 148.3 MB / 0.8202 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001584/0.6588, allocations: 55.8 kB / 0.8202 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.6589, allocations: 7.938 kB / 0.8202 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.659, allocations: 3.938 kB / 0.8203 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.374e-05/0.6591, allocations: 19.91 kB / 0.8203 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.6599, allocations: 206.2 kB / 0.8205 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.66, allocations: 35.91 kB / 0.8205 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.6601, allocations: 7.984 kB / 0.8205 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.6601, allocations: 11.94 kB / 0.8205 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.6602, allocations: 23.91 kB / 0.8205 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.6602, allocations: 0 / 0.8205 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.6607, allocations: 187.5 kB / 0.8207 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.6608, allocations: 11.97 kB / 0.8207 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.6608, allocations: 11.94 kB / 0.8207 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.6611, allocations: 111.3 kB / 0.8209 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6612, allocations: 0 / 0.8209 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6612, allocations: 0 / 0.8209 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.6612, allocations: 4 kB / 0.8209 GB, free: 0.6719 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.0004291/0.6616, allocations: 352.6 kB / 0.8212 GB, free: 288 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.6617, allocations: 8.031 kB / 0.8212 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.6617, allocations: 34.75 kB / 0.8212 GB, free: 236 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.662, allocations: 24.84 kB / 0.8213 GB, free: 212 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.6622, allocations: 168.1 kB / 0.8214 GB, free: 4 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.568e-05/0.6623, allocations: 33.69 kB / 0.8214 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.6623, allocations: 7.938 kB / 0.8215 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.6624, allocations: 49.67 kB / 0.8215 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6625, allocations: 0 / 0.8215 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.6625, allocations: 4 kB / 0.8215 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.6625, allocations: 0 / 0.8215 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.6626, allocations: 19.98 kB / 0.8215 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.6629, allocations: 264.8 kB / 0.8218 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.17e-05/0.663, allocations: 26.52 kB / 0.8218 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.663, allocations: 12.92 kB / 0.8218 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.6632, allocations: 93.09 kB / 0.8219 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.6632, allocations: 34.56 kB / 0.8219 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.6632, allocations: 0 / 0.8219 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002461/0.6635, allocations: 49.69 kB / 0.822 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.6636, allocations: 59.34 kB / 0.822 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.476e-05/0.6637, allocations: 105.8 kB / 0.8221 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.6637, allocations: 25.7 kB / 0.8222 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.6637, allocations: 88.09 kB / 0.8223 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.6638, allocations: 3.953 kB / 0.8223 GB, free: 15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.6638, allocations: 21.72 kB / 0.8223 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6639, allocations: 322.9 kB / 0.8226 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.664, allocations: 8 kB / 0.8226 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.664, allocations: 18.58 kB / 0.8226 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.151e-05/0.6641, allocations: 34.5 kB / 0.8226 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6641, allocations: 0 / 0.8226 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.858e-05/0.6642, allocations: 57.62 kB / 0.8227 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6642, allocations: 8 kB / 0.8227 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.6642, allocations: 0 / 0.8227 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.6642, allocations: 0 / 0.8227 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.6643, allocations: 8 kB / 0.8227 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6643, allocations: 3.938 kB / 0.8227 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.6643, allocations: 3.953 kB / 0.8227 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.6643, allocations: 4 kB / 0.8227 GB, free: 14.48 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.846e-05/0.6644, allocations: 117.9 kB / 0.8228 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.6645, allocations: 4 kB / 0.8228 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.6645, allocations: 7.109 kB / 0.8228 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.6645, allocations: 0 / 0.8228 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6645, allocations: 3.938 kB / 0.8229 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.6645, allocations: 0 / 0.8229 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.6648, allocations: 367.5 kB / 0.8232 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6649, allocations: 4.062 kB / 0.8232 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.6649, allocations: 7.938 kB / 0.8232 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.6649, allocations: 0 / 0.8232 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.6649, allocations: 0 / 0.8232 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6649, allocations: 0 / 0.8232 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6649, allocations: 0 / 0.8232 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.82e-05/0.665, allocations: 78.2 kB / 0.8233 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.6651, allocations: 89.03 kB / 0.8234 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.6651, allocations: 4 kB / 0.8234 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.6652, allocations: 3.984 kB / 0.8234 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.6652, allocations: 4 kB / 0.8234 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.6652, allocations: 0 / 0.8234 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.6653, allocations: 83.27 kB / 0.8235 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6653, allocations: 0 / 0.8235 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001909/0.6655, allocations: 8 kB / 0.8235 GB, free: 13.61 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004353/0.6659, allocations: 0.6171 MB / 0.8241 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.958e-05/0.666, allocations: 15.94 kB / 0.8241 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.666, allocations: 4.219 kB / 0.8241 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.666, allocations: 4 kB / 0.8241 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.6663, allocations: 19.66 kB / 0.8241 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.6668, allocations: 141.1 kB / 0.8242 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.6671, allocations: 0.6806 MB / 0.8249 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.093e-05/0.6671, allocations: 11.98 kB / 0.8249 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.6672, allocations: 15.44 kB / 0.8249 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6672, allocations: 0 / 0.8249 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.6885, allocations: 1.465 MB / 0.8264 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.415, allocations: 14.56 kB / 0.8264 GB, free: 10.64 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)