Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.001271/0.001271, allocations: 108 kB / 15.6 MB, free: 132 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.001292/0.001292, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002378/0.002378, allocations: 282.7 kB / 290.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9983/0.9983, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 100.2 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1635, allocations: 89.15 MB / 0.6936 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002177/0.1657, allocations: 1.287 MB / 0.6949 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1668, allocations: 0.7661 MB / 0.6956 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.1669, allocations: 0 / 0.6956 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.1669, allocations: 0 / 0.6956 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.761e-05/0.1669, allocations: 7.922 kB / 0.6956 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.1674, allocations: 164.2 kB / 0.6958 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.1674, allocations: 35.73 kB / 0.6958 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.1675, allocations: 0.5 kB / 0.6958 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.1675, allocations: 13.66 kB / 0.6958 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.594e-05/0.1676, allocations: 11.92 kB / 0.6958 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.1676, allocations: 0 / 0.6958 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.168, allocations: 291.5 kB / 0.6961 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.168, allocations: 4.609 kB / 0.6961 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.1681, allocations: 11.94 kB / 0.6961 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1683, allocations: 172.4 kB / 0.6963 GB, free: 1.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1684, allocations: 1.562 kB / 0.6963 GB, free: 1.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1684, allocations: 4 kB / 0.6963 GB, free: 1.449 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1684, allocations: 0 / 0.6963 GB, free: 1.449 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000393/0.1688, allocations: 360.1 kB / 0.6966 GB, free: 1.047 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1688, allocations: 8.031 kB / 0.6966 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.1688, allocations: 37.3 kB / 0.6967 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.1691, allocations: 24.81 kB / 0.6967 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1692, allocations: 164.3 kB / 0.6969 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1692, allocations: 4.375 kB / 0.6969 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.1692, allocations: 6.031 kB / 0.6969 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.1693, allocations: 42.25 kB / 0.6969 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1693, allocations: 3.938 kB / 0.6969 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1694, allocations: 4 kB / 0.6969 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1694, allocations: 8.641 kB / 0.6969 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.1694, allocations: 19.98 kB / 0.6969 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.1696, allocations: 165.7 kB / 0.6971 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1697, allocations: 62.53 kB / 0.6972 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.1698, allocations: 28.88 kB / 0.6972 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1698, allocations: 4 kB / 0.6972 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1698, allocations: 30.56 kB / 0.6972 GB, free: 336 kB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.1698, allocations: 4 kB / 0.6972 GB, free: 332 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001775/0.17, allocations: 77.81 kB / 0.6973 GB, free: 248 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.17, allocations: 55.34 kB / 0.6974 GB, free: 180 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.1701, allocations: 101.8 kB / 0.6974 GB, free: 68 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1701, allocations: 25.7 kB / 0.6975 GB, free: 36 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.1702, allocations: 80.14 kB / 0.6976 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.1702, allocations: 19.64 kB / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.1703, allocations: 21.72 kB / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1704, allocations: 323 kB / 0.6979 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.1704, allocations: 12.06 kB / 0.6979 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.1704, allocations: 11.98 kB / 0.6979 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.084e-05/0.1705, allocations: 32.86 kB / 0.698 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1705, allocations: 0 / 0.698 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.719e-05/0.1706, allocations: 69.56 kB / 0.698 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1706, allocations: 11.94 kB / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1706, allocations: 0 / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.1707, allocations: 0 / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1708, allocations: 15.98 kB / 0.698 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1708, allocations: 4 kB / 0.698 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.1708, allocations: 4 kB / 0.6981 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1708, allocations: 4 kB / 0.6981 GB, free: 15.41 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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.871e-05/0.1709, allocations: 105.8 kB / 0.6982 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.1709, allocations: 11.84 kB / 0.6982 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.1711, allocations: 97.5 kB / 0.6983 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1712, allocations: 0 / 0.6983 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.1712, allocations: 0 / 0.6983 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1712, allocations: 0 / 0.6983 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.1713, allocations: 157.7 kB / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1713, allocations: 0 / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/0.1714, allocations: 19.98 kB / 0.6984 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1714, allocations: 3.938 kB / 0.6984 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.1714, allocations: 4 kB / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1714, allocations: 192 / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1714, allocations: 4 kB / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.1716, allocations: 105.1 kB / 0.6985 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.1716, allocations: 85 kB / 0.6986 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1717, allocations: 7.938 kB / 0.6986 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.846e-05/0.1717, allocations: 4 kB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.1717, allocations: 3.984 kB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1717, allocations: 4 kB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.1718, allocations: 79.28 kB / 0.6987 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1718, allocations: 3.938 kB / 0.6987 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001744/0.172, allocations: 12 kB / 0.6987 GB, free: 14.61 MB / 0.4981 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 (7): * Single equations (assignments): 7 * 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.0003772/0.1724, allocations: 0.632 MB / 0.6994 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.1725, allocations: 40.02 kB / 0.6994 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1725, allocations: 4 kB / 0.6994 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.1725, allocations: 35.91 kB / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.1727, allocations: 10.78 kB / 0.6994 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.1731, allocations: 160.2 kB / 0.6996 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1734, allocations: 0.6749 MB / 0.7002 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.315e-05/0.1734, allocations: 16.22 kB / 0.7003 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.1735, allocations: 15.44 kB / 0.7003 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1735, allocations: 3.938 kB / 0.7003 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.939/2.113, allocations: 1.421 MB / 0.7017 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/15.87, allocations: 18.28 kB / 0.7017 GB, free: 11.66 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)