Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.008357/0.008357, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.002328/0.002328, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002463/0.002463, allocations: 285.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9905/0.9905, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 99.83 kB / 0.681 GB, free: 7.418 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4418, allocations: 86.98 MB / 0.7659 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002286/0.4442, allocations: 1.28 MB / 0.7672 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1804/0.6245, allocations: 147.6 MB / 0.9113 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.6246, allocations: 0 / 0.9113 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.6247, allocations: 7.938 kB / 0.9114 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.6247, allocations: 11.92 kB / 0.9114 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.6252, allocations: 111.5 kB / 0.9115 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 6.413e-05/0.6253, allocations: 19.88 kB / 0.9115 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.6253, allocations: 7.984 kB / 0.9115 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.242e-05/0.6254, allocations: 4 kB / 0.9115 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.6254, allocations: 11.92 kB / 0.9115 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.6254, allocations: 0 / 0.9115 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.6258, allocations: 175.7 kB / 0.9117 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.6259, allocations: 4 kB / 0.9117 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.6259, allocations: 7.938 kB / 0.9117 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.6261, allocations: 112.8 kB / 0.9118 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.6261, allocations: 0 / 0.9118 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6261, allocations: 3.938 kB / 0.9118 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.6262, allocations: 0 / 0.9118 GB, free: 13.84 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003933/0.6266, allocations: 351.2 kB / 0.9121 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6266, allocations: 12.02 kB / 0.9121 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.6266, allocations: 34.75 kB / 0.9122 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005064/0.6272, allocations: 40.89 kB / 0.9122 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.6273, allocations: 172 kB / 0.9124 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.6273, allocations: 3.938 kB / 0.9124 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.6273, allocations: 4 kB / 0.9124 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.6275, allocations: 45.66 kB / 0.9124 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.6275, allocations: 4 kB / 0.9124 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.6275, allocations: 4 kB / 0.9124 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.6275, allocations: 0 / 0.9124 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.6277, allocations: 19.92 kB / 0.9125 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.628, allocations: 256.9 kB / 0.9127 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 5.444e-05/0.6281, allocations: 26.58 kB / 0.9127 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.6281, allocations: 8.922 kB / 0.9127 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-06/0.6282, allocations: 0 / 0.9127 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.6282, allocations: 38.56 kB / 0.9128 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.6282, allocations: 0 / 0.9128 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0001511/0.6283, allocations: 41.62 kB / 0.9128 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.6284, allocations: 55.53 kB / 0.9129 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.6286, allocations: 117.8 kB / 0.913 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.6286, allocations: 25.7 kB / 0.913 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.6286, allocations: 84.09 kB / 0.9131 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/0.6287, allocations: 3.984 kB / 0.9131 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.6287, allocations: 25.66 kB / 0.9131 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6289, allocations: 314.8 kB / 0.9134 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.6289, allocations: 15.92 kB / 0.9134 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-05/0.629, allocations: 8.188 kB / 0.9134 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.158e-05/0.6291, allocations: 28.86 kB / 0.9135 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6291, allocations: 0 / 0.9135 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001849/0.6293, allocations: 61.66 kB / 0.9135 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.6293, allocations: 4 kB / 0.9135 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.6293, allocations: 4 kB / 0.9135 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6293, allocations: 0 / 0.9135 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.6294, allocations: 11.98 kB / 0.9135 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.6295, allocations: 0 / 0.9135 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.6296, allocations: 11.94 kB / 0.9136 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.6296, allocations: 7.984 kB / 0.9136 GB, free: 11.8 MB / 0.6856 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 7.381e-05/0.6297, allocations: 108.2 kB / 0.9137 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.6297, allocations: 4 kB / 0.9137 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.6298, allocations: 7.125 kB / 0.9137 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6298, allocations: 0 / 0.9137 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.6298, allocations: 0 / 0.9137 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6298, allocations: 7.875 kB / 0.9137 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.6299, allocations: 153.7 kB / 0.9138 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.63, allocations: 0 / 0.9138 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.63, allocations: 4 kB / 0.9138 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.63, allocations: 3.938 kB / 0.9138 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.63, allocations: 3.984 kB / 0.9138 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.63, allocations: 0 / 0.9138 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.63, allocations: 4 kB / 0.9138 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.6301, allocations: 135.5 kB / 0.914 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.6302, allocations: 81.11 kB / 0.9141 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.6302, allocations: 7.984 kB / 0.9141 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.6303, allocations: 0 / 0.9141 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.6304, allocations: 7.938 kB / 0.9141 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.6304, allocations: 4.031 kB / 0.9141 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 9.356e-05/0.6305, allocations: 95.27 kB / 0.9142 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6305, allocations: 0 / 0.9142 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002408/0.6307, allocations: 15.94 kB / 0.9142 GB, free: 11.08 MB / 0.6856 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 (2): * Single equations (assignments): 2 * 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.0004748/0.6312, allocations: 0.6812 MB / 0.9148 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.6314, allocations: 23.92 kB / 0.9149 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6314, allocations: 4 kB / 0.9149 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.371e-05/0.6314, allocations: 7.938 kB / 0.9149 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.6317, allocations: 11.92 kB / 0.9149 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.6321, allocations: 151.4 kB / 0.915 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.6325, allocations: 0.6768 MB / 0.9157 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.733e-05/0.6325, allocations: 8 kB / 0.9157 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.6326, allocations: 15.38 kB / 0.9157 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of SimCode: time 2.41e-07/0.6326, allocations: 0 / 0.9157 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.6544, allocations: 1.597 MB / 0.9173 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.566, allocations: 14.42 kB / 0.9173 GB, free: 7.957 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_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_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)