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/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.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.01047/0.01047, allocations: 100.2 kB / 15.73 MB, free: 6.035 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.001887/0.001888, allocations: 187.5 kB / 16.67 MB, free: 5.969 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.168 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 1.083/1.083, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 0.595 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5207, allocations: 82.03 MB / 0.6751 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.17/0.6908, allocations: 148.3 MB / 0.8199 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001671/0.691, allocations: 59.67 kB / 0.82 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.691, allocations: 0 / 0.82 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.6912, allocations: 11.92 kB / 0.82 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.6913, allocations: 7.984 kB / 0.82 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.6922, allocations: 207.2 kB / 0.8202 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.255e-05/0.6923, allocations: 35.91 kB / 0.8203 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.6923, allocations: 3.984 kB / 0.8203 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.6924, allocations: 16 kB / 0.8203 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.6925, allocations: 23.84 kB / 0.8203 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.6925, allocations: 0 / 0.8203 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004804/0.693, allocations: 191.5 kB / 0.8205 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.693, allocations: 11.97 kB / 0.8205 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.449e-05/0.6931, allocations: 11.94 kB / 0.8205 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.6934, allocations: 110 kB / 0.8206 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.6934, allocations: 0 / 0.8206 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6934, allocations: 0 / 0.8206 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.6934, allocations: 0 / 0.8206 GB, free: 1.047 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.0005144/0.6939, allocations: 347.5 kB / 0.8209 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.694, allocations: 8.031 kB / 0.8209 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.6941, allocations: 34.75 kB / 0.821 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.6944, allocations: 28.81 kB / 0.821 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.6946, allocations: 168.1 kB / 0.8212 GB, free: 388 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.6947, allocations: 29.64 kB / 0.8212 GB, free: 352 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.6947, allocations: 0 / 0.8212 GB, free: 352 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.6949, allocations: 57.61 kB / 0.8212 GB, free: 288 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.6949, allocations: 3.984 kB / 0.8213 GB, free: 284 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.6949, allocations: 0 / 0.8213 GB, free: 284 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.695, allocations: 4 kB / 0.8213 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.315e-05/0.695, allocations: 19.98 kB / 0.8213 GB, free: 260 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.6955, allocations: 257 kB / 0.8215 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.877e-05/0.6956, allocations: 18.58 kB / 0.8215 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.6956, allocations: 20.86 kB / 0.8216 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.6958, allocations: 93.09 kB / 0.8216 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.6958, allocations: 34.56 kB / 0.8217 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.6958, allocations: 0 / 0.8217 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002855/0.6961, allocations: 45.81 kB / 0.8217 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.6962, allocations: 63.34 kB / 0.8218 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.6963, allocations: 105.8 kB / 0.8219 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.6963, allocations: 25.7 kB / 0.8219 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.6964, allocations: 91.98 kB / 0.822 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.6964, allocations: 7.906 kB / 0.822 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.6965, allocations: 17.72 kB / 0.822 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6966, allocations: 314.8 kB / 0.8223 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.6966, allocations: 15.94 kB / 0.8223 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.6967, allocations: 18.58 kB / 0.8224 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.244e-05/0.6967, allocations: 30.56 kB / 0.8224 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6968, allocations: 0 / 0.8224 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.467e-05/0.6969, allocations: 61.59 kB / 0.8224 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6969, allocations: 8 kB / 0.8225 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6969, allocations: 0 / 0.8225 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.6969, allocations: 0 / 0.8225 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.697, allocations: 11.94 kB / 0.8225 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.697, allocations: 3.938 kB / 0.8225 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.697, allocations: 0 / 0.8225 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.6971, allocations: 8 kB / 0.8225 GB, free: 14.86 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 9.878e-05/0.6972, allocations: 105.8 kB / 0.8226 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.6972, allocations: 8.016 kB / 0.8226 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.6972, allocations: 15.06 kB / 0.8226 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6972, allocations: 0 / 0.8226 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.6972, allocations: 3.938 kB / 0.8226 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6973, allocations: 0 / 0.8226 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.6976, allocations: 363.5 kB / 0.8229 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6976, allocations: 0 / 0.8229 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.6977, allocations: 7.938 kB / 0.823 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6977, allocations: 4.062 kB / 0.823 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.6977, allocations: 0 / 0.823 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6977, allocations: 0 / 0.823 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6977, allocations: 0 / 0.823 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.6978, allocations: 81.83 kB / 0.823 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.6979, allocations: 81.05 kB / 0.8231 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.6979, allocations: 4 kB / 0.8231 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.698, allocations: 4.031 kB / 0.8231 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.698, allocations: 0 / 0.8231 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.698, allocations: 4 kB / 0.8231 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.239e-05/0.6981, allocations: 87.53 kB / 0.8232 GB, free: 14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6981, allocations: 0 / 0.8232 GB, free: 14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002008/0.6983, allocations: 8 kB / 0.8232 GB, free: 13.99 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.00056/0.6989, allocations: 0.6132 MB / 0.8238 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.699, allocations: 16 kB / 0.8238 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.699, allocations: 0 / 0.8238 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.586e-05/0.6991, allocations: 16.2 kB / 0.8238 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.6993, allocations: 13.66 kB / 0.8239 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.6998, allocations: 149.1 kB / 0.824 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.7001, allocations: 0.6768 MB / 0.8247 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.559e-05/0.7002, allocations: 11.92 kB / 0.8247 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.7002, allocations: 15.42 kB / 0.8247 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.7002, allocations: 0 / 0.8247 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.7174, allocations: 1.476 MB / 0.8261 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/8.247, allocations: 9.172 kB / 0.8261 GB, free: 11.02 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)