Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.704/1.704, allocations: 288.2 MB / 303.2 MB, free: 8.109 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.001158/0.001158, allocations: 191.3 kB / 371.8 MB, free: 10.29 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.523/1.523, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0008073/0.0008073, allocations: 99.36 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 14.47 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1884, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001075/0.1895, allocations: 0.9612 MB / 0.9804 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.1919, allocations: 2.57 MB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.1919, allocations: 0 / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.1919, allocations: 0 / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.192, allocations: 4 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.1923, allocations: 83.72 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.167e-05/0.1923, allocations: 23.95 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.1924, allocations: 7.984 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.1927, allocations: 143.7 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.025e-05/0.1928, allocations: 15.98 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.1928, allocations: 3.938 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/0.1929, allocations: 51.91 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.1929, allocations: 7.984 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.1929, allocations: 33.64 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.527e-05/0.193, allocations: 32.19 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.193, allocations: 0 / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.193, allocations: 0 / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.193, allocations: 0 / 0.9833 GB, free: 23.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002602/0.1933, allocations: 335.4 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1933, allocations: 16.02 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.654e-05/0.1934, allocations: 34.56 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.1934, allocations: 11.86 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.244e-05/0.1935, allocations: 167 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1935, allocations: 0 / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1935, allocations: 8 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.567e-05/0.1936, allocations: 49.67 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1936, allocations: 4 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1936, allocations: 8 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1936, allocations: 4 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.848e-05/0.1937, allocations: 19.92 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.1938, allocations: 165.7 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.722e-05/0.1939, allocations: 50.5 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004843/0.1944, allocations: 0.5946 MB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.1944, allocations: 34.56 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.1944, allocations: 4 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004398/0.1948, allocations: 302.5 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.1949, allocations: 55.34 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.806e-05/0.1949, allocations: 113.8 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.1949, allocations: 25.7 kB / 0.9852 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.1949, allocations: 84.05 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.195, allocations: 27.56 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-06/0.195, allocations: 4 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.195, allocations: 318.8 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.195, allocations: 12 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.1951, allocations: 49.14 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/0.1951, allocations: 20 kB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1951, allocations: 0 / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.9e-05/0.1952, allocations: 89.55 kB / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1952, allocations: 16.08 kB / 0.9858 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1953, allocations: 0 / 0.9858 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1953, allocations: 4 kB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.1953, allocations: 31.86 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1954, allocations: 0 / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.1954, allocations: 4 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1954, allocations: 4 kB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 4.662e-05/0.1955, allocations: 117.8 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.1955, allocations: 7.891 kB / 0.986 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.1955, allocations: 19.92 kB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1955, allocations: 0 / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1955, allocations: 0 / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1955, allocations: 0 / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.1957, allocations: 173.7 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1957, allocations: 0 / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.1958, allocations: 12 kB / 0.9862 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1958, allocations: 4 kB / 0.9862 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1958, allocations: 4.422 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1958, allocations: 3.953 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1958, allocations: 3.938 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.196, allocations: 175.5 kB / 0.9864 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.196, allocations: 89.05 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.196, allocations: 0 / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.1961, allocations: 8 kB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.1962, allocations: 7.938 kB / 0.9865 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1962, allocations: 4 kB / 0.9865 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.504e-05/0.1962, allocations: 75.28 kB / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1962, allocations: 4 kB / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002283/0.1964, allocations: 16 kB / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0002525/0.1967, allocations: 0.7013 MB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.545e-05/0.1968, allocations: 44.14 kB / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1968, allocations: 4 kB / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.74e-05/0.1968, allocations: 15.98 kB / 0.9873 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.197, allocations: 7.953 kB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007806/0.1978, allocations: 1.432 MB / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.628e-05/0.1979, allocations: 0.6902 MB / 0.9894 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.252e-05/0.1979, allocations: 3.984 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.198, allocations: 15.5 kB / 0.9894 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.198, allocations: 3.938 kB / 0.9894 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.377/2.575, allocations: 1.424 MB / 0.9908 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/2.575, allocations: 200.3 kB / 0.991 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.368/3.943, allocations: 0 / 0.991 GB, free: 15.3 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)