Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.938/1.938, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.0008744/0.0008745, allocations: 187.7 kB / 492.3 MB, free: 0.6133 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.341/1.341, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0007984/0.0007984, allocations: 87.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.567e-05, allocations: 6.734 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1988, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7339/0.9327, allocations: 151.5 MB / 1.36 GB, free: 18.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.9329, allocations: 76.78 kB / 1.36 GB, free: 18.82 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009043/0.942, allocations: 3.495 MB / 1.364 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/0.942, allocations: 0 / 1.364 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.942, allocations: 7.844 kB / 1.364 GB, free: 34.3 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000366/0.9424, allocations: 397.9 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.9424, allocations: 7.656 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.9425, allocations: 38.95 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.9427, allocations: 40.8 kB / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.9428, allocations: 190.5 kB / 1.365 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.9429, allocations: 34.59 kB / 1.365 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.9429, allocations: 7.719 kB / 1.365 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.943, allocations: 83.14 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.9431, allocations: 0 / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.9431, allocations: 3.844 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.9431, allocations: 0 / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.9432, allocations: 56.89 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.9437, allocations: 389.9 kB / 1.365 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.9441, allocations: 127.8 kB / 1.365 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.9441, allocations: 25.89 kB / 1.365 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.9442, allocations: 3.844 kB / 1.365 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.9442, allocations: 30.56 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.9442, allocations: 0 / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001532/0.9443, allocations: 80.78 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/0.9444, allocations: 59.41 kB / 1.365 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.9445, allocations: 130.1 kB / 1.366 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.9445, allocations: 32.45 kB / 1.366 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.9445, allocations: 96.7 kB / 1.366 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.9445, allocations: 26.47 kB / 1.366 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.9445, allocations: 3.938 kB / 1.366 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.451e-05/0.9446, allocations: 321.2 kB / 1.366 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.25e-05/0.9446, allocations: 17.69 kB / 1.366 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.9447, allocations: 34.94 kB / 1.366 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.9447, allocations: 19.02 kB / 1.366 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.9447, allocations: 0 / 1.366 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001108/0.9449, allocations: 98.3 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.9449, allocations: 3.938 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.9449, allocations: 3.812 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.9449, allocations: 0 / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.945, allocations: 22.11 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.945, allocations: 4.062 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.9451, allocations: 10.81 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.9451, allocations: 7.625 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.451e-05/0.9452, allocations: 108.9 kB / 1.366 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.9452, allocations: 11.77 kB / 1.366 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.9453, allocations: 14.75 kB / 1.366 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.9453, allocations: 4 kB / 1.366 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.9453, allocations: 4 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.9453, allocations: 0 / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.9454, allocations: 206.7 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.9454, allocations: 0 / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.293e-05/0.9455, allocations: 18.19 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.9455, allocations: 2.953 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.9455, allocations: 3.953 kB / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.9456, allocations: 3.812 kB / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.9456, allocations: 0 / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.9457, allocations: 176.8 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.9457, allocations: 90.91 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.9457, allocations: 3.938 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.9459, allocations: 18.09 kB / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.9459, allocations: 2.953 kB / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.9459, allocations: 17.84 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.946, allocations: 104.2 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/0.946, allocations: 3.906 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001974/0.9462, allocations: 15.22 kB / 1.367 GB, free: 31.86 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 (7): * Single equations (assignments): 7 * 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.0003003/0.9465, allocations: 0.7052 MB / 1.368 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.9466, allocations: 54.28 kB / 1.368 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9466, allocations: 0 / 1.368 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.664e-05/0.9467, allocations: 22.97 kB / 1.368 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.9469, allocations: 29.44 kB / 1.368 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.9473, allocations: 168.9 kB / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.9475, allocations: 0.7029 MB / 1.369 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.731e-05/0.9476, allocations: 14.94 kB / 1.369 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.9476, allocations: 22.38 kB / 1.369 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/0.9476, allocations: 0 / 1.369 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.9593, allocations: 2.35 MB / 1.371 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001127/0.9595, allocations: 184.1 kB / 1.371 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/2.44, allocations: 0 / 1.371 GB, free: 29.9 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat does not exist to compare? outputFormat=mat