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: translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, 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.002183/0.002183, allocations: 195.2 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.1/1.1, allocations: 143 MB / 433.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 55.91 kB / 0.5142 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1678, allocations: 82.04 MB / 0.5943 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4415/0.6093, allocations: 147.8 MB / 0.7386 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001764/0.6096, allocations: 56.73 kB / 0.7387 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.6096, allocations: 0 / 0.7387 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.6097, allocations: 0 / 0.7387 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.744e-05/0.6099, allocations: 15.86 kB / 0.7387 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.6104, allocations: 110.4 kB / 0.7388 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.696e-05/0.6105, allocations: 30.77 kB / 0.7388 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.6105, allocations: 1.375 kB / 0.7388 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.6106, allocations: 23.8 kB / 0.7389 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.6107, allocations: 13.06 kB / 0.7389 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.6107, allocations: 0 / 0.7389 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.611, allocations: 82.69 kB / 0.739 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.611, allocations: 10.38 kB / 0.739 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.6111, allocations: 10 kB / 0.739 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.6113, allocations: 73.31 kB / 0.7391 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6113, allocations: 1.375 kB / 0.7391 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6113, allocations: 4 kB / 0.7391 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.547e-06/0.6113, allocations: 0 / 0.7391 GB, free: 5.773 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.0004143/0.6117, allocations: 340.6 kB / 0.7394 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6118, allocations: 13.5 kB / 0.7394 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.612, allocations: 17.09 kB / 0.7394 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.6122, allocations: 170.4 kB / 0.7396 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.6122, allocations: 30.92 kB / 0.7396 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.6123, allocations: 5.25 kB / 0.7396 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.6124, allocations: 51.05 kB / 0.7397 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.6124, allocations: 1.375 kB / 0.7397 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.6124, allocations: 0 / 0.7397 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.6124, allocations: 1.406 kB / 0.7397 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.6125, allocations: 18.61 kB / 0.7397 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.6129, allocations: 265.6 kB / 0.7399 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/0.613, allocations: 15.67 kB / 0.7399 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.613, allocations: 15.25 kB / 0.74 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.613, allocations: 0 / 0.74 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.613, allocations: 37.11 kB / 0.74 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.6131, allocations: 0 / 0.74 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001573/0.6132, allocations: 35.27 kB / 0.74 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.6133, allocations: 56.62 kB / 0.7401 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.6134, allocations: 109.7 kB / 0.7402 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.6134, allocations: 25.7 kB / 0.7402 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.6134, allocations: 90.83 kB / 0.7403 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/0.6134, allocations: 5.688 kB / 0.7403 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.6135, allocations: 17.95 kB / 0.7403 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.6136, allocations: 318 kB / 0.7406 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.6136, allocations: 7.891 kB / 0.7406 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.6137, allocations: 24.77 kB / 0.7407 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.6137, allocations: 28.91 kB / 0.7407 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6137, allocations: 0 / 0.7407 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.46e-05/0.6138, allocations: 54.16 kB / 0.7407 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6138, allocations: 8.969 kB / 0.7407 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6138, allocations: 0.625 kB / 0.7407 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6139, allocations: 5.625 kB / 0.7407 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/0.6139, allocations: 5.812 kB / 0.7408 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.6139, allocations: 6.016 kB / 0.7408 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.614, allocations: 1.469 kB / 0.7408 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.614, allocations: 7.562 kB / 0.7408 GB, free: 3.988 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 7.401e-05/0.6141, allocations: 112.5 kB / 0.7409 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.6141, allocations: 2.062 kB / 0.7409 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.6141, allocations: 9.094 kB / 0.7409 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6141, allocations: 1.5 kB / 0.7409 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6142, allocations: 4.922 kB / 0.7409 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.6142, allocations: 0 / 0.7409 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.6144, allocations: 347.9 kB / 0.7412 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6145, allocations: 5.469 kB / 0.7412 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.6145, allocations: 1.406 kB / 0.7412 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-06/0.6145, allocations: 4.828 kB / 0.7412 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6145, allocations: 8.031 kB / 0.7412 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6145, allocations: 1.062 kB / 0.7412 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6145, allocations: 0 / 0.7412 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.782e-05/0.6146, allocations: 58.36 kB / 0.7413 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.6146, allocations: 80.36 kB / 0.7414 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.6147, allocations: 3.938 kB / 0.7414 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.6147, allocations: 5.078 kB / 0.7414 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.6148, allocations: 8.031 kB / 0.7414 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.6148, allocations: 1.156 kB / 0.7414 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.6148, allocations: 86.28 kB / 0.7415 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6148, allocations: 0 / 0.7415 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001905/0.615, allocations: 7.156 kB / 0.7415 GB, free: 3.215 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 9.761e-05/0.6151, allocations: 97.53 kB / 0.7416 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.399e-05/0.6152, allocations: 16.81 kB / 0.7416 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6152, allocations: 4.188 kB / 0.7416 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-06/0.6152, allocations: 5.812 kB / 0.7416 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.6155, allocations: 3.844 kB / 0.7416 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.6158, allocations: 104.5 kB / 0.7417 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.616, allocations: 0.6774 MB / 0.7424 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.768e-05/0.6161, allocations: 8.547 kB / 0.7424 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.6161, allocations: 10.27 kB / 0.7424 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.6161, allocations: 0 / 0.7424 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of Templates: time 0.00263/0.6188, allocations: 0.4963 MB / 0.7429 GB, free: 2.277 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)