Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 198.7 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 278.6 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8676/0.8676, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 97.66 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1289, allocations: 86.97 MB / 0.6797 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004597/0.1335, allocations: 3.757 MB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.1337, allocations: 167.5 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.1337, allocations: 0 / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.671e-05/0.1338, allocations: 0 / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.1339, allocations: 15.91 kB / 0.6836 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.1342, allocations: 75.77 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.1343, allocations: 31.91 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1343, allocations: 11.98 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.1344, allocations: 11.94 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.1344, allocations: 19.91 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1344, allocations: 0 / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.1349, allocations: 179.8 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.135, allocations: 7.984 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.135, allocations: 11.92 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1351, allocations: 43.89 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1351, allocations: 0 / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1351, allocations: 4 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1351, allocations: 0 / 0.6839 GB, free: 12.6 MB / 494.1 MB 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.0002988/0.1354, allocations: 339.4 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1355, allocations: 8.031 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.1355, allocations: 30.75 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.1355, allocations: 4.938 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.58e-05/0.1356, allocations: 172.3 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.1357, allocations: 26.27 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.1357, allocations: 4.125 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1358, allocations: 49.62 kB / 0.6845 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1358, allocations: 0 / 0.6845 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1358, allocations: 0 / 0.6845 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1358, allocations: 3.938 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.894e-05/0.1359, allocations: 19.98 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.1362, allocations: 330 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.986e-05/0.1363, allocations: 18.58 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.1363, allocations: 8.859 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.097e-05/0.1364, allocations: 89.09 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.1364, allocations: 34.56 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1364, allocations: 0 / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.1365, allocations: 37.61 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.1366, allocations: 51.41 kB / 0.6851 GB, free: 11.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.142e-05/0.1366, allocations: 110 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1366, allocations: 25.7 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.1367, allocations: 84.05 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-06/0.1367, allocations: 7.984 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1367, allocations: 21.7 kB / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.1368, allocations: 314.8 kB / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.1368, allocations: 0 / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.644e-05/0.1368, allocations: 17.84 kB / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.867e-05/0.1369, allocations: 29.7 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1369, allocations: 0 / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.509e-05/0.137, allocations: 49.62 kB / 0.6857 GB, free: 10.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.137, allocations: 8 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.137, allocations: 96 / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/0.137, allocations: 3.984 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.478e-05/0.137, allocations: 4 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1371, allocations: 4.062 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.1371, allocations: 7.938 kB / 0.6858 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1371, allocations: 0 / 0.6858 GB, free: 10.44 MB / 494.1 MB 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 5.782e-05/0.1371, allocations: 119.1 kB / 0.6859 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.1372, allocations: 3.906 kB / 0.6859 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.131e-05/0.1373, allocations: 124.8 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/0.1373, allocations: 180.3 kB / 0.6862 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.333e-05/0.1374, allocations: 180.2 kB / 0.6864 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-05/0.1374, allocations: 188.2 kB / 0.6865 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.1376, allocations: 401.2 kB / 0.6869 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/0.1376, allocations: 108.9 kB / 0.687 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.1377, allocations: 105 kB / 0.6871 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.357e-05/0.1377, allocations: 184.2 kB / 0.6873 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.1378, allocations: 180.3 kB / 0.6875 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.263e-05/0.1378, allocations: 184.3 kB / 0.6876 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.472e-05/0.1379, allocations: 184.2 kB / 0.6878 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.789e-05/0.138, allocations: 311.7 kB / 0.6881 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.138, allocations: 182 kB / 0.6883 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.1381, allocations: 184.2 kB / 0.6885 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.1382, allocations: 104.9 kB / 0.6886 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1383, allocations: 184.3 kB / 0.6887 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.1383, allocations: 105.2 kB / 0.6888 GB, free: 7.078 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.556e-05/0.1383, allocations: 87.27 kB / 0.6889 GB, free: 6.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1383, allocations: 0 / 0.6889 GB, free: 6.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1386, allocations: 19.94 kB / 0.6889 GB, free: 6.973 MB / 494.1 MB 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.000374/0.1389, allocations: 0.8244 MB / 0.6897 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.941e-05/0.139, allocations: 19.95 kB / 0.6898 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.139, allocations: 4 kB / 0.6898 GB, free: 6.098 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.139, allocations: 0 / 0.6898 GB, free: 6.098 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1393, allocations: 455.7 kB / 0.6902 GB, free: 5.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/0.1401, allocations: 1.327 MB / 0.6915 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.1403, allocations: 0.6768 MB / 0.6922 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.1403, allocations: 4 kB / 0.6922 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.1404, allocations: 15.38 kB / 0.6922 GB, free: 3.52 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1404, allocations: 4 kB / 0.6922 GB, free: 3.516 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.235/3.375, allocations: 1.439 MB / 0.6936 GB, free: 2.266 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/3.376, allocations: 244.6 kB / 0.6938 GB, free: 2.008 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/5.439, allocations: 6.875 kB / 0.6938 GB, free: 2.004 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)