Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.00144/0.00144, allocations: 99.86 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.002243/0.002243, 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.643/2.643, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.913/4.913, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006619/0.0006627, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742/1.742, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003714/1.746, allocations: 1.118 MB / 0.982 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008997/1.747, allocations: 182.1 kB / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/1.747, allocations: 8 kB / 0.9821 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/1.747, allocations: 0 / 0.9821 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.369e-05/1.747, allocations: 3.984 kB / 0.9821 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/1.748, allocations: 23.91 kB / 0.9822 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/1.748, allocations: 23.91 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/1.748, allocations: 0 / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.566e-05/1.748, allocations: 4 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/1.748, allocations: 15.92 kB / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/1.748, allocations: 0 / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/1.748, allocations: 31.97 kB / 0.9822 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/1.748, allocations: 4 kB / 0.9822 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/1.748, allocations: 29.69 kB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/1.749, allocations: 22.23 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.749, allocations: 0 / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.477e-06/1.749, allocations: 0 / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.749, allocations: 0 / 0.9823 GB, free: 4.809 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000925/1.75, allocations: 344.8 kB / 0.9826 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.548e-05/1.75, allocations: 12.03 kB / 0.9826 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/1.75, allocations: 34.55 kB / 0.9827 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/1.75, allocations: 8 kB / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/1.75, allocations: 163.1 kB / 0.9828 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/1.75, allocations: 3.984 kB / 0.9828 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/1.751, allocations: 7.891 kB / 0.9828 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/1.751, allocations: 53.67 kB / 0.9829 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/1.751, allocations: 4 kB / 0.9829 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/1.751, allocations: 3.938 kB / 0.9829 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/1.751, allocations: 4 kB / 0.9829 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/1.751, allocations: 43.95 kB / 0.9829 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/1.752, allocations: 252.8 kB / 0.9832 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/1.752, allocations: 50.47 kB / 0.9832 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/1.752, allocations: 0 / 0.9832 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/1.752, allocations: 34.62 kB / 0.9833 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/1.752, allocations: 4 kB / 0.9833 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.00061/1.753, allocations: 93.64 kB / 0.9834 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.188e-05/1.753, allocations: 59.53 kB / 0.9834 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/1.753, allocations: 93.86 kB / 0.9835 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/1.753, allocations: 33.64 kB / 0.9835 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/1.753, allocations: 88.12 kB / 0.9836 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/1.753, allocations: 7.891 kB / 0.9836 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/1.753, allocations: 0 / 0.9836 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002105/1.754, allocations: 310.8 kB / 0.9839 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/1.754, allocations: 27.98 kB / 0.9839 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/1.754, allocations: 19.97 kB / 0.984 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/1.754, allocations: 23.98 kB / 0.984 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.754, allocations: 0 / 0.984 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003435/1.754, allocations: 81.67 kB / 0.9841 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/1.755, allocations: 5.406 kB / 0.9841 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.755, allocations: 0 / 0.9841 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/1.755, allocations: 4 kB / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/1.755, allocations: 12.03 kB / 0.9841 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.755, allocations: 0 / 0.9841 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/1.755, allocations: 11.92 kB / 0.9841 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/1.755, allocations: 4 kB / 0.9841 GB, free: 2.723 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 (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 prepare postOptimizeDAE: time 0.0001471/1.755, allocations: 113.8 kB / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/1.755, allocations: 3.953 kB / 0.9842 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/1.756, allocations: 92.77 kB / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.756, allocations: 0 / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.756, allocations: 0 / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.756, allocations: 0 / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/1.756, allocations: 161.6 kB / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.756, allocations: 0 / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/1.756, allocations: 23.92 kB / 0.9845 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/1.756, allocations: 3.953 kB / 0.9845 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/1.756, allocations: 0 / 0.9845 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.756, allocations: 0 / 0.9845 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.756, allocations: 0 / 0.9845 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/1.757, allocations: 183.7 kB / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/1.757, allocations: 77.11 kB / 0.9847 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/1.757, allocations: 7.953 kB / 0.9847 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/1.757, allocations: 11.98 kB / 0.9848 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/1.757, allocations: 4 kB / 0.9848 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/1.757, allocations: 7.938 kB / 0.9848 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.321e-05/1.757, allocations: 87.27 kB / 0.9848 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/1.757, allocations: 0 / 0.9848 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004498/1.758, allocations: 4 kB / 0.9848 GB, free: 1.859 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 (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 Backend phase and start with SimCode phase: time 0.001412/1.759, allocations: 0.7085 MB / 0.9855 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003955/1.76, allocations: 47.95 kB / 0.9856 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.76, allocations: 4.062 kB / 0.9856 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/1.76, allocations: 23.98 kB / 0.9856 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/1.76, allocations: 7.953 kB / 0.9856 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009463/1.761, allocations: 163.5 kB / 0.9858 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000738/1.762, allocations: 0.6809 MB / 0.9864 GB, free: 136 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.538e-05/1.762, allocations: 4 kB / 0.9864 GB, free: 132 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/1.762, allocations: 15.42 kB / 0.9865 GB, free: 116 kB / 0.7325 GB Notification: Performance of SimCode: time 1.684e-06/1.762, allocations: 0 / 0.9865 GB, free: 116 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/1.797, allocations: 1.091 MB / 0.9875 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004241/1.797, allocations: 205.1 kB / 0.9877 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.171/4.968, allocations: 2.031 kB / 0.9877 GB, free: 14.96 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat does not exist to compare? outputFormat=mat