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.0008783/0.0008782, allocations: 90.52 kB / 15.36 MB, free: 0.7344 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.005869/0.005869, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.389/1.389, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 270.8 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9133/0.9133, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.000421, allocations: 12.09 kB / 0.5988 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1715, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001217/0.1728, allocations: 1.012 MB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4392/0.612, allocations: 143.8 MB / 0.8266 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.612, allocations: 0 / 0.8266 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.6121, allocations: 4 kB / 0.8266 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.96e-05/0.6121, allocations: 9.078 kB / 0.8266 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.6125, allocations: 98.17 kB / 0.8267 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.281e-05/0.6126, allocations: 21.23 kB / 0.8268 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.6126, allocations: 1.062 kB / 0.8268 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.43e-05/0.6126, allocations: 12.56 kB / 0.8268 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.258e-05/0.6127, allocations: 3.375 kB / 0.8268 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.6127, allocations: 4 kB / 0.8268 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.6131, allocations: 181.9 kB / 0.827 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.6131, allocations: 3.203 kB / 0.827 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.6132, allocations: 37.98 kB / 0.827 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.6134, allocations: 112.8 kB / 0.8271 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6134, allocations: 1.406 kB / 0.8271 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.366e-06/0.6134, allocations: 0 / 0.8271 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.6134, allocations: 3.938 kB / 0.8271 GB, free: 15.61 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003079/0.6137, allocations: 343.3 kB / 0.8274 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.6138, allocations: 13.28 kB / 0.8274 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.6138, allocations: 34.34 kB / 0.8275 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005458/0.6144, allocations: 34.86 kB / 0.8275 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.6145, allocations: 172.9 kB / 0.8277 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.6145, allocations: 5 kB / 0.8277 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.6146, allocations: 1.156 kB / 0.8277 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.6147, allocations: 45.2 kB / 0.8277 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.6147, allocations: 0 / 0.8277 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.6148, allocations: 1.25 kB / 0.8277 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6148, allocations: 0 / 0.8277 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.6149, allocations: 26.62 kB / 0.8278 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.6152, allocations: 249.7 kB / 0.828 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.6153, allocations: 27.97 kB / 0.828 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.6153, allocations: 12.89 kB / 0.828 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.6154, allocations: 3.938 kB / 0.828 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.6154, allocations: 31.53 kB / 0.8281 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.6154, allocations: 0 / 0.8281 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001329/0.6155, allocations: 43.23 kB / 0.8281 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.6156, allocations: 56.53 kB / 0.8282 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.6157, allocations: 111.3 kB / 0.8283 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.6157, allocations: 25.7 kB / 0.8283 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.6158, allocations: 89.11 kB / 0.8284 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/0.6158, allocations: 4.531 kB / 0.8284 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.6158, allocations: 14.62 kB / 0.8284 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.6159, allocations: 315.8 kB / 0.8287 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.616, allocations: 17.92 kB / 0.8287 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.685e-05/0.6161, allocations: 10.2 kB / 0.8287 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.206e-05/0.6161, allocations: 26.27 kB / 0.8287 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6161, allocations: 0 / 0.8287 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001801/0.6163, allocations: 63.58 kB / 0.8288 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6164, allocations: 11.31 kB / 0.8288 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.6164, allocations: 0 / 0.8288 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6164, allocations: 1.094 kB / 0.8288 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.6165, allocations: 9.641 kB / 0.8288 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.6165, allocations: 1.312 kB / 0.8288 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.6166, allocations: 12.89 kB / 0.8288 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.6167, allocations: 1.156 kB / 0.8288 GB, free: 13.81 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.188e-05/0.6168, allocations: 115.8 kB / 0.829 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.6168, allocations: 2.125 kB / 0.829 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.6168, allocations: 7.109 kB / 0.829 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.6168, allocations: 1.219 kB / 0.829 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6168, allocations: 0 / 0.829 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6168, allocations: 4.906 kB / 0.829 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.617, allocations: 156.2 kB / 0.8291 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.617, allocations: 0 / 0.8291 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.617, allocations: 2.875 kB / 0.8291 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.617, allocations: 4.906 kB / 0.8291 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.6171, allocations: 0 / 0.8291 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6171, allocations: 5.156 kB / 0.8291 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6171, allocations: 0 / 0.8291 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.785e-05/0.6172, allocations: 140.4 kB / 0.8293 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.6172, allocations: 86.52 kB / 0.8293 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.6173, allocations: 5.109 kB / 0.8293 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/0.6174, allocations: 1.156 kB / 0.8294 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.6174, allocations: 1.094 kB / 0.8294 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.6174, allocations: 9.125 kB / 0.8294 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.646e-05/0.6175, allocations: 91.2 kB / 0.8294 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6175, allocations: 0 / 0.8294 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002448/0.6177, allocations: 11.81 kB / 0.8295 GB, free: 13.15 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 (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.0004085/0.6181, allocations: 0.6903 MB / 0.8301 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.6183, allocations: 16.27 kB / 0.8301 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6183, allocations: 0 / 0.8301 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.6183, allocations: 4.125 kB / 0.8302 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.6186, allocations: 23.03 kB / 0.8302 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.6191, allocations: 171.6 kB / 0.8303 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.6193, allocations: 0.6762 MB / 0.831 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.12e-05/0.6194, allocations: 6.625 kB / 0.831 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.6194, allocations: 8.938 kB / 0.831 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.6194, allocations: 0 / 0.831 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3145/0.934, allocations: 1.399 MB / 0.8324 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/0.9343, allocations: 229.2 kB / 0.8326 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.924, allocations: 0 / 0.8326 GB, free: 10.69 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)