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.001013/0.001013, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.001285/0.001285, allocations: 172.7 kB / 15.95 MB, free: 208 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.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.312 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.508/2.508, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9432/0.9436, allocations: 142.3 MB / 0.9539 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001579/0.9452, allocations: 1.001 MB / 0.9548 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009252/0.9462, allocations: 0.5269 MB / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.9462, allocations: 0 / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.9462, allocations: 0 / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.9463, allocations: 13.03 kB / 0.9554 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.9468, allocations: 79.73 kB / 0.9554 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.9469, allocations: 19.5 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.9469, allocations: 1.281 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.947, allocations: 4.531 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.226e-05/0.947, allocations: 15.92 kB / 0.9555 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.947, allocations: 0 / 0.9555 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.9474, allocations: 148.7 kB / 0.9556 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.295e-06/0.9474, allocations: 0 / 0.9556 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.9475, allocations: 27.92 kB / 0.9556 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.9477, allocations: 65.69 kB / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.9477, allocations: 0 / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9477, allocations: 0 / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.9477, allocations: 0 / 0.9557 GB, free: 6.625 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.0003275/0.948, allocations: 352.2 kB / 0.956 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9481, allocations: 13.03 kB / 0.9561 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.9481, allocations: 39.55 kB / 0.9561 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003934/0.9485, allocations: 27.09 kB / 0.9561 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.276e-05/0.9486, allocations: 164.1 kB / 0.9563 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.9486, allocations: 1.188 kB / 0.9563 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.9487, allocations: 1.125 kB / 0.9563 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.9488, allocations: 53.38 kB / 0.9563 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.9488, allocations: 0 / 0.9563 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.9488, allocations: 3.953 kB / 0.9563 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.9488, allocations: 1.156 kB / 0.9563 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.949, allocations: 20.09 kB / 0.9564 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.9491, allocations: 158 kB / 0.9565 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.9492, allocations: 43.69 kB / 0.9565 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.9493, allocations: 19.78 kB / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.9493, allocations: 5.578 kB / 0.9566 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.9494, allocations: 30.56 kB / 0.9566 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.9494, allocations: 4 kB / 0.9566 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002694/0.9496, allocations: 77.42 kB / 0.9567 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.9497, allocations: 51.41 kB / 0.9567 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.423e-05/0.9497, allocations: 101.3 kB / 0.9568 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.9498, allocations: 33.58 kB / 0.9569 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.9498, allocations: 85.58 kB / 0.9569 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.9498, allocations: 9.438 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.9498, allocations: 0 / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.9499, allocations: 310.8 kB / 0.9572 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.9499, allocations: 15.08 kB / 0.9573 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.615e-05/0.95, allocations: 9.734 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.724e-05/0.9501, allocations: 14.39 kB / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.9501, allocations: 5.656 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001594/0.9502, allocations: 54.58 kB / 0.9573 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.9503, allocations: 4.875 kB / 0.9573 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9503, allocations: 0 / 0.9573 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.9503, allocations: 5.031 kB / 0.9573 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.9504, allocations: 9.609 kB / 0.9574 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.9504, allocations: 3.953 kB / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.9505, allocations: 6.188 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.9505, allocations: 1.062 kB / 0.9574 GB, free: 4.867 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.941e-05/0.9505, allocations: 115.1 kB / 0.9575 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.9506, allocations: 5.125 kB / 0.9575 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.9506, allocations: 4.281 kB / 0.9575 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.9506, allocations: 0 / 0.9575 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9506, allocations: 1.156 kB / 0.9575 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.9506, allocations: 7.953 kB / 0.9575 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.336e-05/0.9507, allocations: 153.4 kB / 0.9576 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9507, allocations: 1.062 kB / 0.9576 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.9508, allocations: 9.203 kB / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.9508, allocations: 0 / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.9508, allocations: 1.188 kB / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9508, allocations: 0 / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9508, allocations: 0 / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.951, allocations: 96.7 kB / 0.9577 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.9511, allocations: 78.55 kB / 0.9578 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.9511, allocations: 3.984 kB / 0.9578 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.9512, allocations: 10.91 kB / 0.9578 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.9512, allocations: 0 / 0.9578 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.9512, allocations: 5.344 kB / 0.9578 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.982e-05/0.9512, allocations: 86.11 kB / 0.9579 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9512, allocations: 0 / 0.9579 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002244/0.9515, allocations: 19.36 kB / 0.9579 GB, free: 4.238 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.0004358/0.9519, allocations: 0.6308 MB / 0.9586 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.9521, allocations: 35.44 kB / 0.9586 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9521, allocations: 0 / 0.9586 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.02e-05/0.9521, allocations: 13.17 kB / 0.9586 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.9524, allocations: 7.562 kB / 0.9586 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.9528, allocations: 160.8 kB / 0.9588 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.9529, allocations: 0.6723 MB / 0.9594 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.851e-05/0.953, allocations: 6.906 kB / 0.9594 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.9531, allocations: 14.14 kB / 0.9594 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of SimCode: time 1.122e-06/0.9531, allocations: 4 kB / 0.9594 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01076/0.9638, allocations: 1.357 MB / 0.9608 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.964, allocations: 210.2 kB / 0.961 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.624, allocations: 4 kB / 0.961 GB, free: 1.859 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