Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_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.00108/0.001079, allocations: 86.25 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.001886/0.001887, 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.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.595/2.595, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003065, allocations: 11.94 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6822/0.6826, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001221/0.6838, allocations: 0.9957 MB / 0.9821 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1326/0.8165, allocations: 119.6 MB / 1.099 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.8165, allocations: 0 / 1.099 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.8166, allocations: 0 / 1.099 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.715e-05/0.8166, allocations: 15.86 kB / 1.099 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.8169, allocations: 39.81 kB / 1.099 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.074e-05/0.8169, allocations: 19.86 kB / 1.099 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.817, allocations: 4 kB / 1.099 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.817, allocations: 15.97 kB / 1.099 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.8171, allocations: 7.938 kB / 1.099 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.8171, allocations: 0 / 1.099 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.178e-05/0.8172, allocations: 19.98 kB / 1.099 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.447e-06/0.8172, allocations: 0 / 1.099 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.8172, allocations: 29.7 kB / 1.099 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.362e-05/0.8173, allocations: 18.11 kB / 1.099 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8173, allocations: 0 / 1.099 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8173, allocations: 0 / 1.099 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.8173, allocations: 0 / 1.099 GB, free: 13.17 MB / 0.8575 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.0003167/0.8177, allocations: 335.3 kB / 1.099 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.8177, allocations: 8.031 kB / 1.099 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.8177, allocations: 42.44 kB / 1.099 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.8178, allocations: 4 kB / 1.099 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/0.8179, allocations: 159.1 kB / 1.1 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/0.8179, allocations: 37.69 kB / 1.1 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.818, allocations: 3.953 kB / 1.1 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.8181, allocations: 37.69 kB / 1.1 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.8181, allocations: 0 / 1.1 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.8181, allocations: 0 / 1.1 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.8181, allocations: 0 / 1.1 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.8182, allocations: 19.98 kB / 1.1 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.8183, allocations: 149.7 kB / 1.1 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.97e-05/0.8184, allocations: 34.55 kB / 1.1 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.8185, allocations: 12.94 kB / 1.1 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.8186, allocations: 89.06 kB / 1.1 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.8187, allocations: 46.55 kB / 1.1 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8187, allocations: 0 / 1.1 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000191/0.8189, allocations: 57.53 kB / 1.1 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.8189, allocations: 51.41 kB / 1.1 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.01e-05/0.819, allocations: 98.03 kB / 1.1 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.819, allocations: 25.7 kB / 1.1 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.819, allocations: 84.14 kB / 1.1 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.8191, allocations: 11.91 kB / 1.1 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.8191, allocations: 0 / 1.1 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.8191, allocations: 310.8 kB / 1.101 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.8192, allocations: 11.98 kB / 1.101 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.8192, allocations: 4.188 kB / 1.101 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.8193, allocations: 16 kB / 1.101 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8193, allocations: 0 / 1.101 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001107/0.8194, allocations: 49.69 kB / 1.101 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.8194, allocations: 11.95 kB / 1.101 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8194, allocations: 0 / 1.101 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.8195, allocations: 0 / 1.101 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.8195, allocations: 15.92 kB / 1.101 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.8195, allocations: 0 / 1.101 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.8196, allocations: 3.938 kB / 1.101 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.8196, allocations: 0 / 1.101 GB, free: 11.22 MB / 0.8575 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 6.299e-05/0.8197, allocations: 117.8 kB / 1.101 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.8197, allocations: 0 / 1.101 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.8198, allocations: 61.12 kB / 1.101 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8198, allocations: 4 kB / 1.101 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8198, allocations: 0 / 1.101 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.8199, allocations: 0 / 1.101 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.476e-05/0.8199, allocations: 161.6 kB / 1.101 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.82, allocations: 4 kB / 1.101 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.82, allocations: 7.938 kB / 1.101 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.82, allocations: 0 / 1.101 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.82, allocations: 0 / 1.101 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.82, allocations: 11.95 kB / 1.101 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.82, allocations: 0 / 1.101 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.8202, allocations: 73.11 kB / 1.101 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.8202, allocations: 81.11 kB / 1.101 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.8202, allocations: 3.984 kB / 1.101 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.665e-05/0.8203, allocations: 0 / 1.101 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.8203, allocations: 7.953 kB / 1.101 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.8203, allocations: 4 kB / 1.101 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.8204, allocations: 83.28 kB / 1.101 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8204, allocations: 0 / 1.101 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001889/0.8206, allocations: 8 kB / 1.101 GB, free: 10.5 MB / 0.8575 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.0004052/0.821, allocations: 0.6163 MB / 1.102 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.8211, allocations: 24.31 kB / 1.102 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8211, allocations: 0 / 1.102 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.8212, allocations: 15.92 kB / 1.102 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.8214, allocations: 11.94 kB / 1.102 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.8217, allocations: 186 kB / 1.102 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.822, allocations: 0.6811 MB / 1.103 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.822, allocations: 0 / 1.103 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.822, allocations: 11.44 kB / 1.103 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.822, allocations: 0 / 1.103 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.8326, allocations: 1.158 MB / 1.104 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/0.8329, allocations: 205 kB / 1.104 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.614, allocations: 0 / 1.104 GB, free: 7.656 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat