Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.0008832/0.0008834, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005715/0.005715, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.252/1.252, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 259.1 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.85/0.85, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004185, allocations: 15.94 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001067/0.1313, allocations: 0.9999 MB / 0.6862 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1324, allocations: 0.826 MB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.206e-05/0.1324, allocations: 0.5625 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.1325, allocations: 3.938 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.442e-05/0.1325, allocations: 1.875 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.1328, allocations: 115.5 kB / 0.6871 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.103e-05/0.1329, allocations: 21.16 kB / 0.6872 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.1329, allocations: 7.984 kB / 0.6872 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.3e-05/0.133, allocations: 11.94 kB / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.133, allocations: 9.422 kB / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.133, allocations: 0 / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.1333, allocations: 175.7 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.1334, allocations: 8.688 kB / 0.6874 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.1334, allocations: 33.69 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1336, allocations: 129.1 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1336, allocations: 0 / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1336, allocations: 0 / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.776e-06/0.1336, allocations: 0 / 0.6875 GB, free: 12.62 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003201/0.1339, allocations: 357.1 kB / 0.6879 GB, free: 12.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.134, allocations: 12.03 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.134, allocations: 30.75 kB / 0.6879 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.134, allocations: 5.469 kB / 0.6879 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.1341, allocations: 171.2 kB / 0.6881 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/0.1342, allocations: 30.27 kB / 0.6881 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1342, allocations: 4.375 kB / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1343, allocations: 49.94 kB / 0.6881 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-06/0.1343, allocations: 0 / 0.6881 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.1344, allocations: 0 / 0.6881 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1344, allocations: 1.719 kB / 0.6881 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.402e-05/0.1345, allocations: 23.91 kB / 0.6882 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.1346, allocations: 157.7 kB / 0.6883 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1348, allocations: 43.33 kB / 0.6884 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.1348, allocations: 21.81 kB / 0.6884 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.1351, allocations: 180.2 kB / 0.6886 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1351, allocations: 43.09 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1351, allocations: 0 / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000207/0.1353, allocations: 69.67 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.1354, allocations: 51.41 kB / 0.6887 GB, free: 11.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.963e-05/0.1354, allocations: 97.84 kB / 0.6888 GB, free: 11.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1354, allocations: 25.7 kB / 0.6888 GB, free: 11.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.1355, allocations: 80.14 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.1355, allocations: 23.73 kB / 0.6889 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.1355, allocations: 9.719 kB / 0.6889 GB, free: 10.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.1356, allocations: 314.8 kB / 0.6892 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.1357, allocations: 15.98 kB / 0.6893 GB, free: 10.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.1357, allocations: 7.938 kB / 0.6893 GB, free: 10.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.257e-05/0.1358, allocations: 28.84 kB / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1358, allocations: 0 / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001268/0.1359, allocations: 57.67 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.136, allocations: 13.59 kB / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.136, allocations: 0 / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.136, allocations: 4 kB / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.136, allocations: 8 kB / 0.6894 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1361, allocations: 4 kB / 0.6894 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.1361, allocations: 11.98 kB / 0.6894 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.1361, allocations: 0 / 0.6894 GB, free: 10.44 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.931e-05/0.1362, allocations: 111.1 kB / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.1362, allocations: 11.84 kB / 0.6895 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.1363, allocations: 61.17 kB / 0.6896 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1364, allocations: 8 kB / 0.6896 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1364, allocations: 0 / 0.6896 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1364, allocations: 0 / 0.6896 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.491e-05/0.1365, allocations: 158.2 kB / 0.6897 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1365, allocations: 0 / 0.6897 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.1365, allocations: 11.98 kB / 0.6897 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1365, allocations: 3.938 kB / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1366, allocations: 0 / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1366, allocations: 0 / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1366, allocations: 0 / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.1367, allocations: 89.05 kB / 0.6898 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.1368, allocations: 89.03 kB / 0.6899 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.1368, allocations: 3.938 kB / 0.6899 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.1368, allocations: 0 / 0.6899 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.1369, allocations: 7.984 kB / 0.6899 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1369, allocations: 4 kB / 0.6899 GB, free: 9.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.774e-05/0.1369, allocations: 79.28 kB / 0.69 GB, free: 9.707 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1369, allocations: 4 kB / 0.69 GB, free: 9.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.1371, allocations: 35.92 kB / 0.69 GB, free: 9.668 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 (4): * Single equations (assignments): 4 * 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.0004506/0.1376, allocations: 0.663 MB / 0.6907 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1377, allocations: 31.92 kB / 0.6907 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1377, allocations: 0 / 0.6907 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.027e-05/0.1378, allocations: 19.98 kB / 0.6907 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.138, allocations: 8.688 kB / 0.6907 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.1383, allocations: 182.3 kB / 0.6909 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.1385, allocations: 0.677 MB / 0.6916 GB, free: 8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.947e-05/0.1386, allocations: 8 kB / 0.6916 GB, free: 7.992 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.1386, allocations: 11.44 kB / 0.6916 GB, free: 7.98 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1386, allocations: 0 / 0.6916 GB, free: 7.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2159/0.3545, allocations: 1.744 MB / 0.6933 GB, free: 6.414 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003862/0.355, allocations: 217.8 kB / 0.6935 GB, free: 6.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.325, allocations: 0 / 0.6935 GB, free: 6.164 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)