Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_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.001036/0.001037, allocations: 99.05 kB / 16.02 MB, free: 80 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.001353/0.001353, allocations: 180.2 kB / 16.92 MB, free: 6.898 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6956/0.6956, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003503, allocations: 13.03 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1533, allocations: 77.53 MB / 0.56 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001493/0.1549, allocations: 0.9887 MB / 0.561 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1562, allocations: 0.8304 MB / 0.5618 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.1563, allocations: 3.938 kB / 0.5618 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.1563, allocations: 3.938 kB / 0.5618 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.1563, allocations: 4 kB / 0.5618 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.1568, allocations: 107.5 kB / 0.5619 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.327e-05/0.1569, allocations: 27.91 kB / 0.562 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.1569, allocations: 4 kB / 0.562 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.157, allocations: 7.984 kB / 0.562 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.157, allocations: 15.92 kB / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.157, allocations: 0 / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.1574, allocations: 179.7 kB / 0.5622 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.1574, allocations: 0 / 0.5622 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.1574, allocations: 37.64 kB / 0.5622 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1577, allocations: 120 kB / 0.5623 GB, free: 6.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1577, allocations: 0 / 0.5623 GB, free: 6.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1577, allocations: 0 / 0.5623 GB, free: 6.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.1577, allocations: 0 / 0.5623 GB, free: 6.57 MB / 430.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.0004693/0.1582, allocations: 359.5 kB / 0.5627 GB, free: 6.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1583, allocations: 12.03 kB / 0.5627 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.1583, allocations: 38.75 kB / 0.5627 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.1583, allocations: 8.844 kB / 0.5627 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1585, allocations: 160.4 kB / 0.5629 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.1585, allocations: 34.25 kB / 0.5629 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1586, allocations: 384 / 0.5629 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1587, allocations: 49.94 kB / 0.5629 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1587, allocations: 0 / 0.5629 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.1587, allocations: 0 / 0.5629 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1588, allocations: 3.984 kB / 0.5629 GB, free: 5.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.619e-05/0.1589, allocations: 23.98 kB / 0.563 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.159, allocations: 153.7 kB / 0.5631 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.1592, allocations: 50.55 kB / 0.5632 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.1593, allocations: 24.88 kB / 0.5632 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.1596, allocations: 182.2 kB / 0.5634 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1596, allocations: 38.44 kB / 0.5634 GB, free: 5.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1596, allocations: 0 / 0.5634 GB, free: 5.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000235/0.1599, allocations: 65.67 kB / 0.5635 GB, free: 5.168 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.1599, allocations: 51.41 kB / 0.5635 GB, free: 5.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/0.16, allocations: 97.86 kB / 0.5636 GB, free: 5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.16, allocations: 25.7 kB / 0.5636 GB, free: 4.969 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.16, allocations: 84.14 kB / 0.5637 GB, free: 4.883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.1601, allocations: 15.8 kB / 0.5637 GB, free: 4.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.1601, allocations: 13.72 kB / 0.5637 GB, free: 4.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1602, allocations: 310.8 kB / 0.564 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.1603, allocations: 15.98 kB / 0.5641 GB, free: 4.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.973e-05/0.1603, allocations: 7.938 kB / 0.5641 GB, free: 4.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.125e-05/0.1604, allocations: 28.84 kB / 0.5641 GB, free: 4.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1604, allocations: 0 / 0.5641 GB, free: 4.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001303/0.1606, allocations: 57.69 kB / 0.5641 GB, free: 4.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1606, allocations: 11.92 kB / 0.5642 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1606, allocations: 0 / 0.5642 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.1606, allocations: 0 / 0.5642 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.965e-05/0.1607, allocations: 8 kB / 0.5642 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.1607, allocations: 3.984 kB / 0.5642 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.362e-05/0.1607, allocations: 11.84 kB / 0.5642 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.1607, allocations: 0 / 0.5642 GB, free: 4.383 MB / 430.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 7.048e-05/0.1608, allocations: 121.8 kB / 0.5643 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.1608, allocations: 7.938 kB / 0.5643 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.161, allocations: 61.17 kB / 0.5644 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.161, allocations: 4.562 kB / 0.5644 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.161, allocations: 0 / 0.5644 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.161, allocations: 0 / 0.5644 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.1612, allocations: 157.7 kB / 0.5645 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1612, allocations: 0 / 0.5645 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.1612, allocations: 8 kB / 0.5645 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1612, allocations: 3.938 kB / 0.5645 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1612, allocations: 4 kB / 0.5645 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1613, allocations: 3.984 kB / 0.5645 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1613, allocations: 7.875 kB / 0.5645 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.1614, allocations: 81.11 kB / 0.5646 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.1615, allocations: 96.94 kB / 0.5647 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.1615, allocations: 0 / 0.5647 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.622e-05/0.1616, allocations: 0 / 0.5647 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.1616, allocations: 15.92 kB / 0.5647 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1616, allocations: 0 / 0.5647 GB, free: 3.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.1617, allocations: 79.28 kB / 0.5648 GB, free: 3.641 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1617, allocations: 0 / 0.5648 GB, free: 3.641 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1619, allocations: 35.94 kB / 0.5648 GB, free: 3.605 MB / 430.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.0005188/0.1624, allocations: 0.6553 MB / 0.5655 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1626, allocations: 27.98 kB / 0.5655 GB, free: 2.891 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1626, allocations: 0 / 0.5655 GB, free: 2.891 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.1626, allocations: 19.92 kB / 0.5655 GB, free: 2.871 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1629, allocations: 5.562 kB / 0.5655 GB, free: 2.867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.1632, allocations: 196.4 kB / 0.5657 GB, free: 2.637 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1635, allocations: 0.677 MB / 0.5664 GB, free: 1.934 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.483e-05/0.1635, allocations: 4 kB / 0.5664 GB, free: 1.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.1636, allocations: 11.44 kB / 0.5664 GB, free: 1.918 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1636, allocations: 0 / 0.5664 GB, free: 1.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.1742, allocations: 1.711 MB / 0.5681 GB, free: 364 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.1744, allocations: 206.2 kB / 0.5683 GB, free: 104 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.03, allocations: 64 / 0.5683 GB, free: 104 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)