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.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 287.1 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8911/0.8911, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 95.17 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1261, allocations: 86.97 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004735/0.1308, allocations: 3.707 MB / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000176/0.131, allocations: 159.5 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.131, allocations: 0 / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.314e-05/0.1311, allocations: 7.922 kB / 0.6841 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.897e-05/0.1312, allocations: 12 kB / 0.6841 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.1315, allocations: 82.44 kB / 0.6841 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.1316, allocations: 43.78 kB / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.053e-05/0.1316, allocations: 0 / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.1317, allocations: 15.98 kB / 0.6842 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.1317, allocations: 15.91 kB / 0.6842 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1318, allocations: 0 / 0.6842 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004769/0.1322, allocations: 199.6 kB / 0.6844 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.1323, allocations: 3.984 kB / 0.6844 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.1323, allocations: 11.94 kB / 0.6844 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.1324, allocations: 39.95 kB / 0.6845 GB, free: 12.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1324, allocations: 0 / 0.6845 GB, free: 12.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1324, allocations: 0 / 0.6845 GB, free: 12.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.1325, allocations: 0 / 0.6845 GB, free: 12.33 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.0003001/0.1328, allocations: 335.4 kB / 0.6848 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1328, allocations: 16.03 kB / 0.6848 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.1328, allocations: 34.75 kB / 0.6848 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.1329, allocations: 4.875 kB / 0.6848 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.903e-05/0.133, allocations: 168.4 kB / 0.685 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.133, allocations: 30.2 kB / 0.685 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.133, allocations: 4.125 kB / 0.685 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.1331, allocations: 45.69 kB / 0.6851 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1332, allocations: 0 / 0.6851 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1332, allocations: 4 kB / 0.6851 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1332, allocations: 4 kB / 0.6851 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.1332, allocations: 11.98 kB / 0.6851 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.1336, allocations: 342 kB / 0.6854 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.439e-05/0.1336, allocations: 18.58 kB / 0.6854 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.1337, allocations: 4.859 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.828e-05/0.1337, allocations: 85.17 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1338, allocations: 42.55 kB / 0.6856 GB, free: 10.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1338, allocations: 0 / 0.6856 GB, free: 10.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.1339, allocations: 33.64 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.1339, allocations: 51.41 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.134, allocations: 105.8 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.134, allocations: 25.7 kB / 0.6858 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.1341, allocations: 84.05 kB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-06/0.1341, allocations: 8.031 kB / 0.6859 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.1341, allocations: 17.72 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.1342, allocations: 322.8 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.1342, allocations: 0 / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.1342, allocations: 17.91 kB / 0.6862 GB, free: 10.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.1343, allocations: 25.64 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1343, allocations: 4 kB / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.819e-05/0.1344, allocations: 45.73 kB / 0.6863 GB, free: 10.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1344, allocations: 8 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1344, allocations: 0 / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1344, allocations: 7.969 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.025e-05/0.1345, allocations: 7.938 kB / 0.6863 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1345, allocations: 0 / 0.6863 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.1345, allocations: 7.938 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1345, allocations: 0 / 0.6863 GB, free: 10.16 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.941e-05/0.1346, allocations: 123.2 kB / 0.6864 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.1346, allocations: 0 / 0.6864 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.093e-05/0.1347, allocations: 120.9 kB / 0.6865 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.565e-05/0.1347, allocations: 188.1 kB / 0.6867 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.252e-05/0.1348, allocations: 176.3 kB / 0.6869 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.453e-05/0.1348, allocations: 184.2 kB / 0.6871 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.135, allocations: 409.2 kB / 0.6874 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/0.1351, allocations: 105 kB / 0.6875 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.1351, allocations: 108.9 kB / 0.6876 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.194e-05/0.1351, allocations: 176.3 kB / 0.6878 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.1352, allocations: 180.2 kB / 0.688 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.303e-05/0.1352, allocations: 180.3 kB / 0.6882 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.194e-05/0.1353, allocations: 180.3 kB / 0.6883 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.1354, allocations: 311.7 kB / 0.6886 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.1355, allocations: 186 kB / 0.6888 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.1355, allocations: 180.3 kB / 0.689 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1357, allocations: 117 kB / 0.6891 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.1357, allocations: 180.2 kB / 0.6893 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.1357, allocations: 105 kB / 0.6894 GB, free: 6.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.84e-05/0.1358, allocations: 83.27 kB / 0.6894 GB, free: 6.719 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1358, allocations: 0 / 0.6894 GB, free: 6.719 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.136, allocations: 19.94 kB / 0.6895 GB, free: 6.699 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.0003853/0.1364, allocations: 0.8321 MB / 0.6903 GB, free: 5.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.923e-05/0.1365, allocations: 11.98 kB / 0.6903 GB, free: 5.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.1365, allocations: 4.125 kB / 0.6903 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-06/0.1365, allocations: 4 kB / 0.6903 GB, free: 5.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1368, allocations: 460.4 kB / 0.6907 GB, free: 5.367 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.1376, allocations: 1.328 MB / 0.692 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.1378, allocations: 0.6806 MB / 0.6927 GB, free: 3.246 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.661e-05/0.1379, allocations: 4 kB / 0.6927 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.1379, allocations: 7.438 kB / 0.6927 GB, free: 3.234 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1379, allocations: 0 / 0.6927 GB, free: 3.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.334/1.472, allocations: 1.52 MB / 0.6942 GB, free: 1.855 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/13.12, allocations: 13.33 kB / 0.6942 GB, free: 1.848 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)