Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_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.001285/0.001285, allocations: 100.1 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.00153/0.00153, allocations: 177.3 kB / 15.95 MB, free: 216 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.519/1.519, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.453/2.453, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.779/0.7793, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001555/0.7809, allocations: 1.198 MB / 0.9547 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1522/0.9331, allocations: 112 MB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.9333, allocations: 0 / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.9333, allocations: 7.938 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.9334, allocations: 15.95 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.9338, allocations: 47.86 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.9339, allocations: 35.94 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.934, allocations: 12 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.245e-05/0.934, allocations: 19.92 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.9341, allocations: 23.91 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.9341, allocations: 0 / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.9342, allocations: 15.94 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.9342, allocations: 7.984 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.9343, allocations: 33.7 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.9344, allocations: 34.19 kB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.9344, allocations: 0 / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.276e-06/0.9344, allocations: 0 / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.9344, allocations: 7.938 kB / 1.064 GB, free: 14.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000493/0.9349, allocations: 391 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.9349, allocations: 8.031 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.935, allocations: 34.56 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.935, allocations: 4 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.9351, allocations: 171 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.9351, allocations: 0 / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.9352, allocations: 8 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.9354, allocations: 77.66 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.9354, allocations: 4 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.9355, allocations: 7.938 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.9355, allocations: 4 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.9358, allocations: 91.86 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.9362, allocations: 284.8 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.9364, allocations: 70.48 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.9366, allocations: 93.19 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.9366, allocations: 34.5 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.9366, allocations: 0 / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005683/0.9372, allocations: 169.5 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.9373, allocations: 51.41 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.973e-05/0.9374, allocations: 113.8 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.9374, allocations: 25.7 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.9374, allocations: 92.08 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.9375, allocations: 7.891 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.9375, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9376, allocations: 318.8 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.9378, allocations: 39.97 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.9379, allocations: 47.89 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.9381, allocations: 39.97 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9381, allocations: 4 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000324/0.9384, allocations: 129.5 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9385, allocations: 4 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9385, allocations: 7.938 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.9385, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.9386, allocations: 19.98 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.9386, allocations: 0 / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.182e-05/0.9387, allocations: 19.98 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.9387, allocations: 0 / 1.067 GB, free: 11.88 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.076e-05/0.9388, allocations: 113.8 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.9388, allocations: 11.84 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.9392, allocations: 137.4 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9392, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9393, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.9393, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.9394, allocations: 173.6 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.9395, allocations: 8 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.343e-05/0.9396, allocations: 15.98 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.9396, allocations: 4 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.9396, allocations: 3.953 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.9396, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9396, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.94, allocations: 227.7 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.94, allocations: 81.16 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.9401, allocations: 7.984 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.9402, allocations: 19.94 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.9402, allocations: 3.984 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.9403, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.9403, allocations: 99.27 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9403, allocations: 4 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002358/0.9406, allocations: 16 kB / 1.068 GB, free: 10.86 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.0006959/0.9413, allocations: 0.7532 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.9416, allocations: 91.86 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9416, allocations: 3.938 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.9418, allocations: 51.95 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.9421, allocations: 18.12 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.9433, allocations: 0.5763 MB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.9436, allocations: 0.6848 MB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.148e-05/0.9436, allocations: 7.984 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.9437, allocations: 15.44 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of SimCode: time 1.923e-06/0.9437, allocations: 0 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.9567, allocations: 1.684 MB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.9569, allocations: 195.9 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.729, allocations: 0 / 1.071 GB, free: 6.77 MB / 0.8262 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat