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.839/1.839, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001338/0.001339, allocations: 180.1 kB / 371.6 MB, free: 3.336 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.129/2.129, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001145/0.001145, allocations: 90.66 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.373e-05/4.397e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3233, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9784/1.302, allocations: 139.1 MB / 1.116 GB, free: 44.54 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/1.302, allocations: 76.91 kB / 1.116 GB, free: 44.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004061/1.306, allocations: 1.476 MB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.144e-06/1.306, allocations: 1.188 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.306, allocations: 0 / 1.117 GB, free: 43.57 MB / 0.7448 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.0003788/1.307, allocations: 346.1 kB / 1.118 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/1.307, allocations: 8.031 kB / 1.118 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.5e-05/1.307, allocations: 30.56 kB / 1.118 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/1.307, allocations: 23.64 kB / 1.118 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.762e-05/1.307, allocations: 161.1 kB / 1.118 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/1.307, allocations: 7.266 kB / 1.118 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/1.307, allocations: 0 / 1.118 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.362e-05/1.307, allocations: 49.52 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/1.307, allocations: 4 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/1.307, allocations: 0 / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.307, allocations: 0.75 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.8e-05/1.307, allocations: 15.88 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/1.307, allocations: 157 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/1.309, allocations: 273.1 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/1.309, allocations: 17.09 kB / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/1.309, allocations: 0 / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/1.309, allocations: 41.97 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/1.309, allocations: 0 / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001537/1.309, allocations: 53 kB / 1.118 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/1.309, allocations: 51.41 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.778e-05/1.309, allocations: 92.94 kB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/1.309, allocations: 25.7 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.019e-05/1.309, allocations: 80.14 kB / 1.119 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/1.309, allocations: 10.97 kB / 1.119 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/1.309, allocations: 4 kB / 1.119 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.023e-05/1.31, allocations: 314.8 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/1.31, allocations: 8 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/1.31, allocations: 15.77 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.17e-05/1.31, allocations: 15.81 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.31, allocations: 3.953 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.639e-05/1.31, allocations: 53.3 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/1.31, allocations: 4 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.31, allocations: 0.625 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/1.31, allocations: 0 / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/1.31, allocations: 8 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.31, allocations: 3.516 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/1.31, allocations: 7.906 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/1.31, allocations: 1.062 kB / 1.119 GB, free: 41.68 MB / 0.7448 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 3.604e-05/1.31, allocations: 102.6 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-06/1.31, allocations: 7.953 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/1.31, allocations: 7.312 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.31, allocations: 1.031 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/1.31, allocations: 0 / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.31, allocations: 1.25 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.549e-05/1.31, allocations: 161.1 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.31, allocations: 4 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/1.31, allocations: 11.47 kB / 1.119 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.31, allocations: 0 / 1.119 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/1.31, allocations: 4.562 kB / 1.119 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.31, allocations: 0.6562 kB / 1.119 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.31, allocations: 4 kB / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.642e-05/1.31, allocations: 72.7 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/1.31, allocations: 80.94 kB / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/1.31, allocations: 12.03 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.336e-05/1.31, allocations: 4 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/1.31, allocations: 0 / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/1.31, allocations: 4.594 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.68e-05/1.31, allocations: 79.28 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.81e-07/1.31, allocations: 0 / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001802/1.311, allocations: 7.938 kB / 1.12 GB, free: 41.07 MB / 0.7448 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.0002377/1.311, allocations: 0.621 MB / 1.12 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.458e-05/1.311, allocations: 19.94 kB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.311, allocations: 0 / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/1.311, allocations: 16.53 kB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/1.311, allocations: 15.22 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/1.311, allocations: 99.25 kB / 1.12 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.723e-05/1.311, allocations: 0.6809 MB / 1.121 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.179e-05/1.312, allocations: 4 kB / 1.121 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/1.312, allocations: 15.38 kB / 1.121 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of SimCode: time 3.5e-07/1.312, allocations: 0 / 1.121 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01016/1.322, allocations: 1.078 MB / 1.122 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/1.322, allocations: 166.5 kB / 1.122 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.317/2.639, allocations: 0.875 kB / 1.122 GB, free: 38.79 MB / 0.7448 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)