Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.555/2.555, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001571/0.001571, allocations: 187.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.204/2.204, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001179/0.001179, allocations: 88.89 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004958, allocations: 14.72 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2171, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00139/0.2185, allocations: 0.9727 MB / 0.9792 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005713/0.2191, allocations: 253.2 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.2192, allocations: 8 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.2192, allocations: 3.938 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.135e-05/0.2193, allocations: 7.969 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.2196, allocations: 43.86 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.909e-05/0.2196, allocations: 15.92 kB / 0.9796 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.2197, allocations: 0 / 0.9796 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.2198, allocations: 7.938 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.2198, allocations: 11.98 kB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.2198, allocations: 4 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.22, allocations: 55.95 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.836e-06/0.22, allocations: 0 / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.2201, allocations: 29.7 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.2202, allocations: 40.17 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2202, allocations: 4 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2202, allocations: 0 / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.2202, allocations: 0 / 0.9797 GB, free: 26.83 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.0003264/0.2206, allocations: 327.4 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2206, allocations: 12.02 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.2207, allocations: 46.5 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.221, allocations: 19.84 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.195e-05/0.2211, allocations: 167.1 kB / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2211, allocations: 0 / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.2211, allocations: 0 / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.2212, allocations: 41.69 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2213, allocations: 0 / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2213, allocations: 0 / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2213, allocations: 7.938 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.2214, allocations: 15.98 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.2215, allocations: 169.6 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.2246, allocations: 270.4 kB / 0.9807 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.2247, allocations: 0 / 0.9807 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.2247, allocations: 38.56 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.2247, allocations: 0 / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002224/0.2249, allocations: 57.72 kB / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.225, allocations: 55.41 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/0.2251, allocations: 97.86 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.2251, allocations: 25.7 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.745e-05/0.2251, allocations: 80.14 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.2251, allocations: 11.81 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.2252, allocations: 0 / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.2252, allocations: 322.8 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.2253, allocations: 4 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.2253, allocations: 8 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.2254, allocations: 12.12 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2254, allocations: 4 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001075/0.2255, allocations: 57.56 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2255, allocations: 8 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2255, allocations: 0 / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2256, allocations: 0 / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.2257, allocations: 7.984 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2257, allocations: 0 / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.2257, allocations: 4 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.2258, allocations: 0 / 0.9815 GB, free: 24.78 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.563e-05/0.2258, allocations: 121.7 kB / 0.9816 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.2259, allocations: 8 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.2259, allocations: 7.5 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2259, allocations: 0 / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2259, allocations: 0 / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2259, allocations: 0 / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.226, allocations: 165.5 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2261, allocations: 0 / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.2261, allocations: 11.98 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2262, allocations: 0 / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2262, allocations: 0 / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2262, allocations: 4 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2262, allocations: 0 / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.2263, allocations: 88.92 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.2264, allocations: 81.11 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.2264, allocations: 0 / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.2265, allocations: 3.984 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.2265, allocations: 4 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-06/0.2266, allocations: 0 / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.244e-05/0.2266, allocations: 79.28 kB / 0.982 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2266, allocations: 0 / 0.982 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002517/0.2269, allocations: 12 kB / 0.9821 GB, free: 24.11 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 (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.0003054/0.2272, allocations: 0.6167 MB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.2273, allocations: 32.11 kB / 0.9827 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2273, allocations: 0 / 0.9827 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.833e-05/0.2274, allocations: 12 kB / 0.9827 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.2277, allocations: 11.92 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.2282, allocations: 166.2 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.2283, allocations: 0.677 MB / 0.9835 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.986e-05/0.2284, allocations: 4 kB / 0.9835 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.2284, allocations: 11.38 kB / 0.9835 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2284, allocations: 4 kB / 0.9835 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.2478, allocations: 1.088 MB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.2482, allocations: 191.4 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.518, allocations: 4.062 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)