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.001827/0.001833, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.002913/0.002913, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.984/3.984, allocations: 205.4 MB / 222.1 MB, free: 5.531 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 3.332/3.332, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0009233/0.0009236, allocations: 16.34 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5259/0.5268, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00284/0.5298, allocations: 1.191 MB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.5315, allocations: 0.6732 MB / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.5316, allocations: 0 / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.5317, allocations: 3.938 kB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.5318, allocations: 11.97 kB / 0.7891 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.5325, allocations: 99.7 kB / 0.7892 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.5326, allocations: 35.89 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.5328, allocations: 16.27 kB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.5329, allocations: 15.98 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.818e-05/0.533, allocations: 23.86 kB / 0.7892 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.533, allocations: 0 / 0.7892 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.5335, allocations: 167.8 kB / 0.7894 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.5335, allocations: 7.938 kB / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.5336, allocations: 29.7 kB / 0.7894 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.5339, allocations: 103.7 kB / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5339, allocations: 0 / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.017e-06/0.5339, allocations: 0 / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.5339, allocations: 4 kB / 0.7895 GB, free: 9.477 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.001009/0.5349, allocations: 393.9 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.336e-05/0.535, allocations: 12.03 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.794e-05/0.5351, allocations: 34.5 kB / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.5352, allocations: 11.91 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.5355, allocations: 174.9 kB / 0.7901 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.5355, allocations: 8 kB / 0.7901 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.5356, allocations: 0 / 0.7901 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.536, allocations: 81.66 kB / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.5361, allocations: 4 kB / 0.7902 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.5361, allocations: 0 / 0.7902 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.5361, allocations: 0 / 0.7902 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.5366, allocations: 95.86 kB / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.5374, allocations: 284.7 kB / 0.7906 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.5378, allocations: 70.53 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/0.5381, allocations: 89.19 kB / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/0.5382, allocations: 34.5 kB / 0.7908 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.5382, allocations: 0 / 0.7908 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0009007/0.5391, allocations: 169.7 kB / 0.7909 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.5392, allocations: 55.36 kB / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.5395, allocations: 121.8 kB / 0.7911 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.5395, allocations: 25.7 kB / 0.7911 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.5396, allocations: 88.08 kB / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.5397, allocations: 15.89 kB / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.5397, allocations: 4 kB / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002406/0.54, allocations: 310.8 kB / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.5402, allocations: 39.97 kB / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.5404, allocations: 51.94 kB / 0.7916 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.5407, allocations: 35.97 kB / 0.7917 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5407, allocations: 11.94 kB / 0.7917 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005059/0.5412, allocations: 125.5 kB / 0.7918 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.5413, allocations: 4 kB / 0.7918 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.5413, allocations: 4 kB / 0.7918 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.5413, allocations: 3.938 kB / 0.7918 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.5415, allocations: 19.98 kB / 0.7918 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.5415, allocations: 3.953 kB / 0.7918 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.5417, allocations: 23.98 kB / 0.7918 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.5417, allocations: 0 / 0.7918 GB, free: 6.879 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.5419, allocations: 109.8 kB / 0.7919 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.5419, allocations: 7.891 kB / 0.792 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005511/0.5425, allocations: 133.5 kB / 0.7921 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.5425, allocations: 0 / 0.7921 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/0.5425, allocations: 4 kB / 0.7921 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.5425, allocations: 3.953 kB / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.5428, allocations: 169.6 kB / 0.7922 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5428, allocations: 4 kB / 0.7923 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.543, allocations: 19.98 kB / 0.7923 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.543, allocations: 3.938 kB / 0.7923 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.543, allocations: 0 / 0.7923 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.543, allocations: 0 / 0.7923 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.543, allocations: 0 / 0.7923 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.5437, allocations: 231.4 kB / 0.7925 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.5437, allocations: 81.02 kB / 0.7926 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.5438, allocations: 0 / 0.7926 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.5439, allocations: 15.98 kB / 0.7926 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.544, allocations: 11.98 kB / 0.7926 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.544, allocations: 0 / 0.7926 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.889e-05/0.5441, allocations: 91.27 kB / 0.7927 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5441, allocations: 0 / 0.7927 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004546/0.5446, allocations: 39.94 kB / 0.7927 GB, free: 5.863 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 (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.001202/0.5458, allocations: 0.7748 MB / 0.7935 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005495/0.5464, allocations: 95.8 kB / 0.7936 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5464, allocations: 0 / 0.7936 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.5467, allocations: 56.33 kB / 0.7936 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.547, allocations: 7.234 kB / 0.7936 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.5489, allocations: 0.5783 MB / 0.7942 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.5495, allocations: 0.6888 MB / 0.7949 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.022e-05/0.5496, allocations: 7.984 kB / 0.7949 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.5497, allocations: 15.44 kB / 0.7949 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of SimCode: time 1.192e-06/0.5497, allocations: 0 / 0.7949 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.5811, allocations: 2.069 MB / 0.7969 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004707/0.5817, allocations: 183.8 kB / 0.7971 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.242/3.823, allocations: 7.875 kB / 0.7971 GB, free: 1.359 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/linux/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) Environment - environmentSimulation: