Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.281/1.281, allocations: 251.5 MB / 266.7 MB, free: 11.1 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.0008303/0.0008303, allocations: 172 kB / 325.8 MB, free: 2.715 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: 21.03 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.0006369/0.000637, allocations: 92.92 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002586/0.0002586, allocations: 8.906 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.002964/0.1378, allocations: 3.791 MB / 0.8999 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.1394, allocations: 2.434 MB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.1394, allocations: 4 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.1396, allocations: 35.8 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.1398, allocations: 91.42 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.1404, allocations: 462.8 kB / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.1407, allocations: 339.7 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.1407, allocations: 9.844 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1408, allocations: 107.6 kB / 0.9033 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.1409, allocations: 99.59 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.141, allocations: 4 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.1415, allocations: 447.2 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.1415, allocations: 35.89 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.1416, allocations: 87.59 kB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.142, allocations: 391 kB / 0.9043 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.142, allocations: 0 / 0.9043 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.42e-07/0.142, allocations: 0 / 0.9043 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.142, allocations: 0 / 0.9043 GB, free: 59.79 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004577/0.1425, allocations: 480.7 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.1425, allocations: 12.03 kB / 0.9048 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.1426, allocations: 54.67 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.1442, allocations: 180.5 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.1443, allocations: 208.1 kB / 0.9052 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1444, allocations: 16.7 kB / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.1444, allocations: 12.38 kB / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.1449, allocations: 304.9 kB / 0.9055 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1449, allocations: 3.984 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.1449, allocations: 12 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1449, allocations: 4 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005386/0.1455, allocations: 263.6 kB / 0.9058 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.1465, allocations: 1.388 MB / 0.9071 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.147, allocations: 198.7 kB / 0.9073 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.1472, allocations: 80.75 kB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1473, allocations: 8 kB / 0.9074 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/0.1473, allocations: 34.56 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.1473, allocations: 0 / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005934/0.1479, allocations: 239.9 kB / 0.9077 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.63e-05/0.1479, allocations: 55.41 kB / 0.9077 GB, free: 56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.148, allocations: 160.4 kB / 0.9079 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.148, allocations: 33.7 kB / 0.9079 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.148, allocations: 128 kB / 0.908 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1481, allocations: 63.09 kB / 0.9081 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.1481, allocations: 25.72 kB / 0.9081 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.425e-05/0.1482, allocations: 330.8 kB / 0.9084 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.1483, allocations: 64.42 kB / 0.9085 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.1485, allocations: 139 kB / 0.9086 GB, free: 55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.1489, allocations: 213.3 kB / 0.9088 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1489, allocations: 0 / 0.9088 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004485/0.1493, allocations: 255.6 kB / 0.9091 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.1494, allocations: 4 kB / 0.9091 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1494, allocations: 4 kB / 0.9091 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1494, allocations: 4 kB / 0.9091 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.1497, allocations: 63.89 kB / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1497, allocations: 7.984 kB / 0.9091 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.1499, allocations: 39.98 kB / 0.9092 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1499, allocations: 15.98 kB / 0.9092 GB, free: 54.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.062e-05/0.15, allocations: 129.7 kB / 0.9093 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.1501, allocations: 15.81 kB / 0.9093 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.1506, allocations: 234.5 kB / 0.9096 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1506, allocations: 4 kB / 0.9096 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1506, allocations: 4 kB / 0.9096 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1506, allocations: 0 / 0.9096 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.1508, allocations: 245.4 kB / 0.9098 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1508, allocations: 3.984 kB / 0.9098 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.151, allocations: 43.91 kB / 0.9098 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1511, allocations: 4 kB / 0.9098 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1511, allocations: 4 kB / 0.9099 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1511, allocations: 0 / 0.9099 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1511, allocations: 0 / 0.9099 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.1515, allocations: 305.4 kB / 0.9101 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.1516, allocations: 100.9 kB / 0.9102 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1516, allocations: 4 kB / 0.9102 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.1518, allocations: 15.98 kB / 0.9103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.1519, allocations: 15.98 kB / 0.9103 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1519, allocations: 11.94 kB / 0.9103 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.1519, allocations: 114.1 kB / 0.9104 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1519, allocations: 0 / 0.9104 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002736/0.1522, allocations: 63.91 kB / 0.9105 GB, free: 52.98 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 (20): * Single equations (assignments): 20 * 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.0005754/0.1528, allocations: 0.8661 MB / 0.9113 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.1532, allocations: 175.8 kB / 0.9115 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1532, allocations: 0 / 0.9115 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.1534, allocations: 91.83 kB / 0.9116 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.1538, allocations: 60.56 kB / 0.9116 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.1559, allocations: 2.199 MB / 0.9138 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.61e-05/0.1561, allocations: 0.7134 MB / 0.9145 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003048/0.1564, allocations: 53.92 kB / 0.9145 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/0.1565, allocations: 47.42 kB / 0.9146 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1565, allocations: 0 / 0.9146 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.241/0.3974, allocations: 4.716 MB / 0.9192 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/0.3976, allocations: 253.5 kB / 0.9194 GB, free: 43.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.073, allocations: 0 / 0.9194 GB, free: 43.85 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)