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.001598/0.001598, 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.001922/0.001922, allocations: 192.1 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001952/0.001952, allocations: 286.8 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9375/0.9375, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 98.8 kB / 0.5954 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1479, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002248/0.1502, allocations: 1.265 MB / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1514, allocations: 0.8249 MB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.1514, allocations: 0 / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.1515, allocations: 0 / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.1515, allocations: 3.938 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.152, allocations: 127.4 kB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.1521, allocations: 31.92 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.1521, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.1522, allocations: 19.92 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.1522, allocations: 7.984 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1522, allocations: 0 / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.1525, allocations: 167.7 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.1526, allocations: 11.92 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.1526, allocations: 7.938 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.1528, allocations: 120.1 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1528, allocations: 0 / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1528, allocations: 0 / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1529, allocations: 4 kB / 0.6828 GB, free: 13.97 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.0004037/0.1533, allocations: 363.4 kB / 0.6832 GB, free: 13.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1533, allocations: 8.031 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.1533, allocations: 34.75 kB / 0.6832 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.1534, allocations: 8.844 kB / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1535, allocations: 160.4 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.1536, allocations: 34.25 kB / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.1536, allocations: 384 / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.1537, allocations: 57.88 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-06/0.1537, allocations: 4 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.1537, allocations: 0 / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-06/0.1537, allocations: 0 / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.213e-05/0.1538, allocations: 15.98 kB / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.1539, allocations: 157.7 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1541, allocations: 46.61 kB / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.1542, allocations: 20.94 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.1544, allocations: 182.1 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1545, allocations: 34.5 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.1545, allocations: 0 / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002032/0.1547, allocations: 69.86 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.1547, allocations: 51.41 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.1548, allocations: 101.8 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1548, allocations: 29.7 kB / 0.6841 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.1548, allocations: 80.14 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.1549, allocations: 15.73 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.1549, allocations: 17.72 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.155, allocations: 310.8 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.207e-05/0.1551, allocations: 19.98 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.1551, allocations: 7.938 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.058e-05/0.1552, allocations: 28.84 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1552, allocations: 4 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.1553, allocations: 57.62 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1554, allocations: 11.92 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.1554, allocations: 0 / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/0.1554, allocations: 0 / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.967e-05/0.1554, allocations: 12 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.1554, allocations: 0 / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.1555, allocations: 7.906 kB / 0.6847 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1555, allocations: 7.938 kB / 0.6847 GB, free: 11.77 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.567e-05/0.1556, allocations: 107.2 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.1556, allocations: 11.92 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.1557, allocations: 65.16 kB / 0.6849 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1558, allocations: 4 kB / 0.6849 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1558, allocations: 4 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1558, allocations: 0 / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.808e-05/0.1559, allocations: 157.7 kB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1559, allocations: 0 / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.1559, allocations: 8 kB / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1559, allocations: 3.938 kB / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.156, allocations: 4 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.156, allocations: 7.875 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.156, allocations: 3.984 kB / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.1561, allocations: 81.64 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.1562, allocations: 92.94 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.1562, allocations: 0 / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.1562, allocations: 0 / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.1563, allocations: 7.984 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1563, allocations: 0 / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.784e-05/0.1563, allocations: 83.7 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1563, allocations: 0 / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.1565, allocations: 35.94 kB / 0.6853 GB, free: 11 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.0004808/0.157, allocations: 0.667 MB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.1572, allocations: 27.98 kB / 0.686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1572, allocations: 4 kB / 0.686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.092e-05/0.1572, allocations: 19.92 kB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.1574, allocations: 4.75 kB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.1578, allocations: 168.9 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.158, allocations: 0.6768 MB / 0.6869 GB, free: 9.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.296e-05/0.1581, allocations: 8 kB / 0.6869 GB, free: 9.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.1581, allocations: 11.44 kB / 0.6869 GB, free: 9.32 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1581, allocations: 0 / 0.6869 GB, free: 9.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.059/1.217, allocations: 1.939 MB / 0.6888 GB, free: 7.504 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.858/10.08, allocations: 16.78 kB / 0.6888 GB, free: 7.492 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)