Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.435/1.435, allocations: 287.4 MB / 302.6 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008254/0.0008253, allocations: 174.1 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006477/0.0006475, allocations: 95.73 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 10.58 kB / 0.8662 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1511, allocations: 115.3 MB / 0.9787 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.003409/0.1546, allocations: 3.928 MB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1564, allocations: 2.451 MB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.718e-05/0.1565, allocations: 4 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.1567, allocations: 35.81 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.1569, allocations: 87.44 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007921/0.1577, allocations: 366.3 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.1579, allocations: 271.8 kB / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.158, allocations: 17.55 kB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007503/0.1587, allocations: 395.6 kB / 0.9861 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1588, allocations: 91.66 kB / 0.9862 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.1589, allocations: 8 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.1596, allocations: 383.2 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.1596, allocations: 35.83 kB / 0.9866 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.1597, allocations: 53.64 kB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.1599, allocations: 203.8 kB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1599, allocations: 4 kB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1599, allocations: 0 / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1599, allocations: 7.938 kB / 0.9868 GB, free: 19.8 MB / 0.6198 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.000464/0.1604, allocations: 467.4 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1605, allocations: 8.031 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.1605, allocations: 54.73 kB / 0.9873 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.1606, allocations: 20.75 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1608, allocations: 208.1 kB / 0.9875 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1608, allocations: 8.703 kB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1608, allocations: 16.38 kB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.1611, allocations: 244.9 kB / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1611, allocations: 7.984 kB / 0.9878 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1611, allocations: 4 kB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.1612, allocations: 11.94 kB / 0.9878 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.1615, allocations: 431.5 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/0.1622, allocations: 1.008 MB / 0.9892 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.1624, allocations: 159 kB / 0.9894 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.1625, allocations: 64.88 kB / 0.9894 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008005/0.1633, allocations: 1.813 MB / 0.9912 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1633, allocations: 50.48 kB / 0.9913 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.1633, allocations: 0 / 0.9913 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002534/0.1636, allocations: 147.8 kB / 0.9914 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.1636, allocations: 51.41 kB / 0.9914 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.1637, allocations: 172.8 kB / 0.9916 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1637, allocations: 29.7 kB / 0.9916 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.1638, allocations: 135.8 kB / 0.9918 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1638, allocations: 51.28 kB / 0.9918 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.1638, allocations: 4 kB / 0.9918 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.1639, allocations: 326.8 kB / 0.9921 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.1639, allocations: 35.98 kB / 0.9922 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/0.164, allocations: 146.1 kB / 0.9923 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1642, allocations: 199.2 kB / 0.9925 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1642, allocations: 4 kB / 0.9925 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002308/0.1644, allocations: 205.1 kB / 0.9927 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1644, allocations: 8.469 kB / 0.9927 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1645, allocations: 7.938 kB / 0.9927 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1645, allocations: 15.94 kB / 0.9927 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1646, allocations: 55.91 kB / 0.9928 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1646, allocations: 7.984 kB / 0.9928 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.825e-05/0.1647, allocations: 31.69 kB / 0.9928 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1648, allocations: 15.98 kB / 0.9928 GB, free: 12.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.764e-05/0.1648, allocations: 137.7 kB / 0.993 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.1649, allocations: 15.81 kB / 0.993 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.1651, allocations: 156 kB / 0.9931 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1651, allocations: 3.938 kB / 0.9931 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1651, allocations: 0 / 0.9931 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1651, allocations: 4 kB / 0.9931 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1653, allocations: 217.5 kB / 0.9933 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1653, allocations: 0 / 0.9933 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.1654, allocations: 19.98 kB / 0.9934 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1654, allocations: 4 kB / 0.9934 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1654, allocations: 4 kB / 0.9934 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1654, allocations: 3.938 kB / 0.9934 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1654, allocations: 4 kB / 0.9934 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1656, allocations: 216.2 kB / 0.9936 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.1656, allocations: 108.8 kB / 0.9937 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1657, allocations: 4 kB / 0.9937 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.1658, allocations: 19.86 kB / 0.9937 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.1659, allocations: 7.984 kB / 0.9937 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1659, allocations: 19.98 kB / 0.9937 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.923e-05/0.1659, allocations: 120.2 kB / 0.9939 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1659, allocations: 0 / 0.9939 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002973/0.1662, allocations: 71.94 kB / 0.9939 GB, free: 11.69 MB / 0.6198 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 (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003661/0.1666, allocations: 0.8164 MB / 0.9947 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.1668, allocations: 119.7 kB / 0.9948 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1668, allocations: 4 kB / 0.9948 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.1669, allocations: 43.92 kB / 0.9949 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1672, allocations: 56.83 kB / 0.9949 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009884/0.1682, allocations: 1.007 MB / 0.9959 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.72e-05/0.1684, allocations: 0.717 MB / 0.9966 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.1685, allocations: 49.67 kB / 0.9967 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.1686, allocations: 47.42 kB / 0.9967 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1686, allocations: 0 / 0.9967 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4313/0.5999, allocations: 4.66 MB / 1.001 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.6002, allocations: 193.4 kB / 1.001 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/3.245, allocations: 0 / 1.001 GB, free: 3.965 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)