Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 176.5 kB / 325.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000728/0.000728, allocations: 92.55 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003733, allocations: 10.78 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001107/0.1555, allocations: 1.01 MB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1565, allocations: 0.864 MB / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.594e-05/0.1566, allocations: 0 / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.1566, allocations: 0 / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.96e-05/0.1567, allocations: 0 / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.1571, allocations: 111.5 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.011e-05/0.1571, allocations: 27.86 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.1572, allocations: 7.984 kB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.1572, allocations: 15.92 kB / 0.8982 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.1573, allocations: 8 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1573, allocations: 0 / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.1575, allocations: 171.7 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.1576, allocations: 7.984 kB / 0.8984 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.1576, allocations: 11.94 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.1578, allocations: 119.7 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1578, allocations: 0 / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1578, allocations: 0 / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.1578, allocations: 4 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB 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.0002939/0.1581, allocations: 351.5 kB / 0.8988 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1581, allocations: 8.031 kB / 0.8988 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.1582, allocations: 42.69 kB / 0.8989 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.1582, allocations: 4.922 kB / 0.8989 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.376e-05/0.1583, allocations: 168.3 kB / 0.899 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.1584, allocations: 26.27 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.1584, allocations: 4.375 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.1585, allocations: 57.92 kB / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1585, allocations: 0 / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1585, allocations: 0 / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1585, allocations: 0 / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.613e-05/0.1586, allocations: 19.98 kB / 0.8991 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.1587, allocations: 153.7 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1589, allocations: 46.61 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.159, allocations: 24.94 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.1592, allocations: 182.1 kB / 0.8995 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.1592, allocations: 34.5 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1592, allocations: 0 / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002008/0.1594, allocations: 65.67 kB / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.1595, allocations: 55.41 kB / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.897e-05/0.1595, allocations: 97.86 kB / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.1595, allocations: 25.7 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.169e-05/0.1595, allocations: 80.14 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1596, allocations: 15.73 kB / 0.8999 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.1596, allocations: 17.72 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.1596, allocations: 310.8 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.1597, allocations: 7.938 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.1597, allocations: 19.98 kB / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.767e-05/0.1598, allocations: 24.84 kB / 0.9003 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1598, allocations: 0 / 0.9003 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001247/0.1599, allocations: 62.09 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.16, allocations: 7.938 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.16, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.16, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.16, allocations: 12.03 kB / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1601, allocations: 4 kB / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.1601, allocations: 7.922 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1601, allocations: 8 kB / 0.9004 GB, free: 63.51 MB / 0.6042 GB 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 4.2e-05/0.1602, allocations: 113.8 kB / 0.9005 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.1602, allocations: 11.84 kB / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.1603, allocations: 65.16 kB / 0.9005 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1603, allocations: 3.984 kB / 0.9005 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1603, allocations: 0 / 0.9005 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1603, allocations: 8 kB / 0.9005 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.922e-05/0.1604, allocations: 153.7 kB / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1604, allocations: 0 / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.1605, allocations: 8 kB / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1605, allocations: 3.938 kB / 0.9007 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1605, allocations: 0 / 0.9007 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1605, allocations: 3.938 kB / 0.9007 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1605, allocations: 0 / 0.9007 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1606, allocations: 85.11 kB / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.1607, allocations: 85.03 kB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1607, allocations: 8 kB / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.391e-05/0.1607, allocations: 0 / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.1608, allocations: 4 kB / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1608, allocations: 0 / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.735e-05/0.1608, allocations: 83.27 kB / 0.901 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1608, allocations: 0 / 0.901 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002001/0.161, allocations: 35.94 kB / 0.901 GB, free: 62.75 MB / 0.6042 GB 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.000343/0.1614, allocations: 0.6669 MB / 0.9016 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.1615, allocations: 23.98 kB / 0.9017 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1615, allocations: 0 / 0.9017 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.1615, allocations: 27.92 kB / 0.9017 GB, free: 62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.1617, allocations: 8 kB / 0.9017 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.1621, allocations: 166.5 kB / 0.9019 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.514e-05/0.1621, allocations: 0.6731 MB / 0.9025 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.322e-05/0.1622, allocations: 15.84 kB / 0.9025 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.1622, allocations: 11.38 kB / 0.9025 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1622, allocations: 0 / 0.9025 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.1821, allocations: 1.734 MB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.1824, allocations: 227.9 kB / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.78, allocations: 1.719 kB / 0.9045 GB, free: 59.24 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)