Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.0007597/0.0007596, allocations: 91.69 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.0007986/0.0007988, 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.551/1.551, allocations: 223.3 MB / 240 MB, free: 5.363 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.637/2.637, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.039, allocations: 142.3 MB / 0.9538 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001851/1.041, allocations: 1.352 MB / 0.9552 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006851/1.041, allocations: 373.5 kB / 0.9555 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/1.041, allocations: 4.875 kB / 0.9555 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/1.042, allocations: 9.031 kB / 0.9555 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/1.042, allocations: 19.16 kB / 0.9555 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/1.042, allocations: 106.2 kB / 0.9556 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/1.042, allocations: 102 kB / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/1.042, allocations: 24.23 kB / 0.9558 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.725e-05/1.042, allocations: 33.25 kB / 0.9558 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/1.043, allocations: 32.16 kB / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/1.043, allocations: 2.906 kB / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/1.043, allocations: 59.14 kB / 0.9559 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/1.043, allocations: 14.8 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/1.043, allocations: 40.42 kB / 0.9559 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/1.043, allocations: 93.03 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.043, allocations: 4 kB / 0.956 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.487e-06/1.043, allocations: 0 / 0.956 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.56e-06/1.043, allocations: 0 / 0.956 GB, free: 6.438 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007305/1.044, allocations: 398.8 kB / 0.9564 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.21e-05/1.044, allocations: 12.97 kB / 0.9564 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.11e-05/1.044, allocations: 45.23 kB / 0.9565 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/1.044, allocations: 32.55 kB / 0.9565 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/1.044, allocations: 192.1 kB / 0.9567 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-05/1.044, allocations: 39.62 kB / 0.9567 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/1.044, allocations: 4.438 kB / 0.9567 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/1.045, allocations: 116.9 kB / 0.9568 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.045, allocations: 5.172 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/1.045, allocations: 4 kB / 0.9568 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/1.045, allocations: 2.188 kB / 0.9568 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/1.045, allocations: 85.53 kB / 0.9569 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/1.046, allocations: 397.6 kB / 0.9573 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/1.046, allocations: 135.6 kB / 0.9574 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/1.047, allocations: 46.25 kB / 0.9575 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/1.047, allocations: 7.984 kB / 0.9575 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/1.047, allocations: 36.84 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/1.047, allocations: 0 / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005231/1.047, allocations: 148.4 kB / 0.9577 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/1.047, allocations: 52.41 kB / 0.9577 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/1.047, allocations: 136.2 kB / 0.9578 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.047, allocations: 25.7 kB / 0.9579 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/1.048, allocations: 107.4 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/1.048, allocations: 19.62 kB / 0.958 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/1.048, allocations: 0 / 0.958 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.048, allocations: 324.7 kB / 0.9583 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/1.048, allocations: 37.11 kB / 0.9583 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/1.048, allocations: 52.52 kB / 0.9584 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/1.048, allocations: 46.62 kB / 0.9584 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.048, allocations: 0 / 0.9584 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003108/1.048, allocations: 116.5 kB / 0.9585 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/1.048, allocations: 5.719 kB / 0.9585 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/1.048, allocations: 4.578 kB / 0.9586 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/1.048, allocations: 1.469 kB / 0.9586 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/1.049, allocations: 23.95 kB / 0.9586 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.049, allocations: 1.562 kB / 0.9586 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.926e-05/1.049, allocations: 18.77 kB / 0.9586 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/1.049, allocations: 1.875 kB / 0.9586 GB, free: 4.18 MB / 0.7169 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 () * Number of clocked 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 0.0001232/1.049, allocations: 121.5 kB / 0.9587 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/1.049, allocations: 8.062 kB / 0.9587 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/1.049, allocations: 16.41 kB / 0.9587 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.049, allocations: 0 / 0.9587 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.049, allocations: 0 / 0.9587 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.049, allocations: 1.906 kB / 0.9587 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/1.049, allocations: 206.9 kB / 0.9589 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.049, allocations: 3.938 kB / 0.9589 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/1.049, allocations: 18.42 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/1.049, allocations: 5.094 kB / 0.959 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/1.049, allocations: 0.7812 kB / 0.959 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.049, allocations: 7.938 kB / 0.959 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.049, allocations: 1.688 kB / 0.959 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/1.05, allocations: 220.2 kB / 0.9592 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/1.05, allocations: 86.67 kB / 0.9593 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/1.05, allocations: 5.375 kB / 0.9593 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/1.05, allocations: 15.89 kB / 0.9593 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/1.05, allocations: 5.672 kB / 0.9593 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/1.05, allocations: 3.156 kB / 0.9593 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.143e-05/1.05, allocations: 108 kB / 0.9594 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.05, allocations: 4 kB / 0.9594 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000269/1.05, allocations: 20.44 kB / 0.9594 GB, free: 3.391 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 (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.0004697/1.051, allocations: 0.7431 MB / 0.9601 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002359/1.051, allocations: 86.75 kB / 0.9602 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.051, allocations: 0 / 0.9602 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/1.051, allocations: 47.53 kB / 0.9603 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/1.052, allocations: 22.98 kB / 0.9603 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/1.053, allocations: 0.6617 MB / 0.9609 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/1.053, allocations: 0.6992 MB / 0.9616 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.485e-05/1.053, allocations: 11.02 kB / 0.9616 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/1.053, allocations: 31.17 kB / 0.9617 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/1.053, allocations: 0 / 0.9617 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/1.067, allocations: 2.381 MB / 0.964 GB, free: 264 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/1.067, allocations: 205.3 kB / 0.9642 GB, free: 16 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.813, allocations: 4 kB / 0.9642 GB, free: 12 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat does not exist to compare? outputFormat=mat