Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.4 MB / 303.3 MB, free: 8.16 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.001154/0.001154, allocations: 176.5 kB / 372 MB, free: 10.27 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.616/1.616, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0008568/0.0008572, allocations: 94.33 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004522, allocations: 14.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.246, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001425/0.2475, allocations: 0.9863 MB / 0.9806 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005101/0.248, allocations: 283.4 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.248, allocations: 0 / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.2481, allocations: 3.938 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.2481, allocations: 0 / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.2484, allocations: 43.81 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.396e-05/0.2485, allocations: 23.86 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.064e-05/0.2486, allocations: 0 / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.093e-05/0.2486, allocations: 4 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.2487, allocations: 4 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2487, allocations: 0 / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.2488, allocations: 55.94 kB / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.2488, allocations: 0 / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.2489, allocations: 33.64 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.249, allocations: 40.19 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.249, allocations: 4 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.614e-06/0.249, allocations: 0 / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.249, allocations: 0 / 0.9811 GB, free: 26.09 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.0003416/0.2494, allocations: 327.4 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2494, allocations: 16.02 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.2494, allocations: 38.55 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.2497, allocations: 19.89 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2498, allocations: 171 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2498, allocations: 4 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2498, allocations: 4 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.2499, allocations: 41.67 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2499, allocations: 0 / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.25, allocations: 11.88 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.25, allocations: 0 / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.25, allocations: 12 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.2502, allocations: 161.6 kB / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.2521, allocations: 270.5 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.2521, allocations: 24.84 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.2522, allocations: 4 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.2522, allocations: 30.56 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.2522, allocations: 0 / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001434/0.2523, allocations: 65.62 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.2524, allocations: 51.41 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.27e-05/0.2524, allocations: 93.86 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.2524, allocations: 25.7 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.12e-05/0.2524, allocations: 84.27 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.2525, allocations: 11.8 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.2525, allocations: 4 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.2525, allocations: 318.8 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.2526, allocations: 8 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.2526, allocations: 4 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.2526, allocations: 11.98 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2526, allocations: 0 / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.343e-05/0.2527, allocations: 53.64 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2527, allocations: 5.875 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2527, allocations: 4 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2527, allocations: 3.984 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.2528, allocations: 8 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.2528, allocations: 0 / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.2528, allocations: 0 / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.2529, allocations: 4 kB / 0.9829 GB, free: 24.01 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 5.649e-05/0.2529, allocations: 123.2 kB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.2529, allocations: 336 / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.253, allocations: 11.5 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.253, allocations: 3.984 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.253, allocations: 4 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.253, allocations: 0 / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.3e-05/0.2531, allocations: 161.6 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2531, allocations: 0 / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.2531, allocations: 11.92 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2531, allocations: 0 / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2531, allocations: 4 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2531, allocations: 0 / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2532, allocations: 0 / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.055e-05/0.2532, allocations: 88.97 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.2533, allocations: 81.06 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2533, allocations: 8 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.2534, allocations: 3.984 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.2534, allocations: 0 / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.2534, allocations: 4 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.769e-05/0.2534, allocations: 79.28 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2534, allocations: 4.094 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001692/0.2536, allocations: 4 kB / 0.9834 GB, free: 23.33 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.0002632/0.2539, allocations: 0.6163 MB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.733e-05/0.254, allocations: 19.98 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.254, allocations: 0 / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/0.254, allocations: 27.92 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.2542, allocations: 8.859 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.2546, allocations: 167.9 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.2548, allocations: 0.677 MB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.356e-05/0.2549, allocations: 4 kB / 0.9849 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.2549, allocations: 11.44 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2549, allocations: 0 / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.2661, allocations: 1.106 MB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.2663, allocations: 215 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.826, allocations: 4 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)