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.001119/0.001119, allocations: 109.4 kB / 15.69 MB, free: 128 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.001184/0.001184, allocations: 187.6 kB / 16.62 MB, free: 6.613 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.486/1.486, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.72/1.72, allocations: 292.3 MB / 0.549 GB, free: 12.7 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.001456/0.001456, allocations: 71.45 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2413, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002307/0.2437, allocations: 1.268 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2453, allocations: 0.8321 MB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.2453, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.2454, allocations: 3.938 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.2455, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.2461, allocations: 135.3 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.508e-05/0.2462, allocations: 27.91 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.2463, allocations: 7.984 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.2463, allocations: 11.94 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.2464, allocations: 11.92 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2465, allocations: 4 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.2468, allocations: 163.8 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.2468, allocations: 8 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.2468, allocations: 11.94 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.247, allocations: 120 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2471, allocations: 0 / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2471, allocations: 0 / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2471, allocations: 0 / 0.7862 GB, free: 10.62 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.0004122/0.2475, allocations: 363.3 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2475, allocations: 11.97 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.2476, allocations: 34.75 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.2476, allocations: 4.938 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2477, allocations: 164.4 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.2478, allocations: 34.25 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.2478, allocations: 384 / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.2479, allocations: 46 kB / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.248, allocations: 0 / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.248, allocations: 4 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.248, allocations: 3.938 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/0.2481, allocations: 19.92 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.2482, allocations: 165.7 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.2485, allocations: 42.61 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.2485, allocations: 24.92 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.2488, allocations: 178.2 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.2488, allocations: 38.5 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2489, allocations: 3.938 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002443/0.2491, allocations: 73.52 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2491, allocations: 51.41 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.2492, allocations: 97.86 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2492, allocations: 25.7 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.2493, allocations: 84.14 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.2493, allocations: 11.83 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.2494, allocations: 25.62 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2495, allocations: 310.8 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.2495, allocations: 15.98 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.2496, allocations: 4 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.547e-05/0.2497, allocations: 28.84 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2497, allocations: 0 / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001231/0.2498, allocations: 61.61 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2498, allocations: 11.94 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2498, allocations: 0 / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2498, allocations: 0 / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.2499, allocations: 8 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2499, allocations: 0 / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.2499, allocations: 4 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.25, allocations: 4 kB / 0.788 GB, free: 8.43 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.672e-05/0.25, allocations: 109.8 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.25, allocations: 7.938 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.2502, allocations: 69.11 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2502, allocations: 0 / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2502, allocations: 4 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2502, allocations: 0 / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.582e-05/0.2503, allocations: 153.7 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2503, allocations: 0 / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.2504, allocations: 12 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2504, allocations: 7.922 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.2504, allocations: 0 / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2505, allocations: 4 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2505, allocations: 0 / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.2507, allocations: 81.59 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.2508, allocations: 96.95 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2508, allocations: 7.922 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.564e-05/0.2508, allocations: 0 / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.2509, allocations: 7.984 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.2509, allocations: 8 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.2509, allocations: 79.28 kB / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2509, allocations: 0 / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002313/0.2512, allocations: 35.94 kB / 0.7887 GB, free: 7.648 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.0005096/0.2517, allocations: 0.6553 MB / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.2519, allocations: 27.92 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2519, allocations: 0 / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.01e-05/0.2519, allocations: 19.98 kB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2522, allocations: 14.64 kB / 0.7894 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.2526, allocations: 176.6 kB / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.2528, allocations: 0.6845 MB / 0.7902 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.2529, allocations: 4 kB / 0.7902 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.2529, allocations: 7.438 kB / 0.7902 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2529, allocations: 0 / 0.7902 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.2701, allocations: 1.939 MB / 0.7921 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/7.146, allocations: 12.61 kB / 0.7921 GB, free: 4.125 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)