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.001445/0.001445, 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.001441/0.001441, allocations: 192.5 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002447/0.002447, allocations: 282.5 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003169/0.003169, allocations: 96.06 kB / 0.6065 GB, free: 24.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1456, allocations: 89.15 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002158/0.1478, allocations: 1.281 MB / 0.6949 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4328/0.5806, allocations: 147.6 MB / 0.839 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.5807, allocations: 0 / 0.839 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.5808, allocations: 9.234 kB / 0.839 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.738e-05/0.5808, allocations: 3.938 kB / 0.839 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.5813, allocations: 115.6 kB / 0.8392 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.5814, allocations: 24.72 kB / 0.8392 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.5815, allocations: 1.125 kB / 0.8392 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.5815, allocations: 12.31 kB / 0.8392 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.335e-05/0.5815, allocations: 4.281 kB / 0.8392 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.649e-06/0.5815, allocations: 0 / 0.8392 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.582, allocations: 180 kB / 0.8394 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.582, allocations: 4.969 kB / 0.8394 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.582, allocations: 8.312 kB / 0.8394 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.5823, allocations: 115.4 kB / 0.8395 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5823, allocations: 1.25 kB / 0.8395 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5823, allocations: 0 / 0.8395 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5823, 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.0003986/0.5827, allocations: 351.5 kB / 0.8398 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5828, allocations: 9.594 kB / 0.8398 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.5828, allocations: 32.06 kB / 0.8399 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/0.5833, allocations: 36.77 kB / 0.8399 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.5835, allocations: 162.6 kB / 0.8401 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.5835, allocations: 7.938 kB / 0.8401 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.5835, allocations: 2.094 kB / 0.8401 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.5837, allocations: 45.66 kB / 0.8401 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.5837, allocations: 4 kB / 0.8401 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.5837, allocations: 1.156 kB / 0.8401 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.5837, allocations: 0 / 0.8401 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.5839, allocations: 27.41 kB / 0.8401 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.5843, allocations: 246 kB / 0.8404 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.484e-05/0.5843, allocations: 32.34 kB / 0.8404 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.5844, allocations: 12.38 kB / 0.8404 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.5844, allocations: 5.125 kB / 0.8404 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.5844, allocations: 32.75 kB / 0.8405 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5844, allocations: 0 / 0.8405 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.00015/0.5846, allocations: 43.42 kB / 0.8405 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5846, allocations: 51.53 kB / 0.8405 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.5848, allocations: 116.3 kB / 0.8407 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5848, allocations: 29.7 kB / 0.8407 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.5849, allocations: 85.02 kB / 0.8408 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.5849, allocations: 8.906 kB / 0.8408 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.5849, allocations: 18.23 kB / 0.8408 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5851, allocations: 319.9 kB / 0.8411 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.5851, allocations: 13.45 kB / 0.8411 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.5852, allocations: 11.33 kB / 0.8411 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.926e-05/0.5853, allocations: 26.53 kB / 0.8411 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5853, allocations: 3.938 kB / 0.8411 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001869/0.5855, allocations: 56.14 kB / 0.8412 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.5855, allocations: 5.375 kB / 0.8412 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5855, allocations: 4 kB / 0.8412 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.5856, allocations: 2 kB / 0.8412 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.5857, allocations: 10.33 kB / 0.8412 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5857, allocations: 2.75 kB / 0.8412 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.5858, allocations: 11.7 kB / 0.8412 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.5858, allocations: 2.438 kB / 0.8412 GB, free: 10.62 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.734e-05/0.5859, allocations: 109.8 kB / 0.8413 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.586, allocations: 6.5 kB / 0.8413 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/0.586, allocations: 3.125 kB / 0.8413 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.586, allocations: 0 / 0.8413 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.586, allocations: 3.984 kB / 0.8414 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.586, allocations: 6.781 kB / 0.8414 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.5862, allocations: 155.9 kB / 0.8415 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5862, allocations: 3.938 kB / 0.8415 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.5862, allocations: 2.75 kB / 0.8415 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.5862, allocations: 0 / 0.8415 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.5862, allocations: 0 / 0.8415 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5862, allocations: 4.031 kB / 0.8415 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5863, allocations: 4 kB / 0.8415 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.5864, allocations: 139.1 kB / 0.8417 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.5864, allocations: 79.39 kB / 0.8417 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.5865, allocations: 0 / 0.8417 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.5865, allocations: 2.594 kB / 0.8417 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.5866, allocations: 0 / 0.8417 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.5866, allocations: 10.78 kB / 0.8417 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.555e-05/0.5867, allocations: 97.44 kB / 0.8418 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5867, allocations: 0 / 0.8418 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002409/0.5869, allocations: 17.91 kB / 0.8419 GB, free: 9.941 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.0004431/0.5874, allocations: 0.6796 MB / 0.8425 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.5875, allocations: 19.67 kB / 0.8425 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5875, allocations: 0 / 0.8425 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.5875, allocations: 13.02 kB / 0.8425 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.5879, allocations: 8.125 kB / 0.8426 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.5883, allocations: 164.5 kB / 0.8427 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.5886, allocations: 0.6756 MB / 0.8434 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.07e-05/0.5887, allocations: 6.844 kB / 0.8434 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.5887, allocations: 18.33 kB / 0.8434 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.5887, allocations: 0 / 0.8434 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.981/2.57, allocations: 1.586 MB / 0.8449 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/16.32, allocations: 7.938 kB / 0.845 GB, free: 7.516 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 & /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)