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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00091/0.0009102, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008409/0.0008409, allocations: 168.7 kB / 15.95 MB, free: 204 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.979/1.979, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.826/1.826, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.000533/0.0005331, allocations: 13.28 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3284, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001553/0.33, allocations: 0.9782 MB / 0.7884 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006119/0.3306, allocations: 279.4 kB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.3306, allocations: 0 / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.3307, allocations: 0 / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.799e-05/0.3307, allocations: 7.922 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.331, allocations: 43.81 kB / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.365e-05/0.3311, allocations: 15.94 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.482e-05/0.3311, allocations: 7.875 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.3312, allocations: 7.984 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.3313, allocations: 15.92 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3313, allocations: 0 / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.3314, allocations: 51.95 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.3315, allocations: 4 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.3315, allocations: 25.7 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3316, allocations: 36.19 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3316, allocations: 0 / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.775e-06/0.3316, allocations: 0 / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.3317, allocations: 4 kB / 0.7888 GB, free: 10.38 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.0004917/0.3322, allocations: 335.4 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.3322, allocations: 8.031 kB / 0.7892 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.3323, allocations: 30.56 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.3325, allocations: 23.88 kB / 0.7892 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3327, allocations: 167 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.3327, allocations: 0 / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.3327, allocations: 8 kB / 0.7894 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3329, allocations: 37.69 kB / 0.7894 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3329, allocations: 4 kB / 0.7894 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3329, allocations: 4 kB / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.3329, allocations: 0 / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.333, allocations: 15.98 kB / 0.7894 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.3332, allocations: 161.7 kB / 0.7896 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.3349, allocations: 278.3 kB / 0.7899 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.3349, allocations: 20.84 kB / 0.7899 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3349, allocations: 0 / 0.7899 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.335, allocations: 34.56 kB / 0.7899 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.335, allocations: 3.938 kB / 0.7899 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001861/0.3352, allocations: 61.69 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.3352, allocations: 51.41 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.3353, allocations: 97.84 kB / 0.7901 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3353, allocations: 29.64 kB / 0.7901 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.3354, allocations: 80.14 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.3354, allocations: 11.94 kB / 0.7902 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.3354, allocations: 4 kB / 0.7902 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3355, allocations: 318.8 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.3355, allocations: 8 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.3356, allocations: 11.98 kB / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/0.3356, allocations: 8 kB / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3356, allocations: 0 / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.154e-05/0.3357, allocations: 53.69 kB / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.3357, allocations: 7.938 kB / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3358, allocations: 0 / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3358, allocations: 8 kB / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.3358, allocations: 4 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3359, allocations: 3.938 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.3359, allocations: 0 / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.3359, allocations: 4 kB / 0.7906 GB, free: 8.297 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 7.319e-05/0.336, allocations: 113.7 kB / 0.7908 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.336, allocations: 7.984 kB / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.336, allocations: 7.5 kB / 0.7908 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3361, allocations: 4 kB / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3361, allocations: 4 kB / 0.7908 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3361, allocations: 0 / 0.7908 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3362, allocations: 161.6 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3362, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.3363, allocations: 4 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3363, allocations: 4 kB / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3363, allocations: 0 / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3363, allocations: 0 / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3363, allocations: 0 / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.3364, allocations: 88.91 kB / 0.791 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.3365, allocations: 89.05 kB / 0.7911 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.3365, allocations: 0 / 0.7911 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.3366, allocations: 4 kB / 0.7911 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.3366, allocations: 0 / 0.7911 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.3366, allocations: 4 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.283e-05/0.3367, allocations: 75.28 kB / 0.7912 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3367, allocations: 0 / 0.7912 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000184/0.3369, allocations: 8 kB / 0.7912 GB, free: 7.629 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.0004615/0.3373, allocations: 0.6168 MB / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.3375, allocations: 35.95 kB / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3375, allocations: 0 / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.271e-05/0.3375, allocations: 12 kB / 0.7918 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3378, allocations: 11.98 kB / 0.7919 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.3382, allocations: 162.2 kB / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.3386, allocations: 0.677 MB / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.693e-05/0.3386, allocations: 11.92 kB / 0.7927 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.3387, allocations: 11.44 kB / 0.7927 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3387, allocations: 0 / 0.7927 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.3499, allocations: 1.093 MB / 0.7938 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.3502, allocations: 198.8 kB / 0.794 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.077, allocations: 3.5 kB / 0.794 GB, free: 4.797 MB / 0.6075 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) Environment - environmentSimulation: