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.001491/0.001491, 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.001879/0.001879, 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.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.328 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.407/2.407, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.00037, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.898/0.8984, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001352/0.8998, allocations: 0.9819 MB / 0.9545 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1437/1.044, allocations: 111.9 MB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/1.044, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/1.044, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/1.044, allocations: 11.92 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/1.044, allocations: 47.78 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.754e-05/1.044, allocations: 15.98 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.445e-05/1.044, allocations: 7.984 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/1.044, allocations: 8 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/1.044, allocations: 15.92 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/1.044, allocations: 0 / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-05/1.045, allocations: 11.98 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/1.045, allocations: 4 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/1.045, allocations: 29.7 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.998e-05/1.045, allocations: 14.23 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/1.045, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.226e-06/1.045, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.92e-06/1.045, allocations: 4 kB / 1.064 GB, free: 14.79 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.0004333/1.045, allocations: 340.2 kB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.045, allocations: 8.031 kB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/1.045, allocations: 30.56 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/1.045, allocations: 4 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/1.045, allocations: 171 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-05/1.046, allocations: 29.7 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/1.046, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/1.046, allocations: 49.62 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/1.046, allocations: 4 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/1.046, allocations: 3.953 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.046, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.881e-05/1.046, allocations: 15.92 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/1.046, allocations: 153.7 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/1.046, allocations: 30.52 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/1.046, allocations: 93.19 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.046, allocations: 38.56 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/1.046, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002476/1.047, allocations: 57.67 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/1.047, allocations: 55.36 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/1.047, allocations: 97.84 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/1.047, allocations: 29.7 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/1.047, allocations: 84.14 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/1.047, allocations: 7.812 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/1.047, allocations: 0 / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.047, allocations: 318.8 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.333e-05/1.047, allocations: 11.98 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/1.047, allocations: 4 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/1.047, allocations: 7.984 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.047, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001151/1.047, allocations: 53.69 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.047, allocations: 4 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.047, allocations: 0 / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.047, allocations: 0.5156 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.125e-05/1.047, allocations: 4 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.047, allocations: 3.953 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/1.047, allocations: 11.92 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/1.047, allocations: 4 kB / 1.066 GB, free: 12.85 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.186e-05/1.047, allocations: 117.8 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-06/1.047, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/1.048, allocations: 57.16 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.048, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.048, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/1.048, allocations: 7.953 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/1.048, allocations: 157.7 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.048, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/1.048, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/1.048, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/1.048, allocations: 3.938 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.048, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.048, allocations: 3.938 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/1.048, allocations: 88.91 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/1.048, allocations: 81.11 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/1.048, allocations: 0 / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/1.048, allocations: 3.984 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/1.048, allocations: 4 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/1.048, allocations: 8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.163e-05/1.048, allocations: 75.28 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/1.048, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001895/1.048, allocations: 12 kB / 1.066 GB, free: 12.12 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.0004473/1.049, allocations: 0.628 MB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001299/1.049, allocations: 19.98 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.049, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.494e-05/1.049, allocations: 8 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/1.049, allocations: 7.984 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/1.05, allocations: 178.1 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/1.05, allocations: 0.6809 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.885e-05/1.05, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/1.05, allocations: 11.44 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/1.05, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/1.061, allocations: 1.136 MB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/1.061, allocations: 191.3 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.666, allocations: 0 / 1.069 GB, free: 9.273 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