Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.481/2.481, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001461/0.00146, allocations: 180.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001075/0.001075, allocations: 90.25 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.502e-05, allocations: 8 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8097/0.8098, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/1.043, allocations: 137.3 MB / 1.098 GB, free: 3.102 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/1.044, allocations: 75.95 kB / 1.098 GB, free: 3.027 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006585/1.05, allocations: 1.48 MB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.362e-06/1.05, allocations: 0 / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.112e-06/1.05, allocations: 0.7188 kB / 1.099 GB, free: 1.582 MB / 0.698 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.0004653/1.051, allocations: 331.4 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.516e-05/1.051, allocations: 8.031 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/1.051, allocations: 18.41 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/1.051, allocations: 170.5 kB / 1.1 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/1.051, allocations: 0 / 1.1 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/1.051, allocations: 0 / 1.1 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001054/1.052, allocations: 16.66 kB / 1.1 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.577e-05/1.052, allocations: 42.41 kB / 1.1 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/1.052, allocations: 2.156 kB / 1.1 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/1.052, allocations: 0.6875 kB / 1.1 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/1.052, allocations: 0 / 1.1 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/1.052, allocations: 135.6 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003219/1.055, allocations: 271 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.974e-05/1.055, allocations: 16.86 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/1.055, allocations: 0 / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/1.055, allocations: 34.22 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/1.055, allocations: 0 / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.000208/1.056, allocations: 63.88 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/1.056, allocations: 51.41 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/1.056, allocations: 85 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/1.056, allocations: 29.64 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/1.056, allocations: 80.14 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/1.056, allocations: 19.95 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/1.056, allocations: 4 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.056, allocations: 310.8 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/1.056, allocations: 8 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/1.056, allocations: 4 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/1.056, allocations: 12 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.056, allocations: 0 / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/1.056, allocations: 53.55 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.056, allocations: 4 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.056, allocations: 5.781 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.056, allocations: 4 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.057, allocations: 11.92 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/1.057, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/1.057, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/1.057, allocations: 6.188 kB / 1.101 GB, free: 15.65 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 9.591e-05/1.057, allocations: 107.5 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001123/1.057, allocations: 57.64 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/1.057, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/1.057, allocations: 8.125 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.057, allocations: 4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.057, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.057, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/1.057, allocations: 137.3 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.057, allocations: 7.953 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.748e-05/1.057, allocations: 4 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/1.057, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/1.057, allocations: 3.938 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.057, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.057, allocations: 1.5 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/1.057, allocations: 81.03 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.078e-05/1.058, allocations: 89.05 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/1.058, allocations: 0 / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/1.058, allocations: 3.938 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/1.058, allocations: 288 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/1.058, allocations: 4 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.152e-05/1.058, allocations: 75.28 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.058, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000242/1.058, allocations: 12.09 kB / 1.101 GB, free: 14.98 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.0004783/1.059, allocations: 0.6124 MB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001114/1.059, allocations: 24 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.059, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/1.059, allocations: 8 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/1.059, allocations: 20.41 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/1.059, allocations: 96 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/1.06, allocations: 0.6768 MB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.374e-05/1.06, allocations: 8 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/1.06, allocations: 7.438 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/1.06, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/1.095, allocations: 0.7885 MB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003526/1.095, allocations: 156.9 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.362, allocations: 0 / 1.104 GB, free: 12.51 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)