Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001261/0.001261, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001317/0.001317, allocations: 199.3 kB / 16.14 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001943/0.001943, allocations: 279.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9027/0.9027, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 89.44 kB / 0.5946 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1533, allocations: 86.98 MB / 0.6795 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002141/0.1555, allocations: 1.331 MB / 0.6808 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1568, allocations: 0.8992 MB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.294e-05/0.1569, allocations: 0 / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.1569, allocations: 0 / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.163e-05/0.1569, allocations: 7.922 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.1574, allocations: 147.9 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.184e-05/0.1575, allocations: 20.8 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.1575, allocations: 3.984 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.211e-05/0.1576, allocations: 12.41 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.1576, allocations: 9.203 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1576, allocations: 4 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.1579, allocations: 188.5 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1579, allocations: 0.8438 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.158, allocations: 7.938 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1582, allocations: 163.9 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1582, allocations: 0 / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1582, allocations: 0 / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1582, allocations: 0 / 0.6823 GB, free: 14.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.0003738/0.1586, allocations: 351.6 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1587, allocations: 8.031 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.1587, allocations: 42.73 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.1589, allocations: 8.938 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.159, allocations: 172.2 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.159, allocations: 4.375 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.159, allocations: 7.938 kB / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1591, allocations: 45.67 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1592, allocations: 0 / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1592, allocations: 0 / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1592, allocations: 0 / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.1592, allocations: 15.98 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.1594, allocations: 157.6 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009044/0.1603, allocations: 142.5 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.1604, allocations: 16.86 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.1605, allocations: 89.09 kB / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1605, allocations: 30.56 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.384e-06/0.1605, allocations: 4 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000172/0.1607, allocations: 69.56 kB / 0.6834 GB, free: 12.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.1607, allocations: 51.41 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.299e-05/0.1608, allocations: 97.78 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1608, allocations: 29.7 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.1608, allocations: 80.14 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1609, allocations: 11.81 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.1609, allocations: 13.72 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.161, allocations: 323 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.161, allocations: 4 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.1611, allocations: 12 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.92e-05/0.1611, allocations: 24.84 kB / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1611, allocations: 0 / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.08e-05/0.1612, allocations: 57.62 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1612, allocations: 8 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1612, allocations: 0 / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1613, allocations: 3.938 kB / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.365e-05/0.1613, allocations: 8 kB / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1613, allocations: 0 / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.1614, allocations: 4 kB / 0.6841 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1614, allocations: 0 / 0.6841 GB, free: 12.17 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.201e-05/0.1614, allocations: 111.1 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.1615, allocations: 7.984 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.1617, allocations: 77.17 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1617, allocations: 336 / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1617, allocations: 4 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1617, allocations: 0 / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1618, allocations: 165.5 kB / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1618, allocations: 7.922 kB / 0.6844 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.1619, allocations: 12.06 kB / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1619, allocations: 0 / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1619, allocations: 8 kB / 0.6845 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1619, allocations: 0 / 0.6845 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1619, allocations: 4 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.162, allocations: 92.95 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.1621, allocations: 77.11 kB / 0.6846 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1621, allocations: 3.938 kB / 0.6846 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.1622, allocations: 4 kB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.1622, allocations: 3.984 kB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1622, allocations: 8 kB / 0.6846 GB, free: 11.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.741e-05/0.1622, allocations: 79.28 kB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.981e-06/0.1623, allocations: 0 / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1625, allocations: 43.94 kB / 0.6848 GB, free: 11.37 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 (5): * Single equations (assignments): 5 * 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.0006785/0.1632, allocations: 0.7 MB / 0.6854 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.418e-05/0.1633, allocations: 24 kB / 0.6855 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1633, allocations: 0 / 0.6855 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.1633, allocations: 23.92 kB / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.1635, allocations: 4 kB / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.164, allocations: 177.9 kB / 0.6857 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1642, allocations: 0.6848 MB / 0.6863 GB, free: 9.672 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.909e-05/0.1643, allocations: 4 kB / 0.6863 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.1643, allocations: 15.44 kB / 0.6863 GB, free: 9.656 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1643, allocations: 0 / 0.6863 GB, free: 9.656 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.1759, allocations: 1.835 MB / 0.6881 GB, free: 7.984 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/0.1762, allocations: 270 kB / 0.6884 GB, free: 7.625 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/1.897, allocations: 0 / 0.6884 GB, free: 7.625 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)