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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.000984, 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.001109/0.001109, 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 1.494/1.494, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003553, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8905/0.8909, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001312/0.8923, allocations: 1 MB / 0.9546 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.8931, allocations: 0.5003 MB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.8932, allocations: 0.7812 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.8932, allocations: 0 / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.8933, allocations: 9.078 kB / 0.9551 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.8936, allocations: 86.56 kB / 0.9551 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.811e-05/0.8937, allocations: 15.39 kB / 0.9552 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.946e-05/0.8937, allocations: 4.516 kB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.001e-05/0.8938, allocations: 8.719 kB / 0.9552 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.8939, allocations: 11.39 kB / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.8939, allocations: 3.938 kB / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.8942, allocations: 153.2 kB / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-06/0.8942, allocations: 0 / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.8943, allocations: 28.05 kB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.8944, allocations: 64.73 kB / 0.9554 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8944, allocations: 0 / 0.9554 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8944, allocations: 4 kB / 0.9554 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.8945, allocations: 0 / 0.9554 GB, free: 6.645 MB / 0.7169 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.0003898/0.8949, allocations: 356.7 kB / 0.9558 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.8949, allocations: 8.562 kB / 0.9558 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.895, allocations: 35.72 kB / 0.9558 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004427/0.8954, allocations: 23.56 kB / 0.9558 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.8955, allocations: 176.3 kB / 0.956 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.8955, allocations: 0 / 0.956 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.8956, allocations: 1.125 kB / 0.956 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.8957, allocations: 45.36 kB / 0.956 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.8957, allocations: 0 / 0.956 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8958, allocations: 5.234 kB / 0.9561 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.8958, allocations: 0 / 0.9561 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.8959, allocations: 27.44 kB / 0.9561 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.8961, allocations: 154.5 kB / 0.9562 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.8962, allocations: 44.2 kB / 0.9563 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.8963, allocations: 0 / 0.9563 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.8963, allocations: 32 kB / 0.9563 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8963, allocations: 4 kB / 0.9563 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002923/0.8966, allocations: 68.47 kB / 0.9564 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.8966, allocations: 60.52 kB / 0.9564 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.779e-05/0.8967, allocations: 101.5 kB / 0.9565 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.8967, allocations: 25.7 kB / 0.9565 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.053e-05/0.8967, allocations: 85.48 kB / 0.9566 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.8968, allocations: 3.906 kB / 0.9566 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.8968, allocations: 9 kB / 0.9566 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.8968, allocations: 312 kB / 0.9569 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.8969, allocations: 9.359 kB / 0.9569 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.241e-05/0.897, allocations: 15.08 kB / 0.957 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.109e-05/0.897, allocations: 13.94 kB / 0.957 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.897, allocations: 0 / 0.957 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001505/0.8972, allocations: 55.95 kB / 0.957 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.8972, allocations: 8.578 kB / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8972, allocations: 1.125 kB / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.8972, allocations: 0 / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.8974, allocations: 5.312 kB / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.8974, allocations: 7.938 kB / 0.957 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.099e-05/0.8974, allocations: 14.16 kB / 0.9571 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.8975, allocations: 1.094 kB / 0.9571 GB, free: 4.906 MB / 0.7169 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 7.938e-05/0.8975, allocations: 112 kB / 0.9572 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.8976, allocations: 9.062 kB / 0.9572 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.8976, allocations: 4.188 kB / 0.9572 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.8976, allocations: 0 / 0.9572 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.8976, allocations: 13.02 kB / 0.9572 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8976, allocations: 3.953 kB / 0.9572 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.081e-05/0.8977, allocations: 154 kB / 0.9573 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8977, allocations: 0 / 0.9573 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.8978, allocations: 8.516 kB / 0.9574 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.8978, allocations: 1.125 kB / 0.9574 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.8978, allocations: 1.062 kB / 0.9574 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8979, allocations: 0 / 0.9574 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8979, allocations: 0 / 0.9574 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.898, allocations: 88.31 kB / 0.9574 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.8981, allocations: 82.19 kB / 0.9575 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.8981, allocations: 1.125 kB / 0.9575 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.8982, allocations: 2.062 kB / 0.9575 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.8982, allocations: 4.984 kB / 0.9575 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.8982, allocations: 4.906 kB / 0.9575 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.544e-05/0.8983, allocations: 85.25 kB / 0.9576 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8983, allocations: 0 / 0.9576 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002149/0.8985, allocations: 11.84 kB / 0.9576 GB, free: 4.289 MB / 0.7169 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 (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.0004626/0.899, allocations: 0.6401 MB / 0.9582 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.8991, allocations: 23.67 kB / 0.9583 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.8992, allocations: 0 / 0.9583 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/0.8992, allocations: 24.16 kB / 0.9583 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.8994, allocations: 8.875 kB / 0.9583 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.8999, allocations: 152.4 kB / 0.9584 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.9, allocations: 0.6773 MB / 0.9591 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.9002, allocations: 10.84 kB / 0.9591 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.9002, allocations: 18.39 kB / 0.9591 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.9002, allocations: 0 / 0.9591 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/0.9122, allocations: 1.342 MB / 0.9604 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.9124, allocations: 206 kB / 0.9606 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.563, allocations: 4 kB / 0.9606 GB, free: 1.906 MB / 0.7169 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