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.001305/0.00131, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002728/0.002728, allocations: 286.5 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.046/1.046, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 96.92 kB / 0.6065 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1564, allocations: 89.14 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002546/0.159, allocations: 1.286 MB / 0.6949 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.442/0.6009, allocations: 147.6 MB / 0.839 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.601, allocations: 1.031 kB / 0.839 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.6011, allocations: 0 / 0.839 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-05/0.6011, allocations: 9.234 kB / 0.839 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.6015, allocations: 114 kB / 0.8392 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.822e-05/0.6016, allocations: 18.22 kB / 0.8392 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.6016, allocations: 9.266 kB / 0.8392 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.6017, allocations: 11.88 kB / 0.8392 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.985e-05/0.6017, allocations: 3.25 kB / 0.8392 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.6017, allocations: 1.312 kB / 0.8392 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.6021, allocations: 180 kB / 0.8394 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.6022, allocations: 3.984 kB / 0.8394 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.6022, allocations: 8.531 kB / 0.8394 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.6024, allocations: 107.9 kB / 0.8395 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6024, allocations: 1.125 kB / 0.8395 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6024, allocations: 1.062 kB / 0.8395 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6024, allocations: 0 / 0.8395 GB, free: 12.46 MB / 0.5762 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.0003585/0.6028, allocations: 354.8 kB / 0.8398 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6029, allocations: 13.83 kB / 0.8398 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.6029, allocations: 30.75 kB / 0.8399 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000537/0.6034, allocations: 38.58 kB / 0.8399 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.6036, allocations: 161.4 kB / 0.8401 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.6036, allocations: 5.094 kB / 0.8401 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.6036, allocations: 5.156 kB / 0.8401 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.6038, allocations: 49.38 kB / 0.8401 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.6038, allocations: 0 / 0.8401 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.6038, allocations: 1.031 kB / 0.8401 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.6039, allocations: 1.094 kB / 0.8401 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.604, allocations: 18.55 kB / 0.8401 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.6044, allocations: 259.9 kB / 0.8404 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/0.6044, allocations: 24.42 kB / 0.8404 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.6045, allocations: 15.36 kB / 0.8404 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.6045, allocations: 0 / 0.8404 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.6045, allocations: 37.72 kB / 0.8405 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.6045, allocations: 4 kB / 0.8405 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001494/0.6047, allocations: 37.91 kB / 0.8405 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.6047, allocations: 51.41 kB / 0.8405 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.6049, allocations: 116.2 kB / 0.8407 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.6049, allocations: 25.7 kB / 0.8407 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.605, allocations: 87.17 kB / 0.8408 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.605, allocations: 15.81 kB / 0.8408 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.605, allocations: 26.61 kB / 0.8408 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6052, allocations: 318.7 kB / 0.8411 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.6052, allocations: 11.27 kB / 0.8411 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.6053, allocations: 3.969 kB / 0.8411 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.469e-05/0.6054, allocations: 24.16 kB / 0.8411 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6054, allocations: 0 / 0.8411 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001893/0.6056, allocations: 62.38 kB / 0.8412 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6056, allocations: 5.969 kB / 0.8412 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.6056, allocations: 0 / 0.8412 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6056, allocations: 2.938 kB / 0.8412 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.6058, allocations: 9.234 kB / 0.8412 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6058, allocations: 4.688 kB / 0.8412 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.6059, allocations: 9.469 kB / 0.8412 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.6059, allocations: 11.98 kB / 0.8412 GB, free: 10.59 MB / 0.5762 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.473e-05/0.606, allocations: 108.8 kB / 0.8413 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.6061, allocations: 0 / 0.8413 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.6061, allocations: 6.344 kB / 0.8414 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.6061, allocations: 0 / 0.8414 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.6061, allocations: 0 / 0.8414 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6061, allocations: 6.5 kB / 0.8414 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.6063, allocations: 156.3 kB / 0.8415 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6063, allocations: 0 / 0.8415 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/0.6063, allocations: 6.656 kB / 0.8415 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6063, allocations: 2.969 kB / 0.8415 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.6063, allocations: 3.984 kB / 0.8415 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6063, allocations: 0 / 0.8415 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6063, allocations: 3.938 kB / 0.8415 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.6065, allocations: 138.6 kB / 0.8417 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.6065, allocations: 77.11 kB / 0.8417 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.6065, allocations: 3.984 kB / 0.8417 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.6067, allocations: 9.594 kB / 0.8417 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.6067, allocations: 2.531 kB / 0.8417 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.6067, allocations: 3.938 kB / 0.8418 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.183e-05/0.6068, allocations: 92.05 kB / 0.8418 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6068, allocations: 0 / 0.8418 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002469/0.607, allocations: 18.62 kB / 0.8419 GB, free: 9.926 MB / 0.5762 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.0004403/0.6075, allocations: 0.681 MB / 0.8425 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.6076, allocations: 22.77 kB / 0.8425 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6076, allocations: 0 / 0.8425 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.019e-05/0.6077, allocations: 5.094 kB / 0.8425 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.608, allocations: 17.89 kB / 0.8426 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.6084, allocations: 154.8 kB / 0.8427 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.6087, allocations: 0.6753 MB / 0.8434 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.321e-05/0.6088, allocations: 6.75 kB / 0.8434 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.6088, allocations: 9.812 kB / 0.8434 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of SimCode: time 1.914e-06/0.6088, allocations: 0 / 0.8434 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.6301, allocations: 1.587 MB / 0.8449 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/8.081, allocations: 13.39 kB / 0.845 GB, free: 7.504 MB / 0.5762 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)