Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_Buildings_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.001805/0.001806, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001618/0.001619, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.504/3.504, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.183/3.183, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 17.91 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5324, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002711/0.5352, allocations: 0.996 MB / 0.7882 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 1.583/2.118, allocations: 124.8 MB / 0.9101 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/2.118, allocations: 0 / 0.9101 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/2.118, allocations: 1.422 kB / 0.9101 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/2.118, allocations: 9.969 kB / 0.9101 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/2.119, allocations: 99.41 kB / 0.9102 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/2.119, allocations: 20.41 kB / 0.9102 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/2.12, allocations: 5.719 kB / 0.9102 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.763e-05/2.12, allocations: 7.188 kB / 0.9102 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/2.12, allocations: 7.344 kB / 0.9102 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/2.12, allocations: 3.875 kB / 0.9102 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008705/2.121, allocations: 180.4 kB / 0.9104 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/2.121, allocations: 2.547 kB / 0.9104 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005956/2.121, allocations: 30.88 kB / 0.9104 GB, free: 21.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/2.122, allocations: 83.27 kB / 0.9105 GB, free: 21.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/2.122, allocations: 0 / 0.9105 GB, free: 21.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.062e-05/2.122, allocations: 4.781 kB / 0.9105 GB, free: 21.97 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.427e-06/2.122, allocations: 2.906 kB / 0.9105 GB, free: 21.97 MB / 0.7325 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.001019/2.123, allocations: 341.6 kB / 0.9109 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001343/2.123, allocations: 9.25 kB / 0.9109 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/2.123, allocations: 33.22 kB / 0.9109 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/2.124, allocations: 42.03 kB / 0.9109 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/2.125, allocations: 169 kB / 0.9111 GB, free: 21.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/2.125, allocations: 2.891 kB / 0.9111 GB, free: 21.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/2.125, allocations: 0.9375 kB / 0.9111 GB, free: 21.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/2.125, allocations: 46.94 kB / 0.9111 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/2.125, allocations: 2.906 kB / 0.9112 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/2.125, allocations: 2.203 kB / 0.9112 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/2.125, allocations: 0.8125 kB / 0.9112 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/2.126, allocations: 22.47 kB / 0.9112 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008966/2.127, allocations: 249.2 kB / 0.9114 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/2.127, allocations: 29 kB / 0.9114 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/2.127, allocations: 0 / 0.9114 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/2.127, allocations: 32.81 kB / 0.9115 GB, free: 21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 3.105e-06/2.127, allocations: 4 kB / 0.9115 GB, free: 21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003678/2.127, allocations: 40.3 kB / 0.9115 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/2.127, allocations: 60.17 kB / 0.9116 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/2.128, allocations: 109.7 kB / 0.9117 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/2.128, allocations: 26.33 kB / 0.9117 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/2.128, allocations: 89.97 kB / 0.9118 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/2.128, allocations: 7.797 kB / 0.9118 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/2.128, allocations: 4.5 kB / 0.9118 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003546/2.128, allocations: 318.4 kB / 0.9121 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/2.129, allocations: 9.219 kB / 0.9121 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/2.129, allocations: 10.88 kB / 0.9121 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/2.129, allocations: 12.62 kB / 0.9121 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/2.129, allocations: 0 / 0.9121 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000442/2.129, allocations: 66.66 kB / 0.9122 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/2.129, allocations: 5.531 kB / 0.9122 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/2.129, allocations: 0 / 0.9122 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-05/2.13, allocations: 2.359 kB / 0.9122 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/2.13, allocations: 9.062 kB / 0.9122 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/2.13, allocations: 0.7812 kB / 0.9122 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/2.13, allocations: 11.67 kB / 0.9122 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/2.13, allocations: 3.984 kB / 0.9122 GB, free: 20.32 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002155/2.13, allocations: 113.8 kB / 0.9123 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/2.13, allocations: 1.156 kB / 0.9123 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/2.131, allocations: 5.984 kB / 0.9123 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/2.131, allocations: 1.922 kB / 0.9123 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/2.131, allocations: 0 / 0.9123 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/2.131, allocations: 1.125 kB / 0.9123 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/2.131, allocations: 155.3 kB / 0.9125 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/2.131, allocations: 1.797 kB / 0.9125 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/2.131, allocations: 6.094 kB / 0.9125 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/2.131, allocations: 4.516 kB / 0.9125 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/2.131, allocations: 2.688 kB / 0.9125 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/2.131, allocations: 1.25 kB / 0.9125 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/2.131, allocations: 0.7969 kB / 0.9125 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/2.132, allocations: 136.1 kB / 0.9126 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/2.132, allocations: 86.89 kB / 0.9127 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/2.132, allocations: 1.312 kB / 0.9127 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/2.132, allocations: 7.297 kB / 0.9127 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/2.132, allocations: 7.594 kB / 0.9127 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/2.132, allocations: 2.062 kB / 0.9127 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004386/2.133, allocations: 89.34 kB / 0.9128 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.21e-07/2.133, allocations: 0.7188 kB / 0.9128 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005636/2.133, allocations: 17.3 kB / 0.9128 GB, free: 19.69 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001225/2.134, allocations: 0.6827 MB / 0.9135 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003045/2.135, allocations: 21.31 kB / 0.9135 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/2.135, allocations: 0.7812 kB / 0.9135 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.093e-05/2.135, allocations: 5.375 kB / 0.9135 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/2.135, allocations: 18.59 kB / 0.9136 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/2.136, allocations: 167.7 kB / 0.9137 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008141/2.137, allocations: 0.6776 MB / 0.9144 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001928/2.137, allocations: 11.02 kB / 0.9144 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/2.137, allocations: 11.92 kB / 0.9144 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/2.138, allocations: 0 / 0.9144 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/2.167, allocations: 1.365 MB / 0.9157 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004075/2.168, allocations: 198 kB / 0.9159 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/5.188, allocations: 3.656 kB / 0.9159 GB, free: 17.77 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) Environment - environmentSimulation: