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/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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 98.53 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.001022/0.001022, 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 1.641/1.641, allocations: 205.4 MB / 222.1 MB, free: 5.504 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 1.759/1.759, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005578/0.0005578, allocations: 16.97 kB / 0.6735 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2774, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001939/0.2794, allocations: 0.9765 MB / 0.7881 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006666/0.2801, allocations: 257.1 kB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.2801, allocations: 0 / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.2802, allocations: 7.984 kB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.2802, allocations: 7.984 kB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.2805, allocations: 43.81 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.2806, allocations: 11.97 kB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.017e-05/0.2807, allocations: 4 kB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.2807, allocations: 8 kB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.2808, allocations: 7.984 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.2808, allocations: 0 / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.281, allocations: 59.89 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.281, allocations: 4 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.2812, allocations: 25.7 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.2813, allocations: 44.17 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2813, allocations: 0 / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2813, allocations: 0 / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2813, allocations: 0 / 0.7885 GB, free: 10.55 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.0005068/0.2818, allocations: 335.4 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2819, allocations: 8.031 kB / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.2822, allocations: 19.98 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.2824, allocations: 170.9 kB / 0.789 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2824, allocations: 0 / 0.789 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2824, allocations: 3.984 kB / 0.789 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.2826, allocations: 45.62 kB / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.2826, allocations: 3.938 kB / 0.7891 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.2827, allocations: 0 / 0.7891 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2827, allocations: 0 / 0.7891 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.2827, allocations: 19.98 kB / 0.7891 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.2829, allocations: 161.6 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.2847, allocations: 266.5 kB / 0.7895 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.2848, allocations: 7.984 kB / 0.7895 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.2848, allocations: 38.5 kB / 0.7896 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2848, allocations: 0 / 0.7896 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001837/0.285, allocations: 61.62 kB / 0.7896 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.2851, allocations: 51.41 kB / 0.7897 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.2851, allocations: 93.86 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2852, allocations: 25.83 kB / 0.7898 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.2852, allocations: 84.14 kB / 0.7899 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.2852, allocations: 11.81 kB / 0.7899 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.2852, allocations: 0 / 0.7899 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2854, allocations: 318.8 kB / 0.7902 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.2854, allocations: 4 kB / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.2854, allocations: 12 kB / 0.7902 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.2854, allocations: 15.89 kB / 0.7902 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2854, allocations: 0 / 0.7902 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.741e-05/0.2855, allocations: 57.69 kB / 0.7903 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2856, allocations: 8 kB / 0.7903 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2856, allocations: 0 / 0.7903 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2856, allocations: 0 / 0.7903 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.2856, allocations: 7.984 kB / 0.7903 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.2857, allocations: 4 kB / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.2857, allocations: 0 / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.2857, allocations: 0 / 0.7903 GB, free: 8.535 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 8.59e-05/0.2858, allocations: 117.8 kB / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.2858, allocations: 0 / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.2859, allocations: 11.5 kB / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2859, allocations: 0 / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2859, allocations: 0 / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2859, allocations: 3.938 kB / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.2861, allocations: 161.6 kB / 0.7906 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2861, allocations: 8.219 kB / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.2861, allocations: 7.984 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2861, allocations: 0 / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2861, allocations: 0 / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2862, allocations: 0 / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2862, allocations: 4 kB / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.2863, allocations: 89.02 kB / 0.7907 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.2864, allocations: 81.06 kB / 0.7907 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.2864, allocations: 0 / 0.7907 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.2865, allocations: 4 kB / 0.7907 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.2865, allocations: 3.984 kB / 0.7907 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.2865, allocations: 0 / 0.7907 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.2866, allocations: 83.28 kB / 0.7908 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2866, allocations: 0 / 0.7908 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001793/0.2867, allocations: 8 kB / 0.7908 GB, free: 7.859 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 (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.0001265/0.2869, allocations: 103.1 kB / 0.7909 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.835e-05/0.287, allocations: 23.98 kB / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.287, allocations: 0 / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.07e-05/0.287, allocations: 12 kB / 0.791 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.2872, allocations: 16.08 kB / 0.791 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.2875, allocations: 132.5 kB / 0.7911 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.2878, allocations: 0.6809 MB / 0.7918 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.109e-05/0.2879, allocations: 4 kB / 0.7918 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.2879, allocations: 11.44 kB / 0.7918 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2879, allocations: 0 / 0.7918 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of Templates: time 0.002356/0.2903, allocations: 474.6 kB / 0.7922 GB, free: 6.355 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: