Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 198.4 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.627/1.627, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001484/0.001484, allocations: 64.92 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2398, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002727/0.2426, allocations: 1.268 MB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.244, allocations: 0.8321 MB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.244, allocations: 0 / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.2441, allocations: 0 / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.932e-05/0.2441, allocations: 7.922 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.2447, allocations: 131.3 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.638e-05/0.2447, allocations: 23.92 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.2448, allocations: 11.98 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.252e-05/0.2449, allocations: 12 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.2449, allocations: 15.91 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2449, allocations: 3.938 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.2453, allocations: 159.7 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.2453, allocations: 11.98 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.2453, allocations: 11.92 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.2456, allocations: 116 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2456, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2456, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.2456, allocations: 0 / 0.786 GB, free: 10.75 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.0004625/0.2461, allocations: 367.3 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2461, allocations: 8.031 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.2462, allocations: 34.75 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.2462, allocations: 4.938 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2463, allocations: 168.3 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.676e-05/0.2464, allocations: 34.25 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.2464, allocations: 384 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2466, allocations: 46 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2466, allocations: 8 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2466, allocations: 0 / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.2466, allocations: 0 / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.2467, allocations: 15.98 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.2469, allocations: 161.7 kB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.2471, allocations: 46.55 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.2472, allocations: 24.94 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002844/0.2475, allocations: 178.2 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2475, allocations: 34.5 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2475, allocations: 3.938 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000213/0.2478, allocations: 69.58 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.2478, allocations: 59.34 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.2479, allocations: 97.86 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2479, allocations: 25.7 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.2479, allocations: 84.14 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.248, allocations: 11.83 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.248, allocations: 21.62 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2481, allocations: 310.8 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.279e-05/0.2482, allocations: 15.98 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.943e-05/0.2482, allocations: 8 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.509e-05/0.2483, allocations: 28.84 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2483, allocations: 0 / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001331/0.2485, allocations: 58.09 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2485, allocations: 11.92 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2485, allocations: 0 / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2485, allocations: 0 / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.2486, allocations: 11.94 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2486, allocations: 4 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.2486, allocations: 4.047 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2486, allocations: 3.984 kB / 0.7879 GB, free: 8.551 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.835e-05/0.2487, allocations: 109.8 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.2487, allocations: 11.92 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.2489, allocations: 61.17 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2489, allocations: 3.938 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2489, allocations: 4 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2489, allocations: 4 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.2491, allocations: 153.7 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2491, allocations: 0 / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.2491, allocations: 8 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2491, allocations: 3.938 kB / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2491, allocations: 8 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2491, allocations: 3.984 kB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2492, allocations: 0 / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.2493, allocations: 85.03 kB / 0.7883 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.2494, allocations: 89.03 kB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.2494, allocations: 3.938 kB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.507e-05/0.2494, allocations: 0 / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.2495, allocations: 7.984 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.2495, allocations: 0 / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.2495, allocations: 87.22 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2495, allocations: 0 / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002385/0.2498, allocations: 35.94 kB / 0.7885 GB, free: 7.773 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000512/0.2503, allocations: 0.6579 MB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.2505, allocations: 27.92 kB / 0.7892 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2505, allocations: 4 kB / 0.7892 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.351e-05/0.2505, allocations: 19.98 kB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.2508, allocations: 4 kB / 0.7892 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.2512, allocations: 176.6 kB / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.2516, allocations: 0.6768 MB / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.517e-05/0.2516, allocations: 8 kB / 0.7901 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.2517, allocations: 7.438 kB / 0.7901 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2517, allocations: 3.938 kB / 0.7901 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.2701, allocations: 1.928 MB / 0.792 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.553, allocations: 11.69 kB / 0.792 GB, free: 4.25 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)