Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_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.001069/0.001069, allocations: 108 kB / 15.61 MB, free: 152 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.001064/0.001064, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.395/1.395, 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.617/1.617, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001385/0.001386, allocations: 64.88 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2183, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002909/0.2213, allocations: 1.488 MB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2226, allocations: 0.8127 MB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.2227, allocations: 0 / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.2227, allocations: 7.922 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.2228, allocations: 7.875 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.2233, allocations: 127.5 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.2234, allocations: 51.8 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2235, allocations: 24.19 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.2235, allocations: 23.92 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/0.2236, allocations: 23.86 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2236, allocations: 4 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.224, allocations: 171.8 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.224, allocations: 11.98 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.224, allocations: 19.88 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.2243, allocations: 151.5 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2243, allocations: 3.984 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2243, allocations: 0 / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2243, allocations: 4 kB / 0.7863 GB, free: 10.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005306/0.2248, allocations: 399.2 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2249, allocations: 8.031 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.2249, allocations: 34.75 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.2249, allocations: 4.938 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.2251, allocations: 168.3 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.2251, allocations: 384 / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.2251, allocations: 8.375 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.2253, allocations: 78.14 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2254, allocations: 3.938 kB / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2254, allocations: 4 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2254, allocations: 0 / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.2257, allocations: 71.91 kB / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.226, allocations: 288.7 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.2262, allocations: 58.48 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.2264, allocations: 44.91 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.2266, allocations: 93.16 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.2266, allocations: 34.56 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2266, allocations: 3.938 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005756/0.2272, allocations: 133.5 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.2273, allocations: 51.41 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.2274, allocations: 121.7 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2274, allocations: 29.7 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.2274, allocations: 88.14 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.2275, allocations: 7.891 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.2275, allocations: 17.72 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2276, allocations: 318.8 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.2277, allocations: 31.95 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.2279, allocations: 31.97 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.2281, allocations: 76.72 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2282, allocations: 0 / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003081/0.2285, allocations: 97.53 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2285, allocations: 4 kB / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2285, allocations: 0 / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2285, allocations: 0 / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2286, allocations: 23.91 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2287, allocations: 4 kB / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.2287, allocations: 15.98 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.2288, allocations: 0 / 0.7886 GB, free: 7.867 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 (3): * Single equations (assignments): 3 * 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.535e-05/0.2288, allocations: 113.8 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.2289, allocations: 0 / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.2292, allocations: 109.5 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2292, allocations: 0 / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2292, allocations: 4 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2292, allocations: 3.984 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.2294, allocations: 177.4 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2294, allocations: 0 / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.452e-05/0.2295, allocations: 23.91 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2295, allocations: 0 / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.2295, allocations: 4 kB / 0.789 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2295, allocations: 4 kB / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2295, allocations: 3.938 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.2299, allocations: 195.8 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.2299, allocations: 85.05 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.23, allocations: 3.984 kB / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2301, allocations: 15.98 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.2301, allocations: 4 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2301, allocations: 4 kB / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.2302, allocations: 91.27 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2302, allocations: 0 / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002501/0.2304, allocations: 28 kB / 0.7894 GB, free: 6.906 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 (3): * Single equations (assignments): 3 * 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.0006928/0.2311, allocations: 0.763 MB / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.2315, allocations: 71.92 kB / 0.7902 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2315, allocations: 4 kB / 0.7902 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.2317, allocations: 35.91 kB / 0.7903 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.232, allocations: 14.88 kB / 0.7903 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.2337, allocations: 1.433 MB / 0.7917 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.2339, allocations: 0.6846 MB / 0.7923 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.2339, allocations: 4 kB / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.234, allocations: 23.36 kB / 0.7924 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.234, allocations: 0 / 0.7924 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.2505, allocations: 2.415 MB / 0.7947 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/7.209, allocations: 3.125 kB / 0.7947 GB, free: 1.402 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)