Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 1.631/1.631, allocations: 287.4 MB / 302.6 MB, free: 8.164 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.0009999/0.001, allocations: 192.6 kB / 371.1 MB, free: 10.83 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.814/1.814, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008787/0.0008786, allocations: 100.2 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005486/0.0005484, allocations: 15.94 kB / 0.8662 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2971, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001336/0.2985, allocations: 0.9938 MB / 0.9797 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.2999, allocations: 0.8445 MB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.3, allocations: 0 / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.3, allocations: 3.938 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.3001, allocations: 3.938 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.3008, allocations: 154.5 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.3009, allocations: 15.94 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.301, allocations: 3.938 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.301, allocations: 4 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.3011, allocations: 15.92 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.3011, allocations: 4 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.3015, allocations: 175.8 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.3015, allocations: 7.984 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.3015, allocations: 29.7 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3017, allocations: 104 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3018, allocations: 0 / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3018, allocations: 0 / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.3018, allocations: 0 / 0.981 GB, free: 25.74 MB / 0.6198 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.0004244/0.3022, allocations: 343.6 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.3023, allocations: 12.03 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.3023, allocations: 30.75 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.3025, allocations: 12.83 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.787e-05/0.3026, allocations: 168.4 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3026, allocations: 4.375 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.3027, allocations: 3.938 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.3028, allocations: 45.67 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.3028, allocations: 0 / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3028, allocations: 3.938 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3028, allocations: 0 / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.3029, allocations: 19.92 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.303, allocations: 165.6 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/0.3039, allocations: 122.5 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.3039, allocations: 24.84 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.304, allocations: 81.11 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3041, allocations: 38.56 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.3041, allocations: 3.984 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001877/0.3043, allocations: 65.61 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.3043, allocations: 55.41 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.3044, allocations: 93.86 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3044, allocations: 25.7 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.038e-05/0.3044, allocations: 80.14 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.3045, allocations: 11.81 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.3045, allocations: 4 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.3045, allocations: 314.8 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.3046, allocations: 4 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.462e-05/0.3046, allocations: 8.125 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.3046, allocations: 32.84 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3046, allocations: 3.938 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.909e-05/0.3047, allocations: 57.62 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3048, allocations: 7.938 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3048, allocations: 0 / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3048, allocations: 4 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.3049, allocations: 4 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3049, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.3049, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3049, allocations: 4 kB / 0.9828 GB, free: 23.68 MB / 0.6198 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 6.505e-05/0.305, allocations: 125.8 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.305, allocations: 4 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.3053, allocations: 73.11 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3053, allocations: 7.938 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3053, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3053, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.3054, allocations: 173.5 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3054, allocations: 0 / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.3055, allocations: 8 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3055, allocations: 0 / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3055, allocations: 0 / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3055, allocations: 3.984 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3055, allocations: 0 / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.3056, allocations: 93 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.3057, allocations: 81.11 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3057, allocations: 0 / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.568e-05/0.3058, allocations: 0 / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.3058, allocations: 11.98 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3058, allocations: 128 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.473e-05/0.3058, allocations: 75.28 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3058, allocations: 0 / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002524/0.3061, allocations: 52.09 kB / 0.9835 GB, free: 22.88 MB / 0.6198 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.0005367/0.3066, allocations: 0.6904 MB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.3068, allocations: 27.98 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3068, allocations: 4 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.492e-05/0.3068, allocations: 19.98 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.307, allocations: 8.562 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.3075, allocations: 186 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.3076, allocations: 0.677 MB / 0.9851 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.28e-05/0.3077, allocations: 12 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.3077, allocations: 11.44 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.3077, allocations: 0 / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.3208, allocations: 1.706 MB / 0.9867 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.321, allocations: 242.9 kB / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.894, allocations: 7.625 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)