Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_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.006174/0.006174, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.001462/0.001462, allocations: 188 kB / 16.67 MB, free: 5.918 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002699/0.002699, allocations: 278.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.051/1.051, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 99.83 kB / 0.6943 GB, free: 3.602 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.5003, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002428/0.5028, allocations: 1.282 MB / 0.7826 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.5042, allocations: 0.8268 MB / 0.7834 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.5043, allocations: 1.75 kB / 0.7834 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.5043, allocations: 1.031 kB / 0.7834 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.5044, allocations: 3.938 kB / 0.7834 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.505, allocations: 135.1 kB / 0.7835 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.5051, allocations: 23.19 kB / 0.7836 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.5052, allocations: 3.234 kB / 0.7836 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.5052, allocations: 11.55 kB / 0.7836 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.5053, allocations: 10.88 kB / 0.7836 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.5053, allocations: 2.375 kB / 0.7836 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.5058, allocations: 168.9 kB / 0.7837 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.5058, allocations: 6.875 kB / 0.7838 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.5058, allocations: 9.906 kB / 0.7838 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.5061, allocations: 131.4 kB / 0.7839 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5061, allocations: 0 / 0.7839 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5062, allocations: 0.7031 kB / 0.7839 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.5062, allocations: 0 / 0.7839 GB, free: 12.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005729/0.5068, allocations: 365.2 kB / 0.7842 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5068, allocations: 9.578 kB / 0.7842 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.5069, allocations: 36.77 kB / 0.7843 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.5069, allocations: 3.562 kB / 0.7843 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.507, allocations: 170.6 kB / 0.7844 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.114e-05/0.5071, allocations: 33.75 kB / 0.7845 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.5072, allocations: 5.625 kB / 0.7845 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.5073, allocations: 48.72 kB / 0.7845 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5073, allocations: 0 / 0.7845 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.5074, allocations: 5.5 kB / 0.7845 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.5074, allocations: 0 / 0.7845 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.5075, allocations: 18.2 kB / 0.7846 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.5077, allocations: 159 kB / 0.7847 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.5079, allocations: 50.31 kB / 0.7848 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.508, allocations: 25.73 kB / 0.7848 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000324/0.5083, allocations: 178.3 kB / 0.7849 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.5084, allocations: 39.91 kB / 0.785 GB, free: 11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.5084, allocations: 0 / 0.785 GB, free: 11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002952/0.5087, allocations: 63.61 kB / 0.785 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.5087, allocations: 57.45 kB / 0.7851 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/0.5088, allocations: 99.47 kB / 0.7852 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5088, allocations: 25.7 kB / 0.7852 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.5089, allocations: 85.62 kB / 0.7853 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.5089, allocations: 10.38 kB / 0.7853 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.509, allocations: 23.2 kB / 0.7853 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5091, allocations: 311.5 kB / 0.7856 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.5092, allocations: 12.39 kB / 0.7856 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.265e-05/0.5092, allocations: 7.438 kB / 0.7857 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.5093, allocations: 30.22 kB / 0.7857 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5093, allocations: 0 / 0.7857 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001411/0.5095, allocations: 57.7 kB / 0.7857 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5095, allocations: 13.02 kB / 0.7857 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5095, allocations: 0 / 0.7857 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5095, allocations: 1.219 kB / 0.7857 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.5096, allocations: 8.391 kB / 0.7858 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5096, allocations: 0 / 0.7858 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.5096, allocations: 6.453 kB / 0.7858 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.5097, allocations: 5.312 kB / 0.7858 GB, free: 10.25 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 (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 7.924e-05/0.5097, allocations: 107.8 kB / 0.7859 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.5098, allocations: 11.27 kB / 0.7859 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.51, allocations: 71.2 kB / 0.7859 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.51, allocations: 1.031 kB / 0.7859 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.51, allocations: 1.125 kB / 0.786 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.51, allocations: 0.8438 kB / 0.786 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.5101, allocations: 154.8 kB / 0.7861 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5101, allocations: 3.938 kB / 0.7861 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.5102, allocations: 8.141 kB / 0.7861 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5102, allocations: 4.875 kB / 0.7861 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.5102, allocations: 9.312 kB / 0.7861 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5102, allocations: 5.219 kB / 0.7861 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.5102, allocations: 0 / 0.7861 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.5104, allocations: 79.86 kB / 0.7862 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.5105, allocations: 92.38 kB / 0.7863 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.5105, allocations: 2.266 kB / 0.7863 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/0.5105, allocations: 2.641 kB / 0.7863 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.5106, allocations: 3.734 kB / 0.7863 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.5106, allocations: 9.594 kB / 0.7863 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.5106, allocations: 82.84 kB / 0.7864 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5107, allocations: 0 / 0.7864 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002412/0.5109, allocations: 31.72 kB / 0.7864 GB, free: 9.602 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 (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.0006394/0.5115, allocations: 0.6649 MB / 0.7871 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.5117, allocations: 30 kB / 0.7871 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5117, allocations: 0 / 0.7871 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.063e-05/0.5118, allocations: 16.56 kB / 0.7871 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.512, allocations: 8.406 kB / 0.7871 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.5125, allocations: 159.2 kB / 0.7873 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.5129, allocations: 0.6796 MB / 0.7879 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.462e-05/0.5129, allocations: 7.938 kB / 0.7879 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.513, allocations: 16.86 kB / 0.788 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.513, allocations: 0 / 0.788 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.5356, allocations: 1.968 MB / 0.7899 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.481, allocations: 15.28 kB / 0.7899 GB, free: 7.684 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)