Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001431/0.001431, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001585/0.001585, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.629/2.629, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.438/4.438, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000797/0.0007971, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443/1.443, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002383/1.446, allocations: 0.9646 MB / 0.9818 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008309/1.447, allocations: 261.8 kB / 0.9821 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/1.447, allocations: 7.938 kB / 0.9821 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/1.447, allocations: 0 / 0.9821 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/1.447, allocations: 3.984 kB / 0.9821 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/1.447, allocations: 47.86 kB / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.293e-05/1.448, allocations: 11.98 kB / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.286e-05/1.448, allocations: 3.984 kB / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/1.448, allocations: 7.938 kB / 0.9821 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/1.448, allocations: 8 kB / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/1.448, allocations: 0 / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/1.448, allocations: 59.89 kB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/1.448, allocations: 11.97 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/1.448, allocations: 25.7 kB / 0.9822 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/1.448, allocations: 30.23 kB / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.448, allocations: 0 / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.088e-06/1.448, allocations: 3.938 kB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.448, allocations: 0 / 0.9823 GB, free: 4.855 MB / 0.7325 GB 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.0006622/1.449, allocations: 335.3 kB / 0.9826 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.532e-05/1.449, allocations: 8.031 kB / 0.9826 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.207e-05/1.449, allocations: 38.56 kB / 0.9826 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/1.45, allocations: 19.97 kB / 0.9827 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/1.45, allocations: 159.1 kB / 0.9828 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/1.45, allocations: 4 kB / 0.9828 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/1.45, allocations: 3.953 kB / 0.9828 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/1.45, allocations: 41.69 kB / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.45, allocations: 0 / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/1.45, allocations: 0 / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/1.45, allocations: 0 / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/1.45, allocations: 23.92 kB / 0.9829 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/1.451, allocations: 157.7 kB / 0.983 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/1.454, allocations: 270.5 kB / 0.9833 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/1.454, allocations: 0 / 0.9833 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/1.454, allocations: 42.5 kB / 0.9833 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/1.454, allocations: 0 / 0.9833 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003918/1.454, allocations: 61.72 kB / 0.9834 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/1.454, allocations: 51.41 kB / 0.9834 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/1.455, allocations: 105.8 kB / 0.9835 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/1.455, allocations: 25.7 kB / 0.9836 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/1.455, allocations: 84.08 kB / 0.9836 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/1.455, allocations: 11.75 kB / 0.9837 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/1.455, allocations: 0 / 0.9837 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00024/1.455, allocations: 318.8 kB / 0.984 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.328e-05/1.455, allocations: 4 kB / 0.984 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/1.455, allocations: 11.98 kB / 0.984 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/1.455, allocations: 8 kB / 0.984 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/1.455, allocations: 4.125 kB / 0.984 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001547/1.455, allocations: 61.56 kB / 0.984 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/1.455, allocations: 4 kB / 0.984 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.456, allocations: 3.953 kB / 0.984 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.456, allocations: 4 kB / 0.9841 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/1.456, allocations: 4 kB / 0.9841 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.456, allocations: 0 / 0.9841 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/1.456, allocations: 0 / 0.9841 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/1.456, allocations: 4 kB / 0.9841 GB, free: 2.797 MB / 0.7325 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 (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 0.0001405/1.456, allocations: 113.8 kB / 0.9842 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/1.456, allocations: 0 / 0.9842 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/1.456, allocations: 11.48 kB / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.456, allocations: 7.953 kB / 0.9842 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.456, allocations: 0 / 0.9842 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.456, allocations: 0 / 0.9842 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/1.456, allocations: 161.6 kB / 0.9843 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.456, allocations: 4 kB / 0.9843 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.176e-05/1.456, allocations: 8 kB / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.456, allocations: 0 / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/1.456, allocations: 0 / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.456, allocations: 4 kB / 0.9844 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.456, allocations: 7.891 kB / 0.9844 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/1.457, allocations: 77.12 kB / 0.9844 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/1.457, allocations: 85.09 kB / 0.9845 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/1.457, allocations: 0 / 0.9845 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/1.457, allocations: 0 / 0.9845 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/1.457, allocations: 3.953 kB / 0.9845 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/1.457, allocations: 11.94 kB / 0.9845 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.251e-05/1.457, allocations: 75.28 kB / 0.9846 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/1.457, allocations: 0 / 0.9846 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003534/1.457, allocations: 12 kB / 0.9846 GB, free: 2.129 MB / 0.7325 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 (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.000674/1.458, allocations: 0.6144 MB / 0.9852 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001606/1.458, allocations: 24.08 kB / 0.9852 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.458, allocations: 4 kB / 0.9852 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.182e-05/1.458, allocations: 16.08 kB / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/1.459, allocations: 9.016 kB / 0.9853 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/1.46, allocations: 181.1 kB / 0.9854 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007311/1.46, allocations: 0.6809 MB / 0.9861 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.246e-05/1.46, allocations: 0 / 0.9861 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/1.46, allocations: 15.38 kB / 0.9861 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/1.461, allocations: 4 kB / 0.9861 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/1.48, allocations: 1.069 MB / 0.9872 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004195/1.481, allocations: 192.4 kB / 0.9874 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/4.34, allocations: 0 / 0.9874 GB, free: 15.33 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat does not exist to compare? outputFormat=mat