Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_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.008322/0.008322, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.002194/0.002194, allocations: 196.3 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 289.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.264/1.264, allocations: 178.5 MB / 0.5074 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 103.8 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4982, allocations: 89.13 MB / 0.7813 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002445/0.5007, allocations: 1.493 MB / 0.7828 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.5021, allocations: 0.8066 MB / 0.7836 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.5021, allocations: 0 / 0.7836 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.5022, allocations: 5.031 kB / 0.7836 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.5022, allocations: 17.22 kB / 0.7836 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.5028, allocations: 127 kB / 0.7837 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.5029, allocations: 52.08 kB / 0.7838 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.503, allocations: 18.98 kB / 0.7838 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.847e-05/0.5031, allocations: 19.27 kB / 0.7838 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.5032, allocations: 31.06 kB / 0.7838 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.5032, allocations: 4.594 kB / 0.7838 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.5036, allocations: 164.5 kB / 0.784 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.5036, allocations: 17.06 kB / 0.784 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.5037, allocations: 21.69 kB / 0.784 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.504, allocations: 144.3 kB / 0.7842 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.504, allocations: 4 kB / 0.7842 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.228e-06/0.5041, allocations: 0 / 0.7842 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.5041, allocations: 4.906 kB / 0.7842 GB, free: 14.93 MB / 0.5606 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.000741/0.5048, allocations: 405 kB / 0.7846 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.5049, allocations: 9.219 kB / 0.7846 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.5049, allocations: 31.91 kB / 0.7846 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.505, allocations: 7.672 kB / 0.7846 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.5052, allocations: 175.1 kB / 0.7848 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.5052, allocations: 9.5 kB / 0.7848 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.5052, allocations: 10.73 kB / 0.7848 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.5055, allocations: 74.45 kB / 0.7849 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.5055, allocations: 3.938 kB / 0.7849 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.5055, allocations: 0 / 0.7849 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.5055, allocations: 1.531 kB / 0.7849 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.5059, allocations: 72.95 kB / 0.7849 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.5063, allocations: 287.5 kB / 0.7852 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.5066, allocations: 53.44 kB / 0.7853 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.5067, allocations: 46.7 kB / 0.7853 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.5069, allocations: 90.09 kB / 0.7854 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.507, allocations: 31.53 kB / 0.7854 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.507, allocations: 0 / 0.7854 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005894/0.5076, allocations: 130.5 kB / 0.7855 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.5076, allocations: 52.78 kB / 0.7856 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.5078, allocations: 116.2 kB / 0.7857 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.5078, allocations: 25.7 kB / 0.7857 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.5079, allocations: 91.25 kB / 0.7858 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.5079, allocations: 13.34 kB / 0.7858 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.5079, allocations: 12.03 kB / 0.7858 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5081, allocations: 324.2 kB / 0.7862 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.5083, allocations: 37.2 kB / 0.7862 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.5084, allocations: 29.66 kB / 0.7862 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.5087, allocations: 72.12 kB / 0.7863 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5087, allocations: 3.938 kB / 0.7863 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003367/0.5091, allocations: 98.52 kB / 0.7864 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5091, allocations: 4.844 kB / 0.7864 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5091, allocations: 1.125 kB / 0.7864 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.5091, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.5092, allocations: 22.72 kB / 0.7864 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5092, allocations: 3.984 kB / 0.7864 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.5093, allocations: 14.86 kB / 0.7864 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.5093, allocations: 5.062 kB / 0.7864 GB, free: 12.75 MB / 0.5606 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 8.081e-05/0.5094, allocations: 116 kB / 0.7865 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.5095, allocations: 3.25 kB / 0.7865 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.5099, allocations: 109.2 kB / 0.7867 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5099, allocations: 384 / 0.7867 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5099, allocations: 5.109 kB / 0.7867 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5099, allocations: 3.938 kB / 0.7867 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.5101, allocations: 178.5 kB / 0.7868 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5101, allocations: 1.156 kB / 0.7868 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.453e-05/0.5102, allocations: 17.62 kB / 0.7868 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.5102, allocations: 5.109 kB / 0.7869 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.5102, allocations: 4 kB / 0.7869 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.5102, allocations: 1.125 kB / 0.7869 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.5102, allocations: 3.938 kB / 0.7869 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.5106, allocations: 189.1 kB / 0.787 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.5107, allocations: 91.2 kB / 0.7871 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.5107, allocations: 8 kB / 0.7871 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.5108, allocations: 10.8 kB / 0.7871 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.5109, allocations: 1.844 kB / 0.7871 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.5109, allocations: 0.9375 kB / 0.7872 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.549e-05/0.511, allocations: 93.05 kB / 0.7872 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.511, allocations: 0 / 0.7872 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002934/0.5113, allocations: 38.89 kB / 0.7873 GB, free: 11.93 MB / 0.5606 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.001041/0.5123, allocations: 0.7624 MB / 0.788 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.5127, allocations: 71.3 kB / 0.7881 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5127, allocations: 0 / 0.7881 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.5129, allocations: 33.75 kB / 0.7881 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.5132, allocations: 12.89 kB / 0.7881 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.5153, allocations: 1.422 MB / 0.7895 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.5156, allocations: 0.6845 MB / 0.7902 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.906e-05/0.5157, allocations: 6.562 kB / 0.7902 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.5157, allocations: 14.75 kB / 0.7902 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5157, allocations: 0 / 0.7902 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.5395, allocations: 2.479 MB / 0.7926 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.286, allocations: 9 kB / 0.7926 GB, free: 7.812 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)