Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.963/1.963, allocations: 390.5 MB / 398 MB, free: 10.98 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.001002/0.001002, allocations: 180.2 kB / 491.2 MB, free: 1.633 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.245/1.245, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001025/0.001025, allocations: 102.6 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.006e-05/2.01e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2032, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6765/0.8798, allocations: 151.6 MB / 1.36 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.88, allocations: 78.16 kB / 1.361 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008985/0.889, allocations: 3.481 MB / 1.364 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8891, allocations: 0 / 1.364 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.8891, allocations: 3.844 kB / 1.364 GB, free: 32.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004505/0.8895, allocations: 400.1 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.8896, allocations: 7.5 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.8898, allocations: 37.31 kB / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.89, allocations: 189.8 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.89, allocations: 33.14 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.8901, allocations: 5.203 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/0.8902, allocations: 51.67 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.8903, allocations: 73.42 kB / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.8903, allocations: 3.984 kB / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.8903, allocations: 4 kB / 1.365 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.8903, allocations: 3.969 kB / 1.365 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.8908, allocations: 345.5 kB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.8912, allocations: 117.3 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.8913, allocations: 30.78 kB / 1.365 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.8913, allocations: 0 / 1.365 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.8913, allocations: 33.75 kB / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.8913, allocations: 0.9375 kB / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001472/0.8915, allocations: 82.38 kB / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.452e-05/0.8915, allocations: 54.84 kB / 1.365 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.436e-05/0.8915, allocations: 107.5 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.8916, allocations: 29.48 kB / 1.365 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.8916, allocations: 104.5 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.8916, allocations: 17.2 kB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.8916, allocations: 0 / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.8917, allocations: 320.7 kB / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.8917, allocations: 18.5 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.8918, allocations: 36.92 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.8918, allocations: 19.86 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.8918, allocations: 0 / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.707e-05/0.8919, allocations: 79.41 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.8919, allocations: 9.547 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.892, allocations: 0 / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.892, allocations: 3.844 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.8921, allocations: 27.95 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.8921, allocations: 0 / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.8922, allocations: 13.28 kB / 1.366 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.8922, allocations: 0 / 1.366 GB, free: 31.04 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.196e-05/0.8923, allocations: 106 kB / 1.366 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.687e-05/0.8924, allocations: 75.73 kB / 1.366 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.8924, allocations: 11.7 kB / 1.366 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.8924, allocations: 12.92 kB / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8924, allocations: 3.656 kB / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8924, allocations: 0 / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.8925, allocations: 1.641 kB / 1.366 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.8926, allocations: 173.2 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8926, allocations: 0 / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.655e-05/0.8927, allocations: 23.62 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8927, allocations: 3.938 kB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.8927, allocations: 3.953 kB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8927, allocations: 4 kB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8927, allocations: 1.594 kB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.8928, allocations: 176 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.8929, allocations: 84.86 kB / 1.367 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.8929, allocations: 0 / 1.367 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.893, allocations: 19.89 kB / 1.367 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.8931, allocations: 7.094 kB / 1.367 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.8931, allocations: 3.938 kB / 1.367 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.8931, allocations: 95.23 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8931, allocations: 0 / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002075/0.8934, allocations: 15.31 kB / 1.367 GB, free: 30.39 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.0002935/0.8937, allocations: 0.7043 MB / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.41e-05/0.8938, allocations: 44.77 kB / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8938, allocations: 0 / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.8938, allocations: 22 kB / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.894, allocations: 25.81 kB / 1.368 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.8944, allocations: 167.6 kB / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.8946, allocations: 0.7009 MB / 1.368 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.515e-05/0.8947, allocations: 13.64 kB / 1.368 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.8948, allocations: 25.2 kB / 1.369 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/0.8948, allocations: 0 / 1.369 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.9129, allocations: 1.809 MB / 1.37 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.913, allocations: 160.3 kB / 1.37 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.392/2.305, allocations: 0 / 1.37 GB, free: 28.57 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat does not exist to compare? outputFormat=mat