Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IBPSA_latest_IBPSA_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.001084/0.001084, allocations: 106.2 kB / 16.4 MB, free: 6.484 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.001322/0.001322, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7301/0.7301, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 66.92 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1501, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002855/0.153, allocations: 1.27 MB / 0.6328 GB, free: 3.637 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5901/0.7431, allocations: 147.6 MB / 0.777 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.7432, allocations: 0 / 0.777 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.7433, allocations: 3.938 kB / 0.777 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.634e-05/0.7433, allocations: 13.91 kB / 0.777 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.7438, allocations: 114.2 kB / 0.7771 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.8e-05/0.7438, allocations: 18 kB / 0.7771 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.7439, allocations: 4.062 kB / 0.7771 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.588e-05/0.7439, allocations: 8.203 kB / 0.7772 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.744, allocations: 11.58 kB / 0.7772 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.744, allocations: 0.625 kB / 0.7772 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.7445, allocations: 172.2 kB / 0.7773 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.7445, allocations: 5.703 kB / 0.7773 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.7445, allocations: 9.109 kB / 0.7773 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.7448, allocations: 117.6 kB / 0.7775 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7448, allocations: 1.766 kB / 0.7775 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7448, allocations: 0.5 kB / 0.7775 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.7448, allocations: 0 / 0.7775 GB, free: 14.55 MB / 0.5919 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.0003609/0.7452, allocations: 351 kB / 0.7778 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.7452, allocations: 9.625 kB / 0.7778 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.7453, allocations: 31.94 kB / 0.7778 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005768/0.7458, allocations: 42.64 kB / 0.7779 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.746, allocations: 161.4 kB / 0.778 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.746, allocations: 5.031 kB / 0.778 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.746, allocations: 1.031 kB / 0.778 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.7462, allocations: 52.16 kB / 0.7781 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7462, allocations: 2.125 kB / 0.7781 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.7462, allocations: 4 kB / 0.7781 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.7462, allocations: 1.656 kB / 0.7781 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.7464, allocations: 21.83 kB / 0.7781 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.7467, allocations: 251 kB / 0.7784 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.7468, allocations: 23.55 kB / 0.7784 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.7468, allocations: 14.31 kB / 0.7784 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.7468, allocations: 0.5625 kB / 0.7784 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.7469, allocations: 35.5 kB / 0.7784 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.7469, allocations: 0.5312 kB / 0.7784 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001507/0.747, allocations: 44.88 kB / 0.7785 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.7471, allocations: 52.41 kB / 0.7785 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.7472, allocations: 116.2 kB / 0.7786 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.7473, allocations: 26.27 kB / 0.7787 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.7473, allocations: 81.27 kB / 0.7787 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.7473, allocations: 11.22 kB / 0.7787 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.7474, allocations: 22.02 kB / 0.7788 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7475, allocations: 317.4 kB / 0.7791 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.7476, allocations: 8.531 kB / 0.7791 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.47e-05/0.7476, allocations: 21.62 kB / 0.7791 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.817e-05/0.7477, allocations: 20.2 kB / 0.7791 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7477, allocations: 0.5625 kB / 0.7791 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002019/0.7479, allocations: 59.09 kB / 0.7792 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.748, allocations: 6.484 kB / 0.7792 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.748, allocations: 2.312 kB / 0.7792 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.748, allocations: 5.406 kB / 0.7792 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.7481, allocations: 6.828 kB / 0.7792 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7481, allocations: 3.672 kB / 0.7792 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.7483, allocations: 11.28 kB / 0.7792 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.7483, allocations: 1.406 kB / 0.7792 GB, free: 12.85 MB / 0.5919 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.711e-05/0.7484, allocations: 114.9 kB / 0.7793 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.7484, allocations: 7.875 kB / 0.7793 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.7484, allocations: 7.125 kB / 0.7793 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7484, allocations: 1.562 kB / 0.7793 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.7484, allocations: 1.094 kB / 0.7793 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.7485, allocations: 3.938 kB / 0.7793 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.7486, allocations: 155.3 kB / 0.7795 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7486, allocations: 1.281 kB / 0.7795 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.7487, allocations: 3.281 kB / 0.7795 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.7487, allocations: 3.938 kB / 0.7795 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.7487, allocations: 2.578 kB / 0.7795 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7487, allocations: 0 / 0.7795 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7487, allocations: 5.719 kB / 0.7795 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.7488, allocations: 134.7 kB / 0.7796 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.7488, allocations: 81.39 kB / 0.7797 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.7489, allocations: 3.312 kB / 0.7797 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.749, allocations: 3.672 kB / 0.7797 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.749, allocations: 5.359 kB / 0.7797 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.749, allocations: 4.938 kB / 0.7797 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.517e-05/0.7491, allocations: 98.72 kB / 0.7798 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7491, allocations: 1.875 kB / 0.7798 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002578/0.7494, allocations: 11.25 kB / 0.7798 GB, free: 12.21 MB / 0.5919 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.0003958/0.7498, allocations: 0.6793 MB / 0.7805 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.7499, allocations: 22.16 kB / 0.7805 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7499, allocations: 1.5 kB / 0.7805 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/0.75, allocations: 5.938 kB / 0.7805 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.7503, allocations: 11.98 kB / 0.7805 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.7507, allocations: 163.5 kB / 0.7807 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.751, allocations: 0.6737 MB / 0.7813 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.664e-05/0.751, allocations: 11.23 kB / 0.7814 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.7511, allocations: 14.78 kB / 0.7814 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/0.7511, allocations: 0 / 0.7814 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.7681, allocations: 1.607 MB / 0.7829 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/8.353, allocations: 5.328 kB / 0.7829 GB, free: 10.29 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)