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: translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 107.2 kB / 15.99 MB, free: 6.359 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.001265/0.001265, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.304/1.304, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.8572/0.8572, allocations: 143.1 MB / 433.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.91 kB / 0.5143 GB, free: 15.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3658, allocations: 82.03 MB / 0.5944 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1616/0.5275, allocations: 146.2 MB / 0.7372 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001619/0.5277, allocations: 51.86 kB / 0.7372 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.5278, allocations: 3.938 kB / 0.7372 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.5279, allocations: 3.938 kB / 0.7372 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.199e-05/0.528, allocations: 11.97 kB / 0.7372 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008418/0.5289, allocations: 198.1 kB / 0.7374 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.529, allocations: 35.91 kB / 0.7375 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.529, allocations: 0 / 0.7375 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.5291, allocations: 19.91 kB / 0.7375 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.5292, allocations: 19.92 kB / 0.7375 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.5292, allocations: 4 kB / 0.7375 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.5297, allocations: 195.4 kB / 0.7377 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.5297, allocations: 11.98 kB / 0.7377 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.5298, allocations: 12 kB / 0.7377 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.53, allocations: 81.8 kB / 0.7378 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.53, allocations: 0 / 0.7378 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.53, allocations: 0 / 0.7378 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.53, allocations: 0 / 0.7378 GB, free: 13.13 MB / 0.5762 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.000468/0.5305, allocations: 339.5 kB / 0.7381 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5305, allocations: 8.031 kB / 0.7381 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.5309, allocations: 32.81 kB / 0.7382 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.531, allocations: 160.4 kB / 0.7383 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.5311, allocations: 29.64 kB / 0.7383 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.5311, allocations: 4 kB / 0.7383 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.5313, allocations: 57.59 kB / 0.7384 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.5313, allocations: 0 / 0.7384 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.5313, allocations: 3.938 kB / 0.7384 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.5313, allocations: 4 kB / 0.7384 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/0.5314, allocations: 19.98 kB / 0.7384 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.5318, allocations: 272.9 kB / 0.7387 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/0.5318, allocations: 18.58 kB / 0.7387 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.5319, allocations: 8.922 kB / 0.7387 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.532, allocations: 93.09 kB / 0.7388 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.5321, allocations: 38.5 kB / 0.7388 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.5321, allocations: 0 / 0.7388 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002532/0.5323, allocations: 49.69 kB / 0.7389 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.5324, allocations: 51.41 kB / 0.7389 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.5324, allocations: 113.7 kB / 0.739 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.5325, allocations: 25.7 kB / 0.7391 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.5325, allocations: 88.2 kB / 0.7392 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-06/0.5325, allocations: 3.906 kB / 0.7392 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.5326, allocations: 21.66 kB / 0.7392 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5327, allocations: 318.8 kB / 0.7395 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.5327, allocations: 0 / 0.7395 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.5327, allocations: 30.52 kB / 0.7395 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.5328, allocations: 34.56 kB / 0.7395 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5328, allocations: 0 / 0.7395 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.511e-05/0.5329, allocations: 53.55 kB / 0.7396 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5329, allocations: 7.984 kB / 0.7396 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5329, allocations: 0 / 0.7396 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5329, allocations: 4 kB / 0.7396 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.533, allocations: 7.938 kB / 0.7396 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.533, allocations: 8.031 kB / 0.7396 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.5331, allocations: 4 kB / 0.7396 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.5331, allocations: 0 / 0.7396 GB, free: 10.99 MB / 0.5762 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.014e-05/0.5332, allocations: 113.8 kB / 0.7397 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.5332, allocations: 0 / 0.7397 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.5332, allocations: 3.125 kB / 0.7397 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.5332, allocations: 7.984 kB / 0.7397 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.5332, allocations: 3.938 kB / 0.7398 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5332, allocations: 0 / 0.7398 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.5335, allocations: 359.6 kB / 0.7401 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5335, allocations: 0 / 0.7401 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.5336, allocations: 7.984 kB / 0.7401 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5336, allocations: 3.938 kB / 0.7401 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.5336, allocations: 0 / 0.7401 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5336, allocations: 7.938 kB / 0.7401 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5336, allocations: 0 / 0.7401 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.603e-05/0.5337, allocations: 73.91 kB / 0.7402 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.5338, allocations: 89.03 kB / 0.7403 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.5338, allocations: 0 / 0.7403 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.5339, allocations: 8.281 kB / 0.7403 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.5339, allocations: 0 / 0.7403 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.5339, allocations: 4 kB / 0.7403 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.534, allocations: 91.28 kB / 0.7404 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.534, allocations: 0 / 0.7404 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00021/0.5342, allocations: 8 kB / 0.7404 GB, free: 10.12 MB / 0.5762 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.0001294/0.5343, allocations: 99.19 kB / 0.7405 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.806e-05/0.5344, allocations: 27.92 kB / 0.7405 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5344, allocations: 0 / 0.7405 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.216e-05/0.5344, allocations: 8.188 kB / 0.7405 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.5347, allocations: 18.28 kB / 0.7405 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.535, allocations: 154.5 kB / 0.7407 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.5353, allocations: 0.6768 MB / 0.7413 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.5353, allocations: 7.438 kB / 0.7413 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.5353, allocations: 4.125 kB / 0.7413 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of Templates: time 0.002071/0.5374, allocations: 0.6087 MB / 0.7419 GB, free: 8.457 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)