Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.62/2.62, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001578/0.001579, allocations: 178.1 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.173/2.173, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001168/0.001168, allocations: 93.67 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004907, allocations: 11.98 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2229, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002081/0.225, allocations: 0.9821 MB / 0.9792 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.2272, allocations: 0.7355 MB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.2273, allocations: 0 / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.2273, allocations: 0 / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.2274, allocations: 7.969 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008624/0.2283, allocations: 119.6 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.024e-05/0.2284, allocations: 19.91 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/0.2285, allocations: 0 / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.2285, allocations: 11.94 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.2287, allocations: 15.92 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.2287, allocations: 0 / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006721/0.2294, allocations: 175.8 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.2294, allocations: 7.984 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.2295, allocations: 25.7 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.2298, allocations: 92.06 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2299, allocations: 0 / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.857e-06/0.2299, allocations: 0 / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.2299, allocations: 7.938 kB / 0.9804 GB, free: 26.08 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.000524/0.2304, allocations: 357.3 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.2305, allocations: 12.02 kB / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.2306, allocations: 34.55 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.2306, allocations: 7.953 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.2308, allocations: 159.1 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-05/0.2309, allocations: 33.7 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2309, allocations: 0 / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.2312, allocations: 41.69 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2312, allocations: 3.984 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.2312, allocations: 4 kB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.2313, allocations: 4 kB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.2315, allocations: 15.92 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.2318, allocations: 161.7 kB / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.2321, allocations: 46.56 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/0.2326, allocations: 178.3 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.2327, allocations: 38.56 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.357e-06/0.2327, allocations: 0 / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000499/0.2332, allocations: 77.59 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.2333, allocations: 51.41 kB / 0.9816 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.2334, allocations: 93.86 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2334, allocations: 25.7 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.2335, allocations: 84.14 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.2335, allocations: 19.73 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.2336, allocations: 0 / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.2337, allocations: 318.7 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.2338, allocations: 16 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.2339, allocations: 7.984 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.2341, allocations: 12 kB / 0.9821 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2341, allocations: 0 / 0.9821 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000321/0.2344, allocations: 57.61 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.2345, allocations: 6.031 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.2345, allocations: 0 / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.2346, allocations: 4 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.2347, allocations: 11.94 kB / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.2347, allocations: 0 / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.2348, allocations: 15.89 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2349, allocations: 0 / 0.9822 GB, free: 23.96 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 9.52e-05/0.235, allocations: 109.8 kB / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.235, allocations: 4 kB / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.2354, allocations: 65.16 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.2354, allocations: 7.938 kB / 0.9824 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2355, allocations: 4 kB / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.2355, allocations: 0 / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.2357, allocations: 165.6 kB / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2357, allocations: 0 / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.2358, allocations: 11.98 kB / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.2359, allocations: 0 / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2359, allocations: 0 / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2359, allocations: 0 / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2359, allocations: 0 / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.2362, allocations: 89.06 kB / 0.9827 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.2363, allocations: 85.02 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.2364, allocations: 0 / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.2365, allocations: 4.594 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.2366, allocations: 4 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2366, allocations: 4 kB / 0.9828 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.2367, allocations: 87.2 kB / 0.9828 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.32e-07/0.2367, allocations: 0 / 0.9828 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005092/0.2372, allocations: 43.92 kB / 0.9829 GB, free: 23.18 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.0008562/0.2381, allocations: 0.6475 MB / 0.9835 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002973/0.2384, allocations: 31.91 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2385, allocations: 4 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2386, allocations: 12 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2389, allocations: 4 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.2397, allocations: 181.7 kB / 0.9837 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.2398, allocations: 0.6809 MB / 0.9844 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.24, allocations: 8 kB / 0.9844 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.24, allocations: 15.42 kB / 0.9844 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.393e-06/0.2401, allocations: 0 / 0.9844 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.2664, allocations: 1.699 MB / 0.9861 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/0.2667, allocations: 195.2 kB / 0.9863 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/2.675, allocations: 4 kB / 0.9863 GB, free: 19.71 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)