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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7759/0.7759, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 183.1 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009869/0.0009868, allocations: 97.53 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 271.8 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.262e-05/5.287e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5166, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.37/4.887, allocations: 1.673 GB / 2.438 GB, free: 110.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/4.888, allocations: 82.86 kB / 2.438 GB, free: 110.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04886/4.937, allocations: 26.7 MB / 2.464 GB, free: 83.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/4.937, allocations: 3.984 kB / 2.464 GB, free: 83.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.755e-06/4.937, allocations: 8 kB / 2.464 GB, free: 83.51 MB / 0.698 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.0002709/4.937, allocations: 350.4 kB / 2.464 GB, free: 83.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/4.937, allocations: 8.031 kB / 2.464 GB, free: 83.11 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/4.937, allocations: 34.56 kB / 2.464 GB, free: 83.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/4.937, allocations: 35.91 kB / 2.464 GB, free: 83.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/4.938, allocations: 159.1 kB / 2.464 GB, free: 82.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/4.938, allocations: 4 kB / 2.464 GB, free: 82.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/4.938, allocations: 7.984 kB / 2.464 GB, free: 82.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/4.938, allocations: 45.66 kB / 2.464 GB, free: 82.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/4.938, allocations: 3.938 kB / 2.464 GB, free: 82.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/4.938, allocations: 0 / 2.464 GB, free: 82.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/4.938, allocations: 4 kB / 2.464 GB, free: 82.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/4.938, allocations: 4 kB / 2.464 GB, free: 82.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/4.938, allocations: 264.8 kB / 2.465 GB, free: 82.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.33e-05/4.938, allocations: 22.58 kB / 2.465 GB, free: 82.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/4.938, allocations: 12.92 kB / 2.465 GB, free: 82.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/4.938, allocations: 0 / 2.465 GB, free: 82.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/4.938, allocations: 34.56 kB / 2.465 GB, free: 82.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/4.938, allocations: 0 / 2.465 GB, free: 82.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001439/4.938, allocations: 37.59 kB / 2.465 GB, free: 82.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/4.938, allocations: 59.44 kB / 2.465 GB, free: 82.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/4.939, allocations: 101 kB / 2.465 GB, free: 82.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/4.939, allocations: 25.7 kB / 2.465 GB, free: 82.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/4.939, allocations: 88.08 kB / 2.465 GB, free: 82.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/4.939, allocations: 3.906 kB / 2.465 GB, free: 82.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/4.939, allocations: 0 / 2.465 GB, free: 82.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.822e-05/4.939, allocations: 310.8 kB / 2.465 GB, free: 81.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/4.939, allocations: 11.98 kB / 2.465 GB, free: 81.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/4.939, allocations: 4 kB / 2.465 GB, free: 81.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/4.939, allocations: 11.98 kB / 2.465 GB, free: 81.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/4.939, allocations: 0 / 2.465 GB, free: 81.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.361e-05/4.939, allocations: 53.62 kB / 2.465 GB, free: 81.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/4.939, allocations: 7.938 kB / 2.465 GB, free: 81.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/4.939, allocations: 0 / 2.465 GB, free: 81.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/4.939, allocations: 0 / 2.465 GB, free: 81.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/4.939, allocations: 11.98 kB / 2.465 GB, free: 81.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/4.939, allocations: 3.953 kB / 2.465 GB, free: 81.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/4.939, allocations: 15.89 kB / 2.465 GB, free: 81.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/4.939, allocations: 4 kB / 2.465 GB, free: 81.58 MB / 0.698 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 () * 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 5.235e-05/4.939, allocations: 101 kB / 2.466 GB, free: 81.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/4.939, allocations: 0 / 2.466 GB, free: 81.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/4.939, allocations: 15.11 kB / 2.466 GB, free: 81.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/4.939, allocations: 0 / 2.466 GB, free: 81.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/4.939, allocations: 336 / 2.466 GB, free: 81.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/4.939, allocations: 3.953 kB / 2.466 GB, free: 81.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/4.94, allocations: 153.6 kB / 2.466 GB, free: 81.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/4.94, allocations: 0 / 2.466 GB, free: 81.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/4.94, allocations: 8 kB / 2.466 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/4.94, allocations: 3.984 kB / 2.466 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/4.94, allocations: 4 kB / 2.466 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/4.94, allocations: 0 / 2.466 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/4.94, allocations: 0 / 2.466 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.133e-05/4.94, allocations: 139.4 kB / 2.466 GB, free: 81.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/4.94, allocations: 81.11 kB / 2.466 GB, free: 81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/4.94, allocations: 7.984 kB / 2.466 GB, free: 80.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/4.94, allocations: 8.031 kB / 2.466 GB, free: 80.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/4.94, allocations: 0 / 2.466 GB, free: 80.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/4.94, allocations: 0 / 2.466 GB, free: 80.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.542e-05/4.94, allocations: 87.28 kB / 2.466 GB, free: 80.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/4.94, allocations: 0 / 2.466 GB, free: 80.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003231/4.94, allocations: 47.98 kB / 2.466 GB, free: 80.85 MB / 0.698 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 () * 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.0008245/4.941, allocations: 1.13 MB / 2.467 GB, free: 79.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.425e-05/4.941, allocations: 15.98 kB / 2.467 GB, free: 79.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/4.941, allocations: 0 / 2.467 GB, free: 79.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/4.941, allocations: 8 kB / 2.467 GB, free: 79.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/4.941, allocations: 11.98 kB / 2.467 GB, free: 79.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/4.942, allocations: 103 kB / 2.467 GB, free: 79.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/4.942, allocations: 0.681 MB / 2.468 GB, free: 78.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.468e-05/4.942, allocations: 15.98 kB / 2.468 GB, free: 78.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/4.942, allocations: 11.44 kB / 2.468 GB, free: 78.79 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/4.942, allocations: 3.938 kB / 2.468 GB, free: 78.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/4.964, allocations: 12.14 MB / 2.48 GB, free: 66.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/4.964, allocations: 183.7 kB / 2.48 GB, free: 66.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/6.955, allocations: 5.875 kB / 2.48 GB, free: 66.58 MB / 0.698 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/linux/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)