Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_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.0009681/0.0009681, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00126/0.00126, allocations: 168.7 kB / 15.95 MB, free: 204 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.569/1.569, allocations: 223.3 MB / 240 MB, free: 5.387 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.527/2.527, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005555/0.0005561, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.016, allocations: 142.3 MB / 0.9539 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001466/1.018, allocations: 1.114 MB / 0.9549 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009398/1.019, allocations: 0.5607 MB / 0.9555 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/1.019, allocations: 4 kB / 0.9555 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/1.019, allocations: 1.031 kB / 0.9555 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/1.019, allocations: 4.75 kB / 0.9555 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/1.019, allocations: 83.89 kB / 0.9556 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.84e-05/1.019, allocations: 20.86 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/1.019, allocations: 6.25 kB / 0.9556 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/1.019, allocations: 11.5 kB / 0.9556 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/1.019, allocations: 7.125 kB / 0.9556 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/1.02, allocations: 5.281 kB / 0.9556 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/1.02, allocations: 148.1 kB / 0.9558 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/1.02, allocations: 5 kB / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/1.02, allocations: 26.7 kB / 0.9558 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/1.02, allocations: 74.2 kB / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.02, allocations: 0 / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/1.02, allocations: 0 / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.947e-06/1.02, allocations: 1.25 kB / 0.9559 GB, free: 6.508 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.0003953/1.02, allocations: 373.4 kB / 0.9562 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.02, allocations: 8.531 kB / 0.9562 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/1.021, allocations: 31.34 kB / 0.9563 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/1.021, allocations: 24.38 kB / 0.9563 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/1.021, allocations: 164.1 kB / 0.9564 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/1.021, allocations: 0.875 kB / 0.9564 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/1.021, allocations: 13 kB / 0.9565 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/1.021, allocations: 66.73 kB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.021, allocations: 1.188 kB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/1.021, allocations: 3.953 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/1.021, allocations: 0 / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/1.022, allocations: 65.47 kB / 0.9566 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/1.022, allocations: 275.9 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/1.022, allocations: 69.66 kB / 0.9569 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/1.023, allocations: 43.44 kB / 0.957 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/1.023, allocations: 1.594 kB / 0.957 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/1.023, allocations: 30.56 kB / 0.957 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/1.023, allocations: 4.719 kB / 0.957 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005675/1.023, allocations: 128.7 kB / 0.9571 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/1.023, allocations: 52.84 kB / 0.9572 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/1.023, allocations: 106.8 kB / 0.9573 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/1.023, allocations: 29.83 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/1.023, allocations: 85.23 kB / 0.9574 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/1.023, allocations: 5 kB / 0.9574 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/1.023, allocations: 0 / 0.9574 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.896e-05/1.024, allocations: 312 kB / 0.9577 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/1.024, allocations: 30.03 kB / 0.9577 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/1.024, allocations: 35.88 kB / 0.9577 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/1.024, allocations: 30.84 kB / 0.9578 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.024, allocations: 4.062 kB / 0.9578 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002809/1.024, allocations: 103.2 kB / 0.9579 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.024, allocations: 4.812 kB / 0.9579 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.024, allocations: 4.016 kB / 0.9579 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.024, allocations: 5.438 kB / 0.9579 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/1.024, allocations: 13.8 kB / 0.9579 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/1.024, allocations: 5.219 kB / 0.9579 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.759e-05/1.025, allocations: 11.39 kB / 0.9579 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/1.025, allocations: 1.125 kB / 0.9579 GB, free: 4.539 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.557e-05/1.025, allocations: 111.3 kB / 0.958 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/1.025, allocations: 5.141 kB / 0.958 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/1.025, allocations: 12.3 kB / 0.958 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.025, allocations: 0 / 0.958 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.025, allocations: 1.062 kB / 0.958 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.025, allocations: 0 / 0.958 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/1.025, allocations: 160.4 kB / 0.9582 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.025, allocations: 0 / 0.9582 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/1.025, allocations: 19.39 kB / 0.9582 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.025, allocations: 0 / 0.9582 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/1.025, allocations: 15.94 kB / 0.9582 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.025, allocations: 1.438 kB / 0.9582 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.025, allocations: 3.984 kB / 0.9582 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/1.025, allocations: 189.8 kB / 0.9584 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/1.025, allocations: 88.48 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/1.025, allocations: 3.984 kB / 0.9585 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/1.026, allocations: 19.55 kB / 0.9585 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/1.026, allocations: 3.984 kB / 0.9585 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/1.026, allocations: 5.844 kB / 0.9585 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.375e-05/1.026, allocations: 77.16 kB / 0.9586 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.026, allocations: 1.938 kB / 0.9586 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002537/1.026, allocations: 9.688 kB / 0.9586 GB, free: 3.82 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.0005785/1.027, allocations: 0.7346 MB / 0.9593 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002761/1.027, allocations: 76.91 kB / 0.9594 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.027, allocations: 0 / 0.9594 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/1.027, allocations: 37.88 kB / 0.9594 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/1.027, allocations: 9.016 kB / 0.9595 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/1.028, allocations: 174 kB / 0.9596 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/1.028, allocations: 0.6784 MB / 0.9603 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.844e-05/1.028, allocations: 5.781 kB / 0.9603 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/1.028, allocations: 13.27 kB / 0.9603 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/1.028, allocations: 0 / 0.9603 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/1.04, allocations: 1.397 MB / 0.9617 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/1.04, allocations: 202.2 kB / 0.9619 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.714, allocations: 0 / 0.9619 GB, free: 1.281 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat