Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_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.00128/0.00128, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001582/0.001582, allocations: 191 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 286.8 kB / 290.4 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9088/0.9088, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 94.39 kB / 0.5948 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1668, allocations: 86.97 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002721/0.1696, allocations: 1.546 MB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4346/0.6042, allocations: 130.1 MB / 0.8083 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.6043, allocations: 0 / 0.8083 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.6044, allocations: 3.938 kB / 0.8083 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.361e-05/0.6045, allocations: 12.42 kB / 0.8083 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.605, allocations: 63.86 kB / 0.8084 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.611e-05/0.6051, allocations: 50.83 kB / 0.8084 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.6052, allocations: 13.95 kB / 0.8084 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.6052, allocations: 22.39 kB / 0.8084 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.6053, allocations: 26.62 kB / 0.8085 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.6053, allocations: 15.44 kB / 0.8085 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.6054, allocations: 13.34 kB / 0.8085 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.6054, allocations: 11.88 kB / 0.8085 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.6055, allocations: 21.64 kB / 0.8085 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.6056, allocations: 60.28 kB / 0.8086 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6056, allocations: 0 / 0.8086 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6056, allocations: 0 / 0.8086 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.6056, allocations: 3.031 kB / 0.8086 GB, free: 1.91 MB / 0.5606 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.000559/0.6062, allocations: 371.9 kB / 0.8089 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.6062, allocations: 8.375 kB / 0.809 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.6063, allocations: 35.59 kB / 0.809 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.6063, allocations: 7.625 kB / 0.809 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.6064, allocations: 177.7 kB / 0.8092 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.6064, allocations: 9.125 kB / 0.8092 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.6065, allocations: 3.031 kB / 0.8092 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.6067, allocations: 75.23 kB / 0.8092 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.6067, allocations: 7.938 kB / 0.8093 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.6067, allocations: 3.25 kB / 0.8093 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6067, allocations: 3.281 kB / 0.8093 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.607, allocations: 64.33 kB / 0.8093 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.6073, allocations: 286.6 kB / 0.8096 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.6075, allocations: 58.36 kB / 0.8097 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.6077, allocations: 37.72 kB / 0.8097 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.6079, allocations: 88.64 kB / 0.8098 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.6079, allocations: 35.66 kB / 0.8098 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.6079, allocations: 0 / 0.8098 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000515/0.6084, allocations: 134.8 kB / 0.8099 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.6085, allocations: 54.91 kB / 0.81 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.697e-05/0.6086, allocations: 119.9 kB / 0.8101 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.6086, allocations: 25.7 kB / 0.8101 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.6086, allocations: 92.61 kB / 0.8102 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.6087, allocations: 8.906 kB / 0.8102 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.6087, allocations: 17.89 kB / 0.8102 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6088, allocations: 317.3 kB / 0.8105 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.609, allocations: 29.41 kB / 0.8106 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.6091, allocations: 35.92 kB / 0.8106 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.6093, allocations: 69.25 kB / 0.8107 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6094, allocations: 0 / 0.8107 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002886/0.6097, allocations: 104.4 kB / 0.8108 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6097, allocations: 6.75 kB / 0.8108 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6097, allocations: 0 / 0.8108 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.6097, allocations: 3.328 kB / 0.8108 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.6098, allocations: 17.92 kB / 0.8108 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.6098, allocations: 0 / 0.8108 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.6099, allocations: 17.95 kB / 0.8108 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.6099, allocations: 4.812 kB / 0.8108 GB, free: 16.09 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.61, allocations: 114.8 kB / 0.8109 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.61, allocations: 6.25 kB / 0.8109 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.6104, allocations: 106.6 kB / 0.811 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6104, allocations: 3.938 kB / 0.811 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6104, allocations: 4.453 kB / 0.811 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6104, allocations: 7.984 kB / 0.8111 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.6105, allocations: 176.7 kB / 0.8112 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6106, allocations: 0 / 0.8112 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.733e-05/0.6106, allocations: 15.39 kB / 0.8112 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6107, allocations: 0 / 0.8112 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.6107, allocations: 1.469 kB / 0.8112 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6107, allocations: 0 / 0.8112 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6107, allocations: 6.438 kB / 0.8112 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.611, allocations: 203.4 kB / 0.8114 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.611, allocations: 83.42 kB / 0.8115 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.6111, allocations: 0 / 0.8115 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/0.6112, allocations: 11.31 kB / 0.8115 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.6112, allocations: 3.688 kB / 0.8115 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.6112, allocations: 4.625 kB / 0.8115 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.286e-05/0.6113, allocations: 97.44 kB / 0.8116 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6113, allocations: 2.062 kB / 0.8116 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000216/0.6115, allocations: 11.09 kB / 0.8116 GB, free: 15.41 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005724/0.6121, allocations: 0.7468 MB / 0.8124 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.6124, allocations: 68.45 kB / 0.8124 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6124, allocations: 2.375 kB / 0.8124 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.6125, allocations: 38.09 kB / 0.8125 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.6128, allocations: 12.48 kB / 0.8125 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.6145, allocations: 1.423 MB / 0.8139 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.6147, allocations: 0.6865 MB / 0.8145 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.6148, allocations: 3.438 kB / 0.8145 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.6148, allocations: 24.3 kB / 0.8146 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.6148, allocations: 0 / 0.8146 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.6262, allocations: 1.868 MB / 0.8164 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.6264, allocations: 220.3 kB / 0.8166 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.369, allocations: 0 / 0.8166 GB, free: 12.33 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)