Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7228/0.7228, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 188.8 kB / 169.7 MB, free: 1.75 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.1 MB / 404.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008137/0.0008138, allocations: 89.83 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.519e-05, allocations: 0 / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.165, allocations: 76.77 MB / 0.6283 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5546/0.7197, allocations: 102.8 MB / 0.7287 GB, free: 10.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.72, allocations: 78.38 kB / 0.7288 GB, free: 10.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004163/0.7242, allocations: 1.542 MB / 0.7303 GB, free: 9.203 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7242, allocations: 0 / 0.7303 GB, free: 9.203 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.7242, allocations: 4 kB / 0.7303 GB, free: 9.199 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002962/0.7245, allocations: 326.5 kB / 0.7306 GB, free: 8.836 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.7246, allocations: 16.02 kB / 0.7306 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.7247, allocations: 38.5 kB / 0.7306 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.7249, allocations: 15.94 kB / 0.7306 GB, free: 8.762 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.725, allocations: 167.1 kB / 0.7308 GB, free: 8.559 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.725, allocations: 0 / 0.7308 GB, free: 8.559 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.725, allocations: 3.984 kB / 0.7308 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.7252, allocations: 41.2 kB / 0.7308 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7252, allocations: 0 / 0.7308 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7252, allocations: 2.938 kB / 0.7309 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.7252, allocations: 4 kB / 0.7309 GB, free: 8.508 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.435e-05/0.7253, allocations: 23.38 kB / 0.7309 GB, free: 8.488 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.7254, allocations: 157.5 kB / 0.731 GB, free: 8.289 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.7272, allocations: 269.2 kB / 0.7313 GB, free: 8.027 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.7273, allocations: 16.8 kB / 0.7313 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.7273, allocations: 4 kB / 0.7313 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.7274, allocations: 42.33 kB / 0.7313 GB, free: 7.961 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.7274, allocations: 0 / 0.7313 GB, free: 7.961 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001506/0.7275, allocations: 46.3 kB / 0.7314 GB, free: 7.914 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.7276, allocations: 58.28 kB / 0.7314 GB, free: 7.848 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.7276, allocations: 88.98 kB / 0.7315 GB, free: 7.754 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.7277, allocations: 25.7 kB / 0.7316 GB, free: 7.723 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.7277, allocations: 80.14 kB / 0.7316 GB, free: 7.641 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.7277, allocations: 19.38 kB / 0.7316 GB, free: 7.625 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.7277, allocations: 0 / 0.7316 GB, free: 7.625 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7279, allocations: 314.8 kB / 0.7319 GB, free: 7.309 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.7279, allocations: 7.875 kB / 0.732 GB, free: 7.305 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.7279, allocations: 15.19 kB / 0.732 GB, free: 7.293 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.583e-05/0.7279, allocations: 11.92 kB / 0.732 GB, free: 7.281 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.728, allocations: 0 / 0.732 GB, free: 7.281 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.243e-05/0.728, allocations: 49.39 kB / 0.732 GB, free: 7.234 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.7281, allocations: 4 kB / 0.732 GB, free: 7.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.7281, allocations: 3.984 kB / 0.732 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7281, allocations: 4 kB / 0.732 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.7281, allocations: 4 kB / 0.732 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7282, allocations: 0 / 0.732 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.7282, allocations: 0 / 0.732 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.7282, allocations: 0 / 0.732 GB, free: 7.219 MB / 490.7 MB 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 (4): * Single equations (assignments): 4 * 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 7.227e-05/0.7283, allocations: 120.4 kB / 0.7322 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.7283, allocations: 4.094 kB / 0.7322 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.7283, allocations: 6.688 kB / 0.7322 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7283, allocations: 7.984 kB / 0.7322 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7284, allocations: 0 / 0.7322 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7284, allocations: 0 / 0.7322 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.7285, allocations: 161.4 kB / 0.7323 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7285, allocations: 3.938 kB / 0.7323 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.7285, allocations: 7.984 kB / 0.7323 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.7286, allocations: 8 kB / 0.7323 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.7286, allocations: 3.438 kB / 0.7324 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7286, allocations: 0 / 0.7324 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7286, allocations: 0 / 0.7324 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.816e-05/0.7287, allocations: 76.27 kB / 0.7324 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.621e-05/0.7288, allocations: 81.11 kB / 0.7325 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.7288, allocations: 0 / 0.7325 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.7288, allocations: 3.984 kB / 0.7325 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.7289, allocations: 7.438 kB / 0.7325 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.7289, allocations: 4 kB / 0.7325 GB, free: 6.664 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.736e-05/0.7289, allocations: 79.22 kB / 0.7326 GB, free: 6.586 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7289, allocations: 0 / 0.7326 GB, free: 6.586 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001661/0.7291, allocations: 8 kB / 0.7326 GB, free: 6.578 MB / 490.7 MB 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 (4): * Single equations (assignments): 4 * 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.0003803/0.7295, allocations: 0.6182 MB / 0.7332 GB, free: 5.941 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.99e-05/0.7296, allocations: 27.17 kB / 0.7332 GB, free: 5.922 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7296, allocations: 0 / 0.7332 GB, free: 5.922 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.7296, allocations: 15.31 kB / 0.7332 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.7298, allocations: 8 kB / 0.7333 GB, free: 5.902 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.7301, allocations: 113.2 kB / 0.7334 GB, free: 5.766 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.7304, allocations: 0.677 MB / 0.734 GB, free: 5.062 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.697e-05/0.7304, allocations: 0 / 0.734 GB, free: 5.062 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.7305, allocations: 11.44 kB / 0.734 GB, free: 5.051 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.7305, allocations: 4 kB / 0.734 GB, free: 5.047 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.7433, allocations: 1.102 MB / 0.7351 GB, free: 4.07 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.7436, allocations: 171 kB / 0.7353 GB, free: 3.844 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.232, allocations: 0 / 0.7353 GB, free: 3.844 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)