Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.904/1.904, allocations: 387.1 MB / 399.7 MB, free: 9.531 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009318/0.0009319, allocations: 172.9 kB / 492.3 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007815/0.0007815, allocations: 83.97 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.414e-05/2.423e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1854, allocations: 142.4 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6452/0.8307, allocations: 150.2 MB / 1.359 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.8309, allocations: 81.86 kB / 1.359 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004993/0.8359, allocations: 1.81 MB / 1.361 GB, free: 34.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8359, allocations: 0 / 1.361 GB, free: 34.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8359, allocations: 0 / 1.361 GB, free: 34.76 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001831/0.8361, allocations: 344.2 kB / 1.361 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.8361, allocations: 7.875 kB / 1.361 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.105e-05/0.8362, allocations: 33.88 kB / 1.361 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.8365, allocations: 23.31 kB / 1.361 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.615e-05/0.8365, allocations: 166.6 kB / 1.362 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.8366, allocations: 7.844 kB / 1.362 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.8366, allocations: 0 / 1.362 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.002e-05/0.8367, allocations: 42.86 kB / 1.362 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.8367, allocations: 3.812 kB / 1.362 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.8367, allocations: 0 / 1.362 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.8367, allocations: 2.859 kB / 1.362 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.8367, allocations: 18.81 kB / 1.362 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.597e-05/0.8368, allocations: 159.2 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.217e-05/0.8369, allocations: 39.33 kB / 1.362 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/0.8369, allocations: 11.73 kB / 1.362 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.8369, allocations: 0 / 1.362 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.124e-05/0.837, allocations: 33.38 kB / 1.362 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.837, allocations: 0 / 1.362 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001157/0.8371, allocations: 55.62 kB / 1.362 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.8371, allocations: 62.33 kB / 1.362 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.399e-05/0.8372, allocations: 92.78 kB / 1.362 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.8372, allocations: 25.7 kB / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.171e-05/0.8372, allocations: 80.14 kB / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.8372, allocations: 7.844 kB / 1.362 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.8372, allocations: 0 / 1.362 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.8373, allocations: 320.5 kB / 1.362 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.8373, allocations: 3.969 kB / 1.362 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.8374, allocations: 14.42 kB / 1.362 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.8374, allocations: 9.516 kB / 1.362 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.8374, allocations: 0 / 1.362 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.105e-05/0.8375, allocations: 46.11 kB / 1.363 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.8375, allocations: 7.688 kB / 1.363 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.8375, allocations: 2.062 kB / 1.363 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.8375, allocations: 3.938 kB / 1.363 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.698e-05/0.8376, allocations: 8.656 kB / 1.363 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.8376, allocations: 1.125 kB / 1.363 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.8377, allocations: 7.875 kB / 1.363 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.8377, allocations: 1.922 kB / 1.363 GB, free: 33.17 MB / 0.8386 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 () * 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 5.024e-05/0.8377, allocations: 105.8 kB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.8378, allocations: 3.812 kB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.8378, allocations: 8.438 kB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.8378, allocations: 1.422 kB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.8378, allocations: 0 / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.8378, allocations: 4 kB / 1.363 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.556e-05/0.8379, allocations: 157.6 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.8379, allocations: 0 / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.838, allocations: 11 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.838, allocations: 1.875 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.838, allocations: 0 / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.838, allocations: 0 / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.838, allocations: 3.938 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.391e-05/0.8381, allocations: 86.88 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.8381, allocations: 86.8 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.8381, allocations: 3.938 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.8382, allocations: 1.359 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.8382, allocations: 3.875 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.8382, allocations: 1.359 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.8383, allocations: 84.62 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8383, allocations: 0 / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000165/0.8384, allocations: 15.53 kB / 1.363 GB, free: 32.61 MB / 0.8386 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 () * 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 (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.0002978/0.8387, allocations: 0.629 MB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.943e-05/0.8388, allocations: 21.75 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8388, allocations: 0 / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/0.8389, allocations: 17.14 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.839, allocations: 8.797 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.8392, allocations: 85.38 kB / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.8394, allocations: 0.6766 MB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.654e-05/0.8395, allocations: 7.906 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.8395, allocations: 20.45 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.8395, allocations: 3.938 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.8499, allocations: 1.346 MB / 1.366 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001193/0.85, allocations: 177.4 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.384/2.234, allocations: 0 / 1.366 GB, free: 30.81 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat