Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.62/1.62, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001076/0.001076, allocations: 172.9 kB / 366.7 MB, free: 1.641 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.531/1.531, allocations: 205.3 MB / 0.626 GB, free: 7.105 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.0008138/0.0008139, allocations: 90.45 kB / 0.74 GB, free: 39.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.199e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7867/0.7867, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/1.006, allocations: 139.7 MB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.007, allocations: 83.94 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01908/1.026, allocations: 6.151 MB / 1.116 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.035e-06/1.026, allocations: 0 / 1.116 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.29e-05/1.026, allocations: 0 / 1.116 GB, free: 4.316 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.0005172/1.026, allocations: 370.3 kB / 1.116 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/1.026, allocations: 12.03 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/1.027, allocations: 4 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/1.027, allocations: 171 kB / 1.116 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/1.027, allocations: 0 / 1.116 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/1.027, allocations: 4 kB / 1.116 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001003/1.027, allocations: 12 kB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/1.027, allocations: 45.62 kB / 1.116 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/1.027, allocations: 0 / 1.116 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/1.027, allocations: 4 kB / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/1.027, allocations: 0 / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/1.027, allocations: 138.1 kB / 1.117 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/1.028, allocations: 118.6 kB / 1.117 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/1.028, allocations: 20.94 kB / 1.117 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/1.028, allocations: 81.11 kB / 1.117 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.028, allocations: 42.5 kB / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/1.028, allocations: 0 / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002351/1.029, allocations: 58.83 kB / 1.117 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/1.029, allocations: 55.41 kB / 1.117 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/1.029, allocations: 85 kB / 1.117 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/1.029, allocations: 25.7 kB / 1.117 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/1.029, allocations: 80.14 kB / 1.117 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/1.029, allocations: 8.031 kB / 1.117 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/1.029, allocations: 4 kB / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.029, allocations: 310.8 kB / 1.117 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/1.029, allocations: 11.98 kB / 1.117 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/1.029, allocations: 8 kB / 1.117 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.717e-05/1.029, allocations: 8 kB / 1.117 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.029, allocations: 0 / 1.117 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001185/1.029, allocations: 61.58 kB / 1.117 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.029, allocations: 10.58 kB / 1.117 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.029, allocations: 4 kB / 1.117 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.029, allocations: 4 kB / 1.117 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/1.029, allocations: 7.938 kB / 1.118 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/1.029, allocations: 0 / 1.118 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/1.029, allocations: 3.984 kB / 1.118 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/1.03, allocations: 4 kB / 1.118 GB, free: 2.371 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.811e-05/1.03, allocations: 101 kB / 1.118 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001091/1.03, allocations: 49.69 kB / 1.118 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/1.03, allocations: 8.188 kB / 1.118 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/1.03, allocations: 88.11 kB / 1.118 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.03, allocations: 3.984 kB / 1.118 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.03, allocations: 4 kB / 1.118 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.03, allocations: 0 / 1.118 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/1.03, allocations: 146.1 kB / 1.118 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.03, allocations: 0 / 1.118 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/1.03, allocations: 12 kB / 1.118 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.03, allocations: 3.953 kB / 1.118 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/1.03, allocations: 0 / 1.118 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.03, allocations: 0 / 1.118 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.03, allocations: 3.938 kB / 1.118 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/1.03, allocations: 89.11 kB / 1.118 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/1.031, allocations: 77.11 kB / 1.118 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/1.031, allocations: 6.672 kB / 1.118 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.714e-05/1.031, allocations: 7.984 kB / 1.118 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/1.031, allocations: 7.938 kB / 1.118 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/1.031, allocations: 0 / 1.118 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.206e-05/1.031, allocations: 79.28 kB / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.6e-07/1.031, allocations: 0 / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003001/1.031, allocations: 51.94 kB / 1.118 GB, free: 1.555 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 (5): * Single equations (assignments): 5 * 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.0009474/1.032, allocations: 0.6913 MB / 1.119 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001116/1.032, allocations: 27.94 kB / 1.119 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.032, allocations: 0 / 1.119 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.681e-05/1.032, allocations: 19.98 kB / 1.119 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/1.032, allocations: 6.172 kB / 1.119 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/1.033, allocations: 121.5 kB / 1.119 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/1.033, allocations: 0.6807 MB / 1.12 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.231e-05/1.033, allocations: 7.984 kB / 1.12 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/1.033, allocations: 19.44 kB / 1.12 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/1.033, allocations: 0 / 1.12 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/1.055, allocations: 1.387 MB / 1.121 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/1.055, allocations: 181 kB / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.731, allocations: 0 / 1.121 GB, free: 14.38 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)