Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.0008234/0.0008284, 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.0008669/0.0008671, 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.556/1.556, allocations: 223.3 MB / 240 MB, free: 5.43 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.551/2.551, allocations: 390.4 MB / 0.6655 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004752, allocations: 16 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8986/0.8991, allocations: 142.3 MB / 0.9538 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001336/0.9005, allocations: 0.9954 MB / 0.9548 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.159/1.06, allocations: 119.6 MB / 1.072 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/1.06, allocations: 0 / 1.072 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/1.06, allocations: 0 / 1.072 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/1.06, allocations: 7.922 kB / 1.072 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/1.06, allocations: 47.8 kB / 1.072 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.202e-05/1.06, allocations: 19.88 kB / 1.072 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.023e-05/1.06, allocations: 7.922 kB / 1.072 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.632e-05/1.06, allocations: 11.98 kB / 1.072 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/1.061, allocations: 11.94 kB / 1.072 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/1.061, allocations: 7.938 kB / 1.072 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.999e-05/1.061, allocations: 11.98 kB / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/1.061, allocations: 4 kB / 1.072 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/1.061, allocations: 29.7 kB / 1.072 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.66e-05/1.061, allocations: 14.23 kB / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/1.061, allocations: 0 / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.174e-06/1.061, allocations: 0 / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.629e-06/1.061, allocations: 0 / 1.072 GB, free: 7.016 MB / 0.8262 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.0004762/1.061, allocations: 339.1 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.061, allocations: 12.03 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/1.061, allocations: 30.56 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/1.061, allocations: 4 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/1.062, allocations: 163 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/1.062, allocations: 33.69 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/1.062, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/1.062, allocations: 41.69 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/1.062, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/1.062, allocations: 7.953 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/1.062, allocations: 7.984 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/1.062, allocations: 11.98 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/1.062, allocations: 149.7 kB / 1.073 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.637e-05/1.062, allocations: 34.55 kB / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/1.062, allocations: 16.94 kB / 1.073 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/1.062, allocations: 89.11 kB / 1.073 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.062, allocations: 38.55 kB / 1.073 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/1.062, allocations: 4 kB / 1.073 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002279/1.063, allocations: 53.64 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.063, allocations: 51.41 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/1.063, allocations: 101.8 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/1.063, allocations: 29.64 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/1.063, allocations: 84.14 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/1.063, allocations: 15.73 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/1.063, allocations: 8 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.063, allocations: 310.8 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/1.063, allocations: 7.984 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/1.063, allocations: 4 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.375e-05/1.063, allocations: 11.98 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.063, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001071/1.063, allocations: 53.69 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.063, allocations: 4 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.063, allocations: 0 / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/1.063, allocations: 0 / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/1.063, allocations: 11.92 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/1.063, allocations: 7.953 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/1.064, allocations: 3.938 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/1.064, allocations: 3.938 kB / 1.073 GB, free: 5.059 MB / 0.8262 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 (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 prepare postOptimizeDAE: time 8.295e-05/1.064, allocations: 109.8 kB / 1.074 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-06/1.064, allocations: 4 kB / 1.074 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/1.064, allocations: 57.17 kB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.064, allocations: 0 / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.064, allocations: 4 kB / 1.074 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.064, allocations: 3.953 kB / 1.074 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/1.064, allocations: 154.2 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.064, allocations: 0 / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/1.064, allocations: 4 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.064, allocations: 0 / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.064, allocations: 4 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.064, allocations: 0 / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.064, allocations: 7.938 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/1.064, allocations: 80.95 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/1.064, allocations: 85.11 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/1.064, allocations: 3.984 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.405e-05/1.064, allocations: 0 / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/1.064, allocations: 8 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/1.064, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.738e-05/1.064, allocations: 75.28 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.793e-06/1.064, allocations: 0 / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001868/1.065, allocations: 23.92 kB / 1.074 GB, free: 4.34 MB / 0.8262 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.0004569/1.065, allocations: 0.6216 MB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001266/1.065, allocations: 19.98 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.065, allocations: 4 kB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/1.065, allocations: 7.984 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/1.065, allocations: 8 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/1.066, allocations: 178.1 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/1.066, allocations: 0.677 MB / 1.076 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.865e-05/1.066, allocations: 0 / 1.076 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/1.066, allocations: 11.44 kB / 1.076 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/1.066, allocations: 4 kB / 1.076 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/1.077, allocations: 1.139 MB / 1.077 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/1.077, allocations: 196.7 kB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.769, allocations: 0 / 1.077 GB, free: 1.5 MB / 0.8262 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat