Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.008368/0.008368, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001822/0.001822, allocations: 192.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.558/1.558, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 69.94 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2315, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7039/0.9354, allocations: 147.8 MB / 0.9724 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001598/0.9356, allocations: 51.05 kB / 0.9725 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.9357, allocations: 1.594 kB / 0.9725 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.9358, allocations: 4 kB / 0.9725 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.649e-05/0.936, allocations: 13.02 kB / 0.9725 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.9365, allocations: 99.78 kB / 0.9726 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.9366, allocations: 34.2 kB / 0.9726 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.9367, allocations: 3.531 kB / 0.9726 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.9367, allocations: 14.81 kB / 0.9726 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.9368, allocations: 15.05 kB / 0.9727 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.9368, allocations: 1.094 kB / 0.9727 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.9371, allocations: 90.89 kB / 0.9727 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.9372, allocations: 11.84 kB / 0.9728 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.9372, allocations: 5.469 kB / 0.9728 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.9374, allocations: 74.27 kB / 0.9728 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.9374, allocations: 0 / 0.9728 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9374, allocations: 0 / 0.9728 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.9374, allocations: 1.25 kB / 0.9728 GB, free: 8.559 MB / 0.7325 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.0004648/0.9379, allocations: 338.1 kB / 0.9732 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.938, allocations: 9.188 kB / 0.9732 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.9382, allocations: 21.25 kB / 0.9732 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.9383, allocations: 161.9 kB / 0.9733 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.75e-05/0.9384, allocations: 34.95 kB / 0.9734 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.9385, allocations: 1.344 kB / 0.9734 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.9386, allocations: 50.67 kB / 0.9734 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.9386, allocations: 0 / 0.9734 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.9387, allocations: 3.375 kB / 0.9734 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.9387, allocations: 5.5 kB / 0.9734 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.92e-05/0.9388, allocations: 18.64 kB / 0.9734 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.9392, allocations: 256.8 kB / 0.9737 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.462e-05/0.9392, allocations: 21.05 kB / 0.9737 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.9392, allocations: 8.953 kB / 0.9737 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.9393, allocations: 4 kB / 0.9737 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.9393, allocations: 35.41 kB / 0.9738 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.9393, allocations: 3.938 kB / 0.9738 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001476/0.9395, allocations: 33.77 kB / 0.9738 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.9395, allocations: 52.72 kB / 0.9738 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.9396, allocations: 106.3 kB / 0.9739 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.9396, allocations: 26.95 kB / 0.974 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.9397, allocations: 95.28 kB / 0.9741 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.9397, allocations: 9.031 kB / 0.9741 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.9397, allocations: 16.94 kB / 0.9741 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.9399, allocations: 318.8 kB / 0.9744 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.9399, allocations: 5 kB / 0.9744 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.9399, allocations: 24.14 kB / 0.9744 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.94, allocations: 36.7 kB / 0.9745 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.94, allocations: 0 / 0.9745 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.53e-05/0.9401, allocations: 51.95 kB / 0.9745 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.9401, allocations: 5.469 kB / 0.9745 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.9401, allocations: 5.156 kB / 0.9745 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.9402, allocations: 1.406 kB / 0.9745 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.423e-05/0.9402, allocations: 9.281 kB / 0.9745 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.9402, allocations: 7.031 kB / 0.9745 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.9403, allocations: 9.031 kB / 0.9745 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.9403, allocations: 6.031 kB / 0.9745 GB, free: 6.82 MB / 0.7325 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.253e-05/0.9404, allocations: 107.1 kB / 0.9746 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.9404, allocations: 4.906 kB / 0.9746 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.9405, allocations: 3.125 kB / 0.9747 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.9405, allocations: 0.9375 kB / 0.9747 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.9405, allocations: 3.938 kB / 0.9747 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.9405, allocations: 5.031 kB / 0.9747 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.9408, allocations: 353.1 kB / 0.975 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9408, allocations: 0 / 0.975 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.9408, allocations: 5.172 kB / 0.975 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.9408, allocations: 5.125 kB / 0.975 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.9408, allocations: 0 / 0.975 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.9408, allocations: 0 / 0.975 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9408, allocations: 0.9688 kB / 0.975 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.889e-05/0.9409, allocations: 61.3 kB / 0.9751 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.941, allocations: 84.64 kB / 0.9751 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.941, allocations: 5.062 kB / 0.9752 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.9411, allocations: 2.25 kB / 0.9752 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.9411, allocations: 2.062 kB / 0.9752 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.9411, allocations: 5.031 kB / 0.9752 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.9412, allocations: 83.38 kB / 0.9752 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9412, allocations: 0 / 0.9752 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001958/0.9414, allocations: 13.17 kB / 0.9753 GB, free: 6.055 MB / 0.7325 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.0001/0.9415, allocations: 96.31 kB / 0.9753 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.881e-05/0.9416, allocations: 15.47 kB / 0.9754 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9416, allocations: 0 / 0.9754 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-06/0.9416, allocations: 6.219 kB / 0.9754 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.9418, allocations: 3.344 kB / 0.9754 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.9421, allocations: 120.9 kB / 0.9755 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.9424, allocations: 0.6746 MB / 0.9761 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.9425, allocations: 6.375 kB / 0.9761 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.9425, allocations: 8.656 kB / 0.9762 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9425, allocations: 0 / 0.9762 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of Templates: time 0.002684/0.9452, allocations: 473.2 kB / 0.9766 GB, free: 5.117 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)