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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002066/0.002067, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.47/3.47, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.4/3.4, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001148, allocations: 18.53 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.5658, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002876/0.5688, allocations: 0.9843 MB / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.5715, allocations: 0.8309 MB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.5716, allocations: 0 / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.5716, allocations: 0 / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.016e-05/0.5717, allocations: 3.984 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.5728, allocations: 147.5 kB / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.586e-05/0.5729, allocations: 11.98 kB / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.181e-05/0.573, allocations: 3.984 kB / 0.7892 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.5731, allocations: 19.92 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.5732, allocations: 4 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.5732, allocations: 0 / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.5738, allocations: 175.7 kB / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.5739, allocations: 0 / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.5739, allocations: 33.7 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.5743, allocations: 104.1 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5743, allocations: 0 / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5743, allocations: 3.938 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.5743, allocations: 0 / 0.7895 GB, free: 9.527 MB / 0.6075 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.0008147/0.5752, allocations: 351.4 kB / 0.7898 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.03e-05/0.5752, allocations: 12.03 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.012e-05/0.5753, allocations: 30.56 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.5757, allocations: 15.84 kB / 0.7899 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.5759, allocations: 163 kB / 0.79 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.576, allocations: 7.984 kB / 0.79 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.576, allocations: 0 / 0.79 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.5762, allocations: 41.69 kB / 0.7901 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5762, allocations: 4 kB / 0.7901 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.5763, allocations: 4 kB / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.5763, allocations: 0 / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.5764, allocations: 15.98 kB / 0.7901 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.5768, allocations: 161.6 kB / 0.7903 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.5782, allocations: 126.4 kB / 0.7904 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.5785, allocations: 85.19 kB / 0.7905 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.5785, allocations: 38.56 kB / 0.7905 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.5785, allocations: 0 / 0.7905 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003568/0.5789, allocations: 61.69 kB / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.579, allocations: 51.41 kB / 0.7906 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.5792, allocations: 93.84 kB / 0.7907 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.5792, allocations: 25.7 kB / 0.7907 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.5793, allocations: 84.08 kB / 0.7908 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.5794, allocations: 15.81 kB / 0.7908 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.5794, allocations: 0 / 0.7908 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003133/0.5797, allocations: 318.9 kB / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-05/0.5798, allocations: 8 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.915e-05/0.5798, allocations: 12.16 kB / 0.7911 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.51e-05/0.5799, allocations: 12 kB / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5799, allocations: 0 / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001822/0.5801, allocations: 53.69 kB / 0.7912 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.5801, allocations: 4 kB / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.5802, allocations: 0 / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.5802, allocations: 0 / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.5803, allocations: 11.98 kB / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.5803, allocations: 4 kB / 0.7912 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.5804, allocations: 3.938 kB / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.5804, allocations: 4 kB / 0.7912 GB, free: 7.504 MB / 0.6075 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 () * Number of clocked 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 0.0001761/0.5806, allocations: 117.8 kB / 0.7913 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.5806, allocations: 0 / 0.7913 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.5812, allocations: 85.02 kB / 0.7914 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.5812, allocations: 4 kB / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5812, allocations: 0 / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.5812, allocations: 0 / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.5815, allocations: 165.5 kB / 0.7916 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5815, allocations: 0 / 0.7916 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.5816, allocations: 11.98 kB / 0.7916 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.5816, allocations: 0 / 0.7916 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.5817, allocations: 11.88 kB / 0.7916 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5817, allocations: 4 kB / 0.7916 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5817, allocations: 0 / 0.7916 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.5819, allocations: 85.08 kB / 0.7917 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.5821, allocations: 77.11 kB / 0.7918 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.5822, allocations: 7.984 kB / 0.7918 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.5822, allocations: 4 kB / 0.7918 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.5823, allocations: 0 / 0.7918 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.5823, allocations: 8 kB / 0.7918 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.804e-05/0.5824, allocations: 75.28 kB / 0.7919 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5824, allocations: 0 / 0.7919 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004426/0.5829, allocations: 47.98 kB / 0.7919 GB, free: 6.703 MB / 0.6075 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 () * Number of clocked 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.001403/0.5843, allocations: 0.6978 MB / 0.7926 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.5845, allocations: 23.98 kB / 0.7926 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.5845, allocations: 0 / 0.7926 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.5846, allocations: 19.94 kB / 0.7926 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.5849, allocations: 10.91 kB / 0.7926 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.5858, allocations: 182.1 kB / 0.7928 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.5864, allocations: 0.6848 MB / 0.7935 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.5866, allocations: 8 kB / 0.7935 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.5866, allocations: 11.44 kB / 0.7935 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of SimCode: time 7.41e-07/0.5866, allocations: 4 kB / 0.7935 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.614, allocations: 1.696 MB / 0.7952 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006334/0.6148, allocations: 231.2 kB / 0.7954 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/3.724, allocations: 0 / 0.7954 GB, free: 3.195 MB / 0.6075 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) Environment - environmentSimulation: