Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_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.38/1.38, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009771/0.0009771, allocations: 169.5 kB / 325.8 MB, free: 2.688 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.457/1.457, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006747/0.0006748, allocations: 94.72 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002814, allocations: 9.75 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1544, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001256/0.1557, allocations: 1.226 MB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008952/0.1566, allocations: 0.829 MB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.1567, allocations: 0 / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.1567, allocations: 0 / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.1568, allocations: 15.92 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1571, allocations: 111.5 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.645e-05/0.1571, allocations: 51.8 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.414e-05/0.1572, allocations: 11.98 kB / 0.8984 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.5e-05/0.1573, allocations: 19.94 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.484e-05/0.1573, allocations: 27.89 kB / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1573, allocations: 0 / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.1576, allocations: 167.7 kB / 0.8986 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.1576, allocations: 11.94 kB / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.1576, allocations: 23.84 kB / 0.8986 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.1578, allocations: 147.6 kB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.1578, allocations: 0 / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1578, allocations: 0 / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.1578, allocations: 0 / 0.8988 GB, free: 65.44 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003811/0.1582, allocations: 399.3 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1583, allocations: 12.03 kB / 0.8992 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.1583, allocations: 30.75 kB / 0.8992 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.103e-05/0.1583, allocations: 12.78 kB / 0.8992 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.934e-05/0.1584, allocations: 176.3 kB / 0.8994 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1584, allocations: 8.375 kB / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.1584, allocations: 384 / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.1586, allocations: 90.14 kB / 0.8995 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1587, allocations: 3.938 kB / 0.8995 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.1587, allocations: 0 / 0.8995 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1587, allocations: 4 kB / 0.8995 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.1589, allocations: 95.92 kB / 0.8996 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.1592, allocations: 276.7 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1594, allocations: 74.47 kB / 0.8999 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.1595, allocations: 44.92 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.1597, allocations: 93.09 kB / 0.9 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.029e-05/0.1597, allocations: 34.56 kB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1597, allocations: 0 / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004571/0.1601, allocations: 173.4 kB / 0.9002 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.616e-05/0.1602, allocations: 51.41 kB / 0.9003 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.593e-05/0.1602, allocations: 125.6 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.1602, allocations: 25.7 kB / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.1603, allocations: 92.14 kB / 0.9005 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.1603, allocations: 11.83 kB / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.1603, allocations: 13.72 kB / 0.9005 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.253e-05/0.1603, allocations: 318.8 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1605, allocations: 47.95 kB / 0.9009 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1606, allocations: 39.97 kB / 0.9009 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.1609, allocations: 88.78 kB / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1609, allocations: 0 / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002725/0.1611, allocations: 125.5 kB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.1612, allocations: 12 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.1612, allocations: 0 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.1612, allocations: 0 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1613, allocations: 27.91 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1613, allocations: 0 / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.1614, allocations: 23.92 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1614, allocations: 0 / 0.9012 GB, free: 62.7 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 (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 4.334e-05/0.1614, allocations: 117.8 kB / 0.9013 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1615, allocations: 3.906 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.1618, allocations: 129.5 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1618, allocations: 0 / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1618, allocations: 3.938 kB / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1618, allocations: 3.984 kB / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.1619, allocations: 177.7 kB / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1619, allocations: 0 / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.485e-05/0.162, allocations: 27.97 kB / 0.9016 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.162, allocations: 0 / 0.9016 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.162, allocations: 0 / 0.9016 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.162, allocations: 0 / 0.9016 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.162, allocations: 0 / 0.9016 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1623, allocations: 211.4 kB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.1624, allocations: 89.02 kB / 0.9019 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1624, allocations: 7.984 kB / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.871e-05/0.1625, allocations: 15.98 kB / 0.9019 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1625, allocations: 0 / 0.9019 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.1625, allocations: 8 kB / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.738e-05/0.1626, allocations: 91.27 kB / 0.902 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1626, allocations: 3.938 kB / 0.902 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002268/0.1628, allocations: 39.92 kB / 0.9021 GB, free: 61.69 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 (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 Backend phase and start with SimCode phase: time 0.0004834/0.1633, allocations: 0.783 MB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.1636, allocations: 91.95 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1636, allocations: 0 / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.1637, allocations: 51.91 kB / 0.903 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.164, allocations: 15.92 kB / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1653, allocations: 1.48 MB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.986e-05/0.1654, allocations: 0.6809 MB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.1654, allocations: 3.938 kB / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.1654, allocations: 23.42 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1655, allocations: 0 / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2206/0.386, allocations: 2.111 MB / 0.9072 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/0.3863, allocations: 215.5 kB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.179, allocations: 0 / 0.9074 GB, free: 56.21 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)