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.004677/0.004677, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.001271/0.001272, allocations: 192 kB / 16.67 MB, free: 6.391 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 275 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.129/1.129, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 102.8 kB / 0.6943 GB, free: 3.613 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5313/0.534, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002782/0.5369, allocations: 1.295 MB / 0.7826 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1937/0.7306, allocations: 147.6 MB / 0.9268 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.7307, allocations: 0 / 0.9268 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.7308, allocations: 0 / 0.9268 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.96e-05/0.7309, allocations: 11.92 kB / 0.9268 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.7313, allocations: 115.4 kB / 0.9269 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.7314, allocations: 23.84 kB / 0.9269 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.7315, allocations: 0 / 0.9269 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/0.7315, allocations: 8 kB / 0.9269 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 3.869e-05/0.7315, allocations: 7.938 kB / 0.9269 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.7316, allocations: 0 / 0.9269 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.732, allocations: 171.7 kB / 0.9271 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.732, allocations: 11.98 kB / 0.9271 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.7321, allocations: 7.938 kB / 0.9271 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.7323, allocations: 108.9 kB / 0.9272 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.7323, allocations: 3.984 kB / 0.9272 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.61e-06/0.7323, allocations: 0 / 0.9272 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.7324, allocations: 3.938 kB / 0.9272 GB, free: 9.332 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.0004288/0.7328, allocations: 359.1 kB / 0.9276 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7328, allocations: 8.031 kB / 0.9276 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.7329, allocations: 30.75 kB / 0.9276 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005394/0.7334, allocations: 36.89 kB / 0.9277 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.7336, allocations: 172.1 kB / 0.9278 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.7336, allocations: 4 kB / 0.9278 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.7336, allocations: 3.938 kB / 0.9278 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.7338, allocations: 49.64 kB / 0.9279 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7338, allocations: 0 / 0.9279 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.7338, allocations: 4 kB / 0.9279 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7338, allocations: 0 / 0.9279 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.734, allocations: 27.91 kB / 0.9279 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.7344, allocations: 252.8 kB / 0.9281 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 5.355e-05/0.7345, allocations: 22.58 kB / 0.9282 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.7345, allocations: 16.91 kB / 0.9282 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.7345, allocations: 0 / 0.9282 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.7346, allocations: 30.56 kB / 0.9282 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7346, allocations: 0 / 0.9282 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0001594/0.7347, allocations: 45.64 kB / 0.9283 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.7348, allocations: 51.41 kB / 0.9283 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.7349, allocations: 117.9 kB / 0.9284 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.735, allocations: 33.7 kB / 0.9285 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.735, allocations: 84.09 kB / 0.9285 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.735, allocations: 0 / 0.9285 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.7351, allocations: 21.66 kB / 0.9286 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.7352, allocations: 314.8 kB / 0.9289 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.7353, allocations: 15.98 kB / 0.9289 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.7354, allocations: 15.92 kB / 0.9289 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/0.7355, allocations: 24.84 kB / 0.9289 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7355, allocations: 0 / 0.9289 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001878/0.7357, allocations: 57.61 kB / 0.929 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.7357, allocations: 8 kB / 0.929 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.7357, allocations: 0 / 0.929 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7357, allocations: 4 kB / 0.929 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.7358, allocations: 7.984 kB / 0.929 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.7358, allocations: 4 kB / 0.929 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.736, allocations: 11.92 kB / 0.929 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.736, allocations: 0 / 0.929 GB, free: 7.301 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 0.0001121/0.7361, allocations: 113.8 kB / 0.9291 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.7361, allocations: 0 / 0.9291 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.573e-05/0.7362, allocations: 7.125 kB / 0.9291 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.7362, allocations: 0 / 0.9291 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7362, allocations: 3.984 kB / 0.9291 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7362, allocations: 3.938 kB / 0.9291 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.7364, allocations: 154 kB / 0.9293 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7364, allocations: 0 / 0.9293 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.7364, allocations: 4 kB / 0.9293 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.7364, allocations: 0 / 0.9293 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.7364, allocations: 7.875 kB / 0.9293 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.7365, allocations: 4 kB / 0.9293 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7365, allocations: 0 / 0.9293 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.7366, allocations: 147.4 kB / 0.9294 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.7367, allocations: 77.11 kB / 0.9295 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.7367, allocations: 4 kB / 0.9295 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.7368, allocations: 0 / 0.9295 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.7368, allocations: 3.938 kB / 0.9295 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.7368, allocations: 0 / 0.9295 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 9.972e-05/0.7369, allocations: 95.3 kB / 0.9296 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7369, allocations: 0 / 0.9296 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000242/0.7372, allocations: 19.92 kB / 0.9296 GB, free: 6.578 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.0004651/0.7376, allocations: 0.6812 MB / 0.9303 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.7378, allocations: 23.98 kB / 0.9303 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7378, allocations: 3.938 kB / 0.9303 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.7378, allocations: 4 kB / 0.9303 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.7381, allocations: 17.48 kB / 0.9303 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.7385, allocations: 156.6 kB / 0.9305 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.7389, allocations: 0.6768 MB / 0.9311 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.934e-05/0.7389, allocations: 8 kB / 0.9311 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.739, allocations: 11.42 kB / 0.9312 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of SimCode: time 2.8e-07/0.739, allocations: 3.938 kB / 0.9312 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.7613, allocations: 1.609 MB / 0.9327 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.529, allocations: 10.88 kB / 0.9327 GB, free: 3.434 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)