Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_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.001244/0.001244, 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.00143/0.00143, allocations: 177.3 kB / 15.94 MB, free: 228 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.454/1.454, allocations: 223.2 MB / 239.9 MB, free: 5.25 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.467/2.467, allocations: 390.3 MB / 0.6653 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9075/0.9079, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001394/0.9093, allocations: 1.122 MB / 0.9547 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003456/0.9097, allocations: 180.4 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.9097, allocations: 3.938 kB / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.9098, allocations: 1.062 kB / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.027e-05/0.9098, allocations: 13.47 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.91, allocations: 16.22 kB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.168e-05/0.91, allocations: 13.33 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.9101, allocations: 7.047 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.9102, allocations: 7.312 kB / 0.9549 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.541e-05/0.9102, allocations: 11.08 kB / 0.9549 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.9102, allocations: 4.719 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-05/0.9103, allocations: 34.09 kB / 0.955 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.9103, allocations: 0 / 0.955 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.9103, allocations: 31.3 kB / 0.955 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.45e-05/0.9104, allocations: 23.88 kB / 0.955 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.9104, allocations: 0 / 0.955 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9104, allocations: 1.188 kB / 0.955 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.9105, allocations: 0 / 0.955 GB, free: 6.973 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000324/0.9108, allocations: 348.7 kB / 0.9553 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.9108, allocations: 9.688 kB / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.9109, allocations: 34.56 kB / 0.9554 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.911, allocations: 7.109 kB / 0.9554 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.42e-05/0.911, allocations: 164.1 kB / 0.9555 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.911, allocations: 1.031 kB / 0.9555 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.9111, allocations: 1.531 kB / 0.9556 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.9112, allocations: 57.2 kB / 0.9556 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.9112, allocations: 1 kB / 0.9556 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.9113, allocations: 3.953 kB / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.9113, allocations: 1.25 kB / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.9114, allocations: 47.8 kB / 0.9557 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.9117, allocations: 245.9 kB / 0.9559 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.9118, allocations: 39.34 kB / 0.9559 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.9119, allocations: 8.953 kB / 0.9559 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.9119, allocations: 39.64 kB / 0.956 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9119, allocations: 0 / 0.956 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003296/0.9122, allocations: 106.6 kB / 0.9561 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.9123, allocations: 52.38 kB / 0.9561 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.564e-05/0.9123, allocations: 99.3 kB / 0.9562 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.9123, allocations: 29.64 kB / 0.9562 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.9123, allocations: 80.98 kB / 0.9563 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.9124, allocations: 12.91 kB / 0.9563 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.9124, allocations: 0 / 0.9563 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.9124, allocations: 315.8 kB / 0.9566 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.9125, allocations: 26.64 kB / 0.9567 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.9126, allocations: 21.55 kB / 0.9567 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.887e-05/0.9127, allocations: 23.12 kB / 0.9567 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.9127, allocations: 4.062 kB / 0.9567 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.9129, allocations: 73.36 kB / 0.9568 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.9129, allocations: 4.812 kB / 0.9568 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.9129, allocations: 5.234 kB / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.9129, allocations: 0 / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.506e-05/0.913, allocations: 16.58 kB / 0.9568 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.913, allocations: 1.438 kB / 0.9568 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.9131, allocations: 12.89 kB / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.9131, allocations: 1.344 kB / 0.9568 GB, free: 5.145 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 5.314e-05/0.9132, allocations: 111.2 kB / 0.9569 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.9132, allocations: 1.031 kB / 0.9569 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.9134, allocations: 94.8 kB / 0.957 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9134, allocations: 3.953 kB / 0.957 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9134, allocations: 0.9688 kB / 0.957 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.9134, allocations: 0 / 0.957 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.9136, allocations: 158.8 kB / 0.9572 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.9136, allocations: 4.922 kB / 0.9572 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.9136, allocations: 9.875 kB / 0.9572 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.9137, allocations: 0 / 0.9572 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.515e-06/0.9137, allocations: 5.062 kB / 0.9572 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9137, allocations: 0 / 0.9572 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9137, allocations: 5.469 kB / 0.9572 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.9139, allocations: 186.3 kB / 0.9574 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.9139, allocations: 82.36 kB / 0.9575 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.9139, allocations: 0 / 0.9575 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.914, allocations: 14.73 kB / 0.9575 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.9141, allocations: 9.453 kB / 0.9575 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.9141, allocations: 1.406 kB / 0.9575 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.9141, allocations: 85.78 kB / 0.9576 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9141, allocations: 0 / 0.9576 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002107/0.9143, allocations: 4.719 kB / 0.9576 GB, free: 4.387 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 (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.0003854/0.9147, allocations: 0.7096 MB / 0.9583 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.915, allocations: 55.17 kB / 0.9583 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.915, allocations: 1.375 kB / 0.9583 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.9151, allocations: 25.3 kB / 0.9583 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.9153, allocations: 4.688 kB / 0.9583 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.9157, allocations: 161.9 kB / 0.9585 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.9158, allocations: 0.6782 MB / 0.9592 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.9158, allocations: 1.25 kB / 0.9592 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.9159, allocations: 15.78 kB / 0.9592 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.9159, allocations: 0 / 0.9592 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.9273, allocations: 1.097 MB / 0.9602 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.9275, allocations: 202 kB / 0.9604 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.543, allocations: 0 / 0.9604 GB, free: 2.066 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat does not exist to compare? outputFormat=mat