Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.223/1.223, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0008557/0.0008558, allocations: 176.7 kB / 325.8 MB, free: 2.699 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.269/1.269, allocations: 205 MB / 0.576 GB, free: 21 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.0006571/0.0006572, allocations: 93.41 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002576, allocations: 6.094 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002502/0.1405, allocations: 3.036 MB / 0.8992 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 5.696e-05/0.1406, allocations: 51.8 kB / 0.8992 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.316e-05/0.1406, allocations: 0 / 0.8992 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.658e-05/0.1407, allocations: 4 kB / 0.8992 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.577e-05/0.1407, allocations: 15.92 kB / 0.8992 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1411, allocations: 166.2 kB / 0.8994 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.1411, allocations: 55.81 kB / 0.8994 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 2.656e-05/0.1412, allocations: 0 / 0.8994 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.806e-05/0.1412, allocations: 15.98 kB / 0.8995 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.1413, allocations: 15.92 kB / 0.8995 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.1413, allocations: 4 kB / 0.8995 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.1415, allocations: 171.5 kB / 0.8996 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.1415, allocations: 7.938 kB / 0.8996 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.1416, allocations: 7.984 kB / 0.8997 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1418, allocations: 139.9 kB / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1418, allocations: 4 kB / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1418, allocations: 0 / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.1418, allocations: 0 / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002351/0.142, allocations: 335.5 kB / 0.9001 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.1421, allocations: 8.031 kB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.388e-05/0.1421, allocations: 34.75 kB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.1421, allocations: 4.938 kB / 0.9002 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.409e-05/0.1422, allocations: 164.3 kB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.1422, allocations: 34.25 kB / 0.9003 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.1422, allocations: 4.125 kB / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.1423, allocations: 41.67 kB / 0.9004 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1423, allocations: 0 / 0.9004 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.1424, allocations: 8 kB / 0.9004 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.1424, allocations: 4 kB / 0.9004 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.319e-05/0.1424, allocations: 11.98 kB / 0.9004 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.1428, allocations: 0.591 MB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.539e-05/0.1428, allocations: 22.52 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.018e-05/0.1428, allocations: 4.859 kB / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.143, allocations: 344.5 kB / 0.9013 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.143, allocations: 34.56 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.143, allocations: 0 / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001007/0.1431, allocations: 37.62 kB / 0.9014 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.1431, allocations: 55.41 kB / 0.9015 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.443e-05/0.1432, allocations: 101.8 kB / 0.9016 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.1432, allocations: 25.7 kB / 0.9016 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.235e-05/0.1432, allocations: 100 kB / 0.9017 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.1432, allocations: 0 / 0.9017 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.1432, allocations: 13.72 kB / 0.9017 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.135e-05/0.1433, allocations: 314.8 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.1433, allocations: 4 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.1433, allocations: 25.88 kB / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.1434, allocations: 21.72 kB / 0.902 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.1434, allocations: 0 / 0.902 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.51e-05/0.1434, allocations: 53.62 kB / 0.9021 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.1434, allocations: 4 kB / 0.9021 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1434, allocations: 0 / 0.9021 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1435, allocations: 0 / 0.9021 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.449e-05/0.1435, allocations: 8 kB / 0.9021 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1435, allocations: 0 / 0.9021 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.1435, allocations: 3.906 kB / 0.9021 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1435, allocations: 11.92 kB / 0.9021 GB, free: 61.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 3.622e-05/0.1436, allocations: 113.8 kB / 0.9022 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.1436, allocations: 0 / 0.9022 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.1437, allocations: 118.7 kB / 0.9023 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.1437, allocations: 184.2 kB / 0.9025 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.777e-05/0.1437, allocations: 180.3 kB / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.1437, allocations: 180.3 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.1439, allocations: 417 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.1439, allocations: 101 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.1439, allocations: 104.9 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.758e-05/0.1439, allocations: 180.3 kB / 0.9036 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.1439, allocations: 184.2 kB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.768e-05/0.144, allocations: 184.2 kB / 0.904 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-05/0.144, allocations: 176.3 kB / 0.9041 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.105e-05/0.144, allocations: 307.7 kB / 0.9044 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.1441, allocations: 186.1 kB / 0.9046 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.1441, allocations: 184.2 kB / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1442, allocations: 113 kB / 0.9049 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.1442, allocations: 180.2 kB / 0.9051 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1442, allocations: 105 kB / 0.9052 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.1443, allocations: 87.28 kB / 0.9053 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1443, allocations: 0 / 0.9053 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002177/0.1445, allocations: 47.86 kB / 0.9053 GB, free: 58.12 MB / 0.6042 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 (0): * Single equations (assignments): 0 * 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.0002466/0.1448, allocations: 0.8595 MB / 0.9061 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.746e-05/0.1448, allocations: 8.328 kB / 0.9061 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1448, allocations: 3.938 kB / 0.9062 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1448, allocations: 0 / 0.9062 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.1451, allocations: 0.5333 MB / 0.9067 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.1456, allocations: 1.334 MB / 0.908 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.478e-05/0.1457, allocations: 0.6731 MB / 0.9086 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.1458, allocations: 14.66 kB / 0.9086 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.1458, allocations: 7.438 kB / 0.9087 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.1458, allocations: 0 / 0.9087 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2928/0.4386, allocations: 1.909 MB / 0.9105 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.4388, allocations: 275.4 kB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/1.98, allocations: 0 / 0.9108 GB, free: 52.5 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)