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.0009199/0.0009201, allocations: 96.62 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005243/0.005243, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.164/1.164, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.582/1.582, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005784/0.0005785, allocations: 17.39 kB / 0.6744 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2763, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001565/0.278, allocations: 1.002 MB / 0.789 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.2794, allocations: 0.8362 MB / 0.7898 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.2794, allocations: 0 / 0.7898 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.2794, allocations: 0 / 0.7898 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.2795, allocations: 7.922 kB / 0.7898 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.28, allocations: 115.5 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.2801, allocations: 23.88 kB / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.2801, allocations: 7.984 kB / 0.7899 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.2802, allocations: 11.98 kB / 0.79 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.584e-05/0.2802, allocations: 11.92 kB / 0.79 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2803, allocations: 4 kB / 0.79 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.2806, allocations: 171.7 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.2806, allocations: 3.984 kB / 0.7901 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.2806, allocations: 41.62 kB / 0.7902 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.2809, allocations: 112 kB / 0.7903 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.2809, allocations: 0 / 0.7903 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2809, allocations: 7.938 kB / 0.7903 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2809, allocations: 0 / 0.7903 GB, free: 9.129 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.0004474/0.2814, allocations: 355.4 kB / 0.7906 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2814, allocations: 12.03 kB / 0.7906 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.2814, allocations: 30.75 kB / 0.7907 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.2815, allocations: 4.938 kB / 0.7907 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2816, allocations: 168.4 kB / 0.7908 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.2817, allocations: 34.27 kB / 0.7909 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.2817, allocations: 4.375 kB / 0.7909 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.2818, allocations: 46 kB / 0.7909 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.2819, allocations: 0 / 0.7909 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2819, allocations: 0 / 0.7909 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2819, allocations: 4 kB / 0.7909 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.388e-05/0.282, allocations: 19.92 kB / 0.7909 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.2821, allocations: 153.7 kB / 0.7911 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.2824, allocations: 50.61 kB / 0.7911 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.588e-05/0.2825, allocations: 16.94 kB / 0.7911 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.2828, allocations: 182.2 kB / 0.7913 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.2829, allocations: 34.5 kB / 0.7914 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2829, allocations: 3.938 kB / 0.7914 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002804/0.2832, allocations: 77.7 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.2832, allocations: 51.41 kB / 0.7915 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.066e-05/0.2833, allocations: 101.8 kB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2834, allocations: 25.7 kB / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.2834, allocations: 84.14 kB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.2834, allocations: 11.84 kB / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.2835, allocations: 13.66 kB / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2836, allocations: 314.8 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/0.2836, allocations: 15.98 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.2837, allocations: 8 kB / 0.792 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2838, allocations: 24.84 kB / 0.7921 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2838, allocations: 4 kB / 0.7921 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000132/0.284, allocations: 65.52 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.284, allocations: 7.938 kB / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.284, allocations: 4 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.284, allocations: 4 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-05/0.2841, allocations: 8 kB / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2841, allocations: 0 / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.2841, allocations: 7.984 kB / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.2841, allocations: 0 / 0.7922 GB, free: 6.941 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 7e-05/0.2842, allocations: 105.8 kB / 0.7923 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.2842, allocations: 7.938 kB / 0.7923 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.2844, allocations: 73.09 kB / 0.7923 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2844, allocations: 8 kB / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2844, allocations: 0 / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2844, allocations: 0 / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.2845, allocations: 153.7 kB / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2845, allocations: 0 / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.2846, allocations: 11.98 kB / 0.7925 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2846, allocations: 3.938 kB / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2846, allocations: 0 / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2846, allocations: 0 / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2846, allocations: 0 / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.2848, allocations: 85.06 kB / 0.7926 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.2849, allocations: 92.94 kB / 0.7927 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.2849, allocations: 3.938 kB / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.2849, allocations: 0 / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.285, allocations: 11.98 kB / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.285, allocations: 0 / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.285, allocations: 79.7 kB / 0.7928 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.285, allocations: 4 kB / 0.7928 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002322/0.2853, allocations: 39.92 kB / 0.7928 GB, free: 6.164 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.0006139/0.2859, allocations: 0.6516 MB / 0.7934 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.286, allocations: 31.92 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.286, allocations: 4 kB / 0.7935 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.2861, allocations: 15.98 kB / 0.7935 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.2863, allocations: 7.938 kB / 0.7935 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.2867, allocations: 192.1 kB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.287, allocations: 0.6809 MB / 0.7943 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.2871, allocations: 8 kB / 0.7944 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.2871, allocations: 11.44 kB / 0.7944 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2871, allocations: 0 / 0.7944 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01078/0.2979, allocations: 1.712 MB / 0.796 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.2981, allocations: 212.6 kB / 0.7962 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.982, allocations: 0 / 0.7962 GB, free: 2.645 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)