Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 180.8 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008088/0.000809, allocations: 85.25 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.88e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6412/0.6412, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.8304, allocations: 138.5 MB / 1.109 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.8307, allocations: 75.95 kB / 1.109 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00417/0.8349, allocations: 1.468 MB / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8349, allocations: 4 kB / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.8349, allocations: 0 / 1.11 GB, free: 10.1 MB / 0.7136 GB 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.0002967/0.8352, allocations: 331.1 kB / 1.11 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.8353, allocations: 12.53 kB / 1.11 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.8355, allocations: 21.22 kB / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.8356, allocations: 171 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.8356, allocations: 0.5312 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.8356, allocations: 0.5 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.194e-05/0.8357, allocations: 21.47 kB / 1.111 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.109e-05/0.8358, allocations: 39.98 kB / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8358, allocations: 0 / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.8359, allocations: 0 / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.8359, allocations: 0 / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.836, allocations: 130.8 kB / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.8379, allocations: 283.8 kB / 1.111 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.8379, allocations: 18.58 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.8379, allocations: 0 / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.838, allocations: 30.56 kB / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.838, allocations: 0.5 kB / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001505/0.8381, allocations: 58.56 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.8382, allocations: 55.34 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.523e-05/0.8382, allocations: 87.66 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.8383, allocations: 25.7 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.8383, allocations: 80.14 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.8383, allocations: 11.84 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.8383, allocations: 0 / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8385, allocations: 322 kB / 1.112 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.8385, allocations: 7.938 kB / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.575e-05/0.8385, allocations: 8 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.322e-05/0.8386, allocations: 8 kB / 1.112 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8386, allocations: 0 / 1.112 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.254e-05/0.8386, allocations: 57.55 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.8387, allocations: 4 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.8387, allocations: 0 / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.8387, allocations: 7.125 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.8388, allocations: 6.812 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.8388, allocations: 0 / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.8388, allocations: 1.688 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.8388, allocations: 0 / 1.112 GB, free: 8.168 MB / 0.7136 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 (4): * Single equations (assignments): 4 * 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 7.609e-05/0.8389, allocations: 111.7 kB / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.576e-05/0.839, allocations: 53.59 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-06/0.839, allocations: 4.5 kB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.839, allocations: 16.23 kB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.839, allocations: 0 / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.839, allocations: 0 / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.839, allocations: 240 / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.851e-05/0.8391, allocations: 126.2 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.8392, allocations: 3.984 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.8392, allocations: 8 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.8392, allocations: 7.938 kB / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.8392, allocations: 0 / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8392, allocations: 1.75 kB / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8393, allocations: 0 / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.63e-05/0.8394, allocations: 84.97 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.8394, allocations: 85.05 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.8395, allocations: 7.938 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.8395, allocations: 4 kB / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.8395, allocations: 0 / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.8395, allocations: 4 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.882e-05/0.8396, allocations: 79.28 kB / 1.112 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8396, allocations: 0 / 1.112 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000172/0.8398, allocations: 4 kB / 1.112 GB, free: 7.488 MB / 0.7136 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 (4): * Single equations (assignments): 4 * 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.0003702/0.8401, allocations: 0.6047 MB / 1.113 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.703e-05/0.8402, allocations: 27.92 kB / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8402, allocations: 96 / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.807e-05/0.8403, allocations: 14.72 kB / 1.113 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.8404, allocations: 15.58 kB / 1.113 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.8407, allocations: 100.2 kB / 1.113 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.841, allocations: 0.6768 MB / 1.114 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.222e-05/0.8411, allocations: 8 kB / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.8411, allocations: 7.438 kB / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.8411, allocations: 0 / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.8615, allocations: 0.7995 MB / 1.115 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003109/0.8619, allocations: 144.7 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.498, allocations: 0 / 1.115 GB, free: 5.008 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)