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.001946/0.001946, allocations: 105 kB / 16.4 MB, free: 6 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.002389/0.002389, allocations: 197.8 kB / 17.34 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.338/2.338, 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 1.031/1.031, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 66.09 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.271, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.003832/0.2749, allocations: 1.274 MB / 0.6328 GB, free: 3.625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.7734/1.048, allocations: 147.6 MB / 0.777 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/1.049, allocations: 0 / 0.777 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/1.049, allocations: 0 / 0.777 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.351e-05/1.049, allocations: 7.219 kB / 0.777 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008271/1.05, allocations: 121.4 kB / 0.7771 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/1.05, allocations: 20.47 kB / 0.7771 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 7.119e-05/1.05, allocations: 1.562 kB / 0.7771 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.201e-05/1.05, allocations: 9.219 kB / 0.7771 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/1.05, allocations: 11.52 kB / 0.7772 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/1.05, allocations: 0.5 kB / 0.7772 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007597/1.051, allocations: 175.9 kB / 0.7773 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/1.051, allocations: 2.297 kB / 0.7773 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/1.051, allocations: 6.359 kB / 0.7773 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004341/1.051, allocations: 116.7 kB / 0.7774 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.051, allocations: 0.5312 kB / 0.7774 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.717e-06/1.051, allocations: 0 / 0.7774 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.051, allocations: 0.5 kB / 0.7774 GB, free: 14.12 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.0004677/1.052, allocations: 355.6 kB / 0.7778 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/1.052, allocations: 9.562 kB / 0.7778 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/1.052, allocations: 35.22 kB / 0.7778 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/1.053, allocations: 35.38 kB / 0.7779 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/1.053, allocations: 168.8 kB / 0.778 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/1.053, allocations: 5.672 kB / 0.778 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/1.053, allocations: 7.953 kB / 0.778 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/1.053, allocations: 46.23 kB / 0.7781 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.053, allocations: 0 / 0.7781 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/1.053, allocations: 0.5625 kB / 0.7781 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.053, allocations: 0.5 kB / 0.7781 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/1.053, allocations: 17.19 kB / 0.7781 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/1.054, allocations: 258.9 kB / 0.7783 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.608e-05/1.054, allocations: 26.09 kB / 0.7784 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/1.054, allocations: 8.641 kB / 0.7784 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/1.054, allocations: 0.5 kB / 0.7784 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/1.054, allocations: 32.83 kB / 0.7784 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/1.054, allocations: 7.938 kB / 0.7784 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002667/1.054, allocations: 48.97 kB / 0.7785 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/1.054, allocations: 53.19 kB / 0.7785 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/1.055, allocations: 110.8 kB / 0.7786 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/1.055, allocations: 25.7 kB / 0.7786 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/1.055, allocations: 86.88 kB / 0.7787 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/1.055, allocations: 8.359 kB / 0.7787 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/1.055, allocations: 26.36 kB / 0.7788 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.055, allocations: 316.3 kB / 0.7791 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/1.055, allocations: 10.33 kB / 0.7791 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/1.055, allocations: 13.02 kB / 0.7791 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/1.055, allocations: 23 kB / 0.7791 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.055, allocations: 0 / 0.7791 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003167/1.056, allocations: 62.95 kB / 0.7792 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.056, allocations: 5.344 kB / 0.7792 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.056, allocations: 0 / 0.7792 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.056, allocations: 1.594 kB / 0.7792 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.056, allocations: 8.109 kB / 0.7792 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/1.056, allocations: 3.891 kB / 0.7792 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/1.056, allocations: 10.11 kB / 0.7792 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/1.056, allocations: 6.344 kB / 0.7792 GB, free: 12.41 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 0.0001394/1.056, allocations: 111.9 kB / 0.7793 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/1.057, allocations: 7.922 kB / 0.7793 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/1.057, allocations: 3.125 kB / 0.7793 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.057, allocations: 1.469 kB / 0.7793 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.057, allocations: 3.984 kB / 0.7793 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1.057, allocations: 3.938 kB / 0.7793 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/1.057, allocations: 154.3 kB / 0.7795 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.057, allocations: 0 / 0.7795 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/1.057, allocations: 6.75 kB / 0.7795 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.057, allocations: 2.578 kB / 0.7795 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/1.057, allocations: 2.531 kB / 0.7795 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/1.057, allocations: 0 / 0.7795 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.057, allocations: 5.188 kB / 0.7795 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/1.057, allocations: 134.2 kB / 0.7796 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.881e-05/1.057, allocations: 81.45 kB / 0.7797 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/1.057, allocations: 5.891 kB / 0.7797 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/1.058, allocations: 6.719 kB / 0.7797 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/1.058, allocations: 0 / 0.7797 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/1.058, allocations: 5.312 kB / 0.7797 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001347/1.058, allocations: 91.62 kB / 0.7798 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.058, allocations: 1.203 kB / 0.7798 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004564/1.058, allocations: 15.75 kB / 0.7798 GB, free: 11.77 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.0008957/1.059, allocations: 0.6835 MB / 0.7805 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002328/1.059, allocations: 16.22 kB / 0.7805 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.059, allocations: 1.406 kB / 0.7805 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-05/1.059, allocations: 9.578 kB / 0.7805 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/1.06, allocations: 13.56 kB / 0.7805 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/1.061, allocations: 162 kB / 0.7807 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/1.061, allocations: 0.6744 MB / 0.7813 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001089/1.061, allocations: 15.64 kB / 0.7814 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/1.062, allocations: 12.03 kB / 0.7814 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/1.062, allocations: 0 / 0.7814 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/1.091, allocations: 1.605 MB / 0.7829 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.31, allocations: 5.406 kB / 0.7829 GB, free: 9.852 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)