Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",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.0009557/0.0009559, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001347/0.001347, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 294.8 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8998/0.8998, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 95.17 kB / 0.5946 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1622, allocations: 86.99 MB / 0.6796 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002323/0.1646, allocations: 1.315 MB / 0.6808 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005507/0.1652, allocations: 307 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.349e-05/0.1652, allocations: 0 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.1652, allocations: 0 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.1653, allocations: 7.922 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1655, allocations: 39.81 kB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.683e-05/0.1655, allocations: 15.94 kB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.1656, allocations: 0 / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.1656, allocations: 7.938 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.1657, allocations: 15.92 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1657, allocations: 0 / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.1658, allocations: 55.95 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.1659, allocations: 4 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.1659, allocations: 15.92 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.166, allocations: 44.17 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.166, allocations: 0 / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.166, allocations: 0 / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.166, allocations: 3.938 kB / 0.6813 GB, free: 15.28 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.0003568/0.1664, allocations: 339.5 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1664, allocations: 8.031 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.1665, allocations: 30.75 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.1667, allocations: 20.92 kB / 0.6817 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.775e-05/0.1668, allocations: 164.4 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1668, allocations: 384 / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1668, allocations: 4.375 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.1669, allocations: 46.23 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1669, allocations: 3.938 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.167, allocations: 7.938 kB / 0.6819 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.167, allocations: 0 / 0.6819 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.167, allocations: 19.92 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.1672, allocations: 157.7 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.1691, allocations: 266.4 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.1692, allocations: 20.86 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.1692, allocations: 0 / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1692, allocations: 34.56 kB / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1692, allocations: 0 / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001576/0.1694, allocations: 65.47 kB / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1694, allocations: 63.41 kB / 0.6825 GB, free: 13.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.045e-05/0.1695, allocations: 93.84 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1695, allocations: 25.7 kB / 0.6826 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.1695, allocations: 84.12 kB / 0.6827 GB, free: 13.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1696, allocations: 7.906 kB / 0.6827 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.1696, allocations: 17.72 kB / 0.6827 GB, free: 13.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.1697, allocations: 310.8 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.1697, allocations: 16.11 kB / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/0.1697, allocations: 8 kB / 0.6831 GB, free: 13.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.1698, allocations: 24.86 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1698, allocations: 0 / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.863e-05/0.1699, allocations: 61.53 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1699, allocations: 7.938 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1699, allocations: 3.938 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1699, allocations: 0 / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.889e-05/0.17, allocations: 8 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.17, allocations: 3.984 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.1701, allocations: 7.938 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.1701, allocations: 0 / 0.6832 GB, free: 13.15 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 6.939e-05/0.1701, allocations: 115.2 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.1702, allocations: 3.938 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.1702, allocations: 7.5 kB / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1702, allocations: 336 / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1702, allocations: 0 / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1702, allocations: 7.938 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1703, allocations: 157.7 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1703, allocations: 8 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.1704, allocations: 7.938 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.1704, allocations: 3.938 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1704, allocations: 4 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1704, allocations: 3.984 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1704, allocations: 0 / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.325e-05/0.1705, allocations: 77.12 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.1706, allocations: 81.02 kB / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1706, allocations: 7.938 kB / 0.6836 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.1707, allocations: 4 kB / 0.6836 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.1707, allocations: 3.984 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1707, allocations: 4 kB / 0.6837 GB, free: 12.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.58e-05/0.1707, allocations: 75.28 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1707, allocations: 0 / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001747/0.1709, allocations: 4 kB / 0.6837 GB, free: 12.48 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.000326/0.1713, allocations: 0.6203 MB / 0.6843 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.159e-05/0.1714, allocations: 27.98 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1714, allocations: 0 / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.1714, allocations: 15.94 kB / 0.6844 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.1717, allocations: 7.984 kB / 0.6844 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.1721, allocations: 160.2 kB / 0.6845 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.1723, allocations: 0.677 MB / 0.6852 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.141e-05/0.1724, allocations: 8 kB / 0.6852 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.1724, allocations: 11.38 kB / 0.6852 GB, free: 10.87 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1725, allocations: 0 / 0.6852 GB, free: 10.87 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01016/0.1826, allocations: 1.182 MB / 0.6864 GB, free: 9.828 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.1829, allocations: 224 kB / 0.6866 GB, free: 9.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/1.822, allocations: 0 / 0.6866 GB, free: 9.574 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)