Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 288.4 MB / 303.3 MB, free: 8.188 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.001028/0.001028, allocations: 184.5 kB / 372 MB, free: 10.26 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.809/1.809, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007589/0.0007586, allocations: 90.36 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004032, allocations: 11.81 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2486, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001405/0.2501, allocations: 0.9863 MB / 0.9806 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.2515, allocations: 0.7781 MB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.2515, allocations: 0 / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.2516, allocations: 7.938 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.2517, allocations: 7.922 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006811/0.2524, allocations: 111.5 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.563e-05/0.2525, allocations: 23.92 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.921e-05/0.2525, allocations: 7.984 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.2526, allocations: 7.938 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.2527, allocations: 11.98 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.2527, allocations: 4 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.2532, allocations: 163.7 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.2532, allocations: 7.984 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.2532, allocations: 29.7 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.2536, allocations: 84.08 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.2536, allocations: 0 / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.436e-06/0.2536, allocations: 4 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2536, allocations: 0 / 0.9818 GB, free: 25.32 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.0004969/0.2542, allocations: 359.2 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.2542, allocations: 12.02 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.2543, allocations: 34.56 kB / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.2543, allocations: 0 / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.2544, allocations: 167 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/0.2545, allocations: 33.62 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.2545, allocations: 12 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.2547, allocations: 41.69 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2547, allocations: 0 / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.2547, allocations: 0 / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2547, allocations: 3.984 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.2548, allocations: 19.92 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.255, allocations: 161.6 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.2552, allocations: 46.61 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.2553, allocations: 20.88 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/0.2556, allocations: 178.2 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.2556, allocations: 38.56 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.2556, allocations: 0 / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002688/0.2559, allocations: 69.61 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.256, allocations: 55.41 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.485e-05/0.256, allocations: 89.86 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.256, allocations: 29.7 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.2561, allocations: 84.12 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.2561, allocations: 19.73 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.2561, allocations: 0 / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.2562, allocations: 314.8 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.773e-05/0.2562, allocations: 19.98 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.2563, allocations: 4 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/0.2563, allocations: 15.98 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2563, allocations: 0 / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001258/0.2565, allocations: 53.62 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2565, allocations: 8 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2565, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2565, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.2566, allocations: 8 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2566, allocations: 7.984 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.2566, allocations: 7.906 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.2567, allocations: 0 / 0.9836 GB, free: 23.18 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.678e-05/0.2567, allocations: 115.3 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.2567, allocations: 0 / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.2569, allocations: 69.11 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2569, allocations: 3.938 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.257, allocations: 4 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.257, allocations: 0 / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.128e-05/0.2571, allocations: 161.6 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2571, allocations: 0.5625 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.2571, allocations: 15.98 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2571, allocations: 0 / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2571, allocations: 0 / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2571, allocations: 4 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2572, allocations: 3.984 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.2573, allocations: 89.05 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.2574, allocations: 85.02 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.2574, allocations: 3.938 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.066e-05/0.2574, allocations: 7.984 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.2575, allocations: 0 / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.2575, allocations: 3.938 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.699e-05/0.2575, allocations: 83.28 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2575, allocations: 0 / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002344/0.2578, allocations: 39.92 kB / 0.9843 GB, free: 22.4 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.0004669/0.2582, allocations: 0.6515 MB / 0.9849 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.2584, allocations: 31.91 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2584, allocations: 8 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/0.2585, allocations: 12 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.2587, allocations: 9.484 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.2591, allocations: 177.4 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.2592, allocations: 0.677 MB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.079e-05/0.2593, allocations: 11.94 kB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.2593, allocations: 15.44 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.2593, allocations: 0 / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.2716, allocations: 1.715 MB / 0.9875 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.2718, allocations: 214.1 kB / 0.9877 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.882, allocations: 4 kB / 0.9877 GB, free: 18.93 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)