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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8126/0.8126, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 180.8 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009576, allocations: 89.55 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 286 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.337e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4537/0.4538, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.5977, allocations: 109.1 MB / 0.864 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.598, allocations: 79.89 kB / 0.8641 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007109/0.6051, allocations: 2.479 MB / 0.8665 GB, free: 100 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6051, allocations: 0 / 0.8665 GB, free: 100 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.6051, allocations: 4 kB / 0.8665 GB, free: 96 kB / 0.5261 GB 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.0003202/0.6055, allocations: 354.4 kB / 0.8669 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.6055, allocations: 8.031 kB / 0.8669 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.6057, allocations: 15.98 kB / 0.8669 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.6058, allocations: 159.1 kB / 0.867 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.6059, allocations: 7.953 kB / 0.867 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.6059, allocations: 3.938 kB / 0.867 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.572e-05/0.606, allocations: 23.98 kB / 0.8671 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.667e-05/0.6061, allocations: 45.67 kB / 0.8671 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.6061, allocations: 0 / 0.8671 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.6061, allocations: 7.984 kB / 0.8671 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.6061, allocations: 0 / 0.8671 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.6063, allocations: 138.2 kB / 0.8672 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.6064, allocations: 54.66 kB / 0.8673 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.6064, allocations: 20.98 kB / 0.8673 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.6065, allocations: 15.92 kB / 0.8673 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.6065, allocations: 30.56 kB / 0.8674 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.6065, allocations: 0 / 0.8674 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.000147/0.6067, allocations: 61.62 kB / 0.8674 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.6067, allocations: 55.41 kB / 0.8675 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.859e-05/0.6068, allocations: 89 kB / 0.8676 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.6068, allocations: 25.7 kB / 0.8676 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.6068, allocations: 84.14 kB / 0.8677 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.6069, allocations: 15.66 kB / 0.8677 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.6069, allocations: 3.938 kB / 0.8677 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.607, allocations: 318.8 kB / 0.868 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.607, allocations: 16.12 kB / 0.868 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.423e-05/0.607, allocations: 4 kB / 0.868 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.6071, allocations: 12 kB / 0.868 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.6071, allocations: 0 / 0.868 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.958e-05/0.6072, allocations: 69.8 kB / 0.8681 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6072, allocations: 4 kB / 0.8681 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.6072, allocations: 3.953 kB / 0.8681 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6072, allocations: 4 kB / 0.8681 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.6073, allocations: 12 kB / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.6074, allocations: 7.984 kB / 0.8681 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.6074, allocations: 4 kB / 0.8681 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.6074, allocations: 0 / 0.8681 GB, free: 14.25 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.6075, allocations: 101 kB / 0.8682 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.067e-05/0.6076, allocations: 61.62 kB / 0.8683 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.6076, allocations: 11.86 kB / 0.8683 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.6078, allocations: 81.73 kB / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6078, allocations: 4 kB / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6078, allocations: 0 / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6078, allocations: 0 / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.719e-05/0.6079, allocations: 146.2 kB / 0.8685 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6079, allocations: 0 / 0.8685 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.608, allocations: 12 kB / 0.8685 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.608, allocations: 0 / 0.8685 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.608, allocations: 7.938 kB / 0.8685 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.608, allocations: 7.938 kB / 0.8685 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.608, allocations: 0 / 0.8685 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.6082, allocations: 93.03 kB / 0.8686 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.6082, allocations: 85.08 kB / 0.8687 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.6083, allocations: 4 kB / 0.8687 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/0.6083, allocations: 3.953 kB / 0.8687 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.6083, allocations: 0 / 0.8687 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.6084, allocations: 8 kB / 0.8687 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.6084, allocations: 75.28 kB / 0.8688 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6084, allocations: 8.031 kB / 0.8688 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00017/0.6086, allocations: 11.94 kB / 0.8688 GB, free: 13.45 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003662/0.609, allocations: 0.6241 MB / 0.8694 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.6091, allocations: 35.97 kB / 0.8694 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6091, allocations: 0 / 0.8694 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.6091, allocations: 23.94 kB / 0.8695 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.6092, allocations: 7.953 kB / 0.8695 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.6096, allocations: 97.64 kB / 0.8696 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.6098, allocations: 0.6822 MB / 0.8702 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.928e-05/0.6099, allocations: 12 kB / 0.8702 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.6099, allocations: 17.27 kB / 0.8703 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.6099, allocations: 0 / 0.8703 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.6288, allocations: 0.8906 MB / 0.8711 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.629, allocations: 186.4 kB / 0.8713 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.2, allocations: 1.031 kB / 0.8713 GB, free: 10.81 MB / 0.5417 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/linux/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)