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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.267/1.267, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008637/0.0008638, allocations: 180.7 kB / 325.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006827/0.0006827, allocations: 89.7 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002697, allocations: 7.719 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1121/0.2532, allocations: 145.3 MB / 1.038 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 9.366e-05/0.2534, allocations: 47.88 kB / 1.038 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.2534, allocations: 0 / 1.038 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 8.287e-05/0.2535, allocations: 3.984 kB / 1.038 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.775e-05/0.2535, allocations: 15.92 kB / 1.038 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.2539, allocations: 91.67 kB / 1.038 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.2539, allocations: 55.81 kB / 1.038 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 2.349e-05/0.254, allocations: 4 kB / 1.038 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.254, allocations: 11.98 kB / 1.038 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.2541, allocations: 19.88 kB / 1.038 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.2541, allocations: 0 / 1.038 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.2543, allocations: 79.77 kB / 1.038 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.2543, allocations: 11.94 kB / 1.038 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.2544, allocations: 11.98 kB / 1.038 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.2545, allocations: 72 kB / 1.038 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2545, allocations: 4 kB / 1.038 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2545, allocations: 0 / 1.038 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2545, allocations: 0 / 1.038 GB, free: 1.805 MB / 0.6823 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.0002789/0.2548, allocations: 331.5 kB / 1.039 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2549, allocations: 8.031 kB / 1.039 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.675e-05/0.2549, allocations: 34.75 kB / 1.039 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.2551, allocations: 20.92 kB / 1.039 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.925e-05/0.2552, allocations: 168.1 kB / 1.039 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.2552, allocations: 29.7 kB / 1.039 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.2552, allocations: 0 / 1.039 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.2554, allocations: 49.67 kB / 1.039 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-06/0.2554, allocations: 0 / 1.039 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2554, allocations: 0 / 1.039 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.2554, allocations: 7.938 kB / 1.039 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.2555, allocations: 19.98 kB / 1.039 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.2558, allocations: 264.8 kB / 1.039 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 2.783e-05/0.2558, allocations: 26.55 kB / 1.039 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.2558, allocations: 8.922 kB / 1.039 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.2558, allocations: 4 kB / 1.039 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.2559, allocations: 30.56 kB / 1.039 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2559, allocations: 3.938 kB / 1.039 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 9.89e-05/0.256, allocations: 29.7 kB / 1.039 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.256, allocations: 59.34 kB / 1.04 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.234e-05/0.2561, allocations: 109.8 kB / 1.04 GB, free: 428 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.2561, allocations: 25.7 kB / 1.04 GB, free: 396 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.2561, allocations: 92.08 kB / 1.04 GB, free: 300 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-06/0.2561, allocations: 7.938 kB / 1.04 GB, free: 292 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.2562, allocations: 13.72 kB / 1.04 GB, free: 272 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.2563, allocations: 318.8 kB / 1.04 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.2563, allocations: 4 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.2563, allocations: 22.58 kB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.2564, allocations: 38.5 kB / 1.04 GB, free: 15.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2564, allocations: 0 / 1.04 GB, free: 15.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.205e-05/0.2565, allocations: 53.62 kB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.2565, allocations: 4 kB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2565, allocations: 4 kB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.2565, allocations: 3.938 kB / 1.04 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.2565, allocations: 7.938 kB / 1.04 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2566, allocations: 7.938 kB / 1.04 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.2566, allocations: 4.094 kB / 1.04 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.2566, allocations: 4 kB / 1.04 GB, free: 15.77 MB / 0.698 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 5.982e-05/0.2567, allocations: 109.8 kB / 1.04 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.2567, allocations: 3.906 kB / 1.04 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.593e-05/0.2567, allocations: 11.11 kB / 1.04 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2567, allocations: 3.938 kB / 1.04 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2567, allocations: 0 / 1.04 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-06/0.2567, allocations: 0 / 1.04 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.2569, allocations: 342.8 kB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.257, allocations: 0 / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.507e-05/0.257, allocations: 3.938 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.257, allocations: 7.938 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-06/0.257, allocations: 7.938 kB / 1.041 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.257, allocations: 3.984 kB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.257, allocations: 0 / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.512e-05/0.2571, allocations: 57.17 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.2571, allocations: 81.05 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.2571, allocations: 0 / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.2572, allocations: 7.984 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.2572, allocations: 4 kB / 1.041 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.2572, allocations: 0 / 1.041 GB, free: 15.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.2573, allocations: 79.28 kB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2573, allocations: 4 kB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001601/0.2574, allocations: 4 kB / 1.041 GB, free: 14.95 MB / 0.698 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.0002412/0.2577, allocations: 0.6045 MB / 1.041 GB, free: 14.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.739e-05/0.2577, allocations: 15.98 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2577, allocations: 4 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.691e-06/0.2578, allocations: 8.156 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.2579, allocations: 7.984 kB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.2582, allocations: 134.1 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.2584, allocations: 0.677 MB / 1.042 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.747e-05/0.2585, allocations: 8.156 kB / 1.042 GB, free: 13.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.2585, allocations: 12.42 kB / 1.042 GB, free: 13.39 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.2585, allocations: 0 / 1.042 GB, free: 13.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/0.4043, allocations: 1.123 MB / 1.043 GB, free: 12.47 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/0.4045, allocations: 250.4 kB / 1.044 GB, free: 12.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.41/1.815, allocations: 1.25 kB / 1.044 GB, free: 12.21 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)