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.001665/0.001665, 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.00191/0.00191, allocations: 197 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.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002157/0.002157, allocations: 287 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9629/0.9629, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 104.2 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.153, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002386/0.1554, allocations: 1.278 MB / 0.6815 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4322/0.5876, allocations: 147.6 MB / 0.8257 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.5877, allocations: 0.6875 kB / 0.8257 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.5878, allocations: 6.188 kB / 0.8257 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.078e-05/0.5878, allocations: 8.406 kB / 0.8257 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.5883, allocations: 113.3 kB / 0.8258 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.863e-05/0.5884, allocations: 23.7 kB / 0.8259 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.5885, allocations: 1.125 kB / 0.8259 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.5885, allocations: 10.48 kB / 0.8259 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.243e-05/0.5886, allocations: 10.84 kB / 0.8259 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.5886, allocations: 0.5 kB / 0.8259 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.5891, allocations: 173.9 kB / 0.826 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.5891, allocations: 2.344 kB / 0.826 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.5892, allocations: 8.531 kB / 0.826 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.5894, allocations: 113.6 kB / 0.8262 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5895, allocations: 0 / 0.8262 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5895, allocations: 0 / 0.8262 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.5895, allocations: 1.125 kB / 0.8262 GB, free: 1.309 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.0004379/0.5899, allocations: 353.5 kB / 0.8265 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.59, allocations: 13.58 kB / 0.8265 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.59, allocations: 32.62 kB / 0.8265 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000573/0.5906, allocations: 34.66 kB / 0.8266 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5907, allocations: 174.7 kB / 0.8267 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.5907, allocations: 5.031 kB / 0.8267 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.5908, allocations: 9.109 kB / 0.8268 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.5909, allocations: 45.23 kB / 0.8268 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.591, allocations: 0 / 0.8268 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.591, allocations: 3.812 kB / 0.8268 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.591, allocations: 0.5312 kB / 0.8268 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.5911, allocations: 15.12 kB / 0.8268 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.5915, allocations: 255 kB / 0.8271 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.294e-05/0.5915, allocations: 26.41 kB / 0.8271 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.5916, allocations: 12.98 kB / 0.8271 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.5916, allocations: 0 / 0.8271 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.5916, allocations: 31.75 kB / 0.8271 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.5916, allocations: 4 kB / 0.8271 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001606/0.5918, allocations: 44.84 kB / 0.8272 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.5918, allocations: 52.81 kB / 0.8272 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.5919, allocations: 110.2 kB / 0.8273 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.592, allocations: 29.02 kB / 0.8274 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.592, allocations: 89.2 kB / 0.8274 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.024e-06/0.592, allocations: 5.281 kB / 0.8274 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.5921, allocations: 24.92 kB / 0.8275 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.5922, allocations: 318.1 kB / 0.8278 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.5922, allocations: 8.484 kB / 0.8278 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.5923, allocations: 13.28 kB / 0.8278 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.073e-05/0.5924, allocations: 20.77 kB / 0.8278 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5924, allocations: 4.938 kB / 0.8278 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001803/0.5926, allocations: 63.42 kB / 0.8279 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.5926, allocations: 5.219 kB / 0.8279 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5926, allocations: 0 / 0.8279 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5926, allocations: 0.8125 kB / 0.8279 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.5927, allocations: 10.72 kB / 0.8279 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.5928, allocations: 1.062 kB / 0.8279 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.5929, allocations: 11.45 kB / 0.8279 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.5929, allocations: 7.656 kB / 0.8279 GB, free: 15.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 6.634e-05/0.593, allocations: 108.3 kB / 0.828 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.593, allocations: 4.688 kB / 0.828 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.5931, allocations: 4.312 kB / 0.828 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5931, allocations: 2.484 kB / 0.828 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5931, allocations: 5.031 kB / 0.828 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.5931, allocations: 4.266 kB / 0.828 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.5932, allocations: 152.6 kB / 0.8282 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5932, allocations: 0 / 0.8282 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.5933, allocations: 7.469 kB / 0.8282 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5933, allocations: 3.984 kB / 0.8282 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.5933, allocations: 1.875 kB / 0.8282 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5933, allocations: 0 / 0.8282 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5933, allocations: 1.125 kB / 0.8282 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.641e-05/0.5934, allocations: 142 kB / 0.8283 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.5934, allocations: 80.62 kB / 0.8284 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.5935, allocations: 6.031 kB / 0.8284 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.5936, allocations: 5.281 kB / 0.8284 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.5936, allocations: 3.516 kB / 0.8284 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.5936, allocations: 3.938 kB / 0.8284 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.06e-05/0.5937, allocations: 91.92 kB / 0.8285 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5937, allocations: 0 / 0.8285 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002428/0.594, allocations: 16.31 kB / 0.8285 GB, free: 14.95 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.0003639/0.5943, allocations: 0.6849 MB / 0.8292 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.5945, allocations: 15.36 kB / 0.8292 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5945, allocations: 1.188 kB / 0.8292 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.211e-05/0.5945, allocations: 6.594 kB / 0.8292 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.5948, allocations: 21.92 kB / 0.8292 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.5952, allocations: 162.7 kB / 0.8294 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.5954, allocations: 0.6741 MB / 0.8301 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.153e-05/0.5955, allocations: 10.16 kB / 0.8301 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.5955, allocations: 15.45 kB / 0.8301 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5955, allocations: 0 / 0.8301 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2229/0.8184, allocations: 1.577 MB / 0.8316 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.693/10.51, allocations: 14.89 kB / 0.8316 GB, free: 13.05 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)