Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_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.0008372/0.0008372, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005211/0.005211, allocations: 170.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.53/1.53, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004763, allocations: 18.44 kB / 0.6744 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1821, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001043/0.1831, allocations: 1.005 MB / 0.789 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4423/0.6254, allocations: 128.5 MB / 0.9145 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.6255, allocations: 1.094 kB / 0.9145 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.6255, allocations: 0 / 0.9145 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.6256, allocations: 11 kB / 0.9145 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.6259, allocations: 48.36 kB / 0.9145 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.6259, allocations: 22.83 kB / 0.9145 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.626, allocations: 1.625 kB / 0.9145 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.626, allocations: 15.16 kB / 0.9146 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.6261, allocations: 9.609 kB / 0.9146 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.6261, allocations: 0.9062 kB / 0.9146 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.33e-05/0.6262, allocations: 15.97 kB / 0.9146 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.6262, allocations: 2.844 kB / 0.9146 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.6264, allocations: 33.25 kB / 0.9146 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.88e-05/0.6265, allocations: 30.64 kB / 0.9146 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6266, allocations: 2.891 kB / 0.9146 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6266, allocations: 0 / 0.9146 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6266, allocations: 0 / 0.9146 GB, free: 21.5 MB / 0.7325 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.0003445/0.6269, allocations: 327.7 kB / 0.915 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.627, allocations: 9.125 kB / 0.915 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.627, allocations: 32.97 kB / 0.915 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.627, allocations: 6.781 kB / 0.915 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.922e-05/0.6271, allocations: 165.4 kB / 0.9152 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.568e-05/0.6272, allocations: 36.64 kB / 0.9152 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.6272, allocations: 1.781 kB / 0.9152 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.6274, allocations: 41.81 kB / 0.9152 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.6274, allocations: 1.25 kB / 0.9152 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.6274, allocations: 0 / 0.9152 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.6274, allocations: 0 / 0.9152 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.6275, allocations: 17.31 kB / 0.9153 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.6276, allocations: 156.6 kB / 0.9154 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.695e-05/0.6277, allocations: 35.25 kB / 0.9154 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.6277, allocations: 20.17 kB / 0.9155 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.6279, allocations: 88.88 kB / 0.9155 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.6279, allocations: 36.5 kB / 0.9156 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6279, allocations: 0 / 0.9156 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000211/0.6281, allocations: 61.97 kB / 0.9156 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.6282, allocations: 52.47 kB / 0.9157 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.635e-05/0.6282, allocations: 98.7 kB / 0.9158 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.6283, allocations: 26.2 kB / 0.9158 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.6283, allocations: 81.7 kB / 0.9159 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.6283, allocations: 14.69 kB / 0.9159 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.6283, allocations: 11.19 kB / 0.9159 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.6284, allocations: 319.3 kB / 0.9162 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/0.6285, allocations: 4.312 kB / 0.9162 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.6285, allocations: 11.23 kB / 0.9162 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.845e-05/0.6286, allocations: 28.73 kB / 0.9163 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6286, allocations: 0.5625 kB / 0.9163 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000118/0.6287, allocations: 46.92 kB / 0.9163 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6287, allocations: 10.8 kB / 0.9163 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.6288, allocations: 0 / 0.9163 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.6288, allocations: 4.938 kB / 0.9163 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.6288, allocations: 12.16 kB / 0.9163 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.6288, allocations: 0 / 0.9163 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.6289, allocations: 1.438 kB / 0.9163 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.6289, allocations: 1.781 kB / 0.9163 GB, free: 19.77 MB / 0.7325 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 6.509e-05/0.629, allocations: 109.2 kB / 0.9164 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.629, allocations: 8.641 kB / 0.9164 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.6291, allocations: 62.84 kB / 0.9165 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6291, allocations: 0 / 0.9165 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6292, allocations: 0.9062 kB / 0.9165 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.6292, allocations: 0 / 0.9165 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.36e-05/0.6293, allocations: 153.3 kB / 0.9167 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6293, allocations: 0 / 0.9167 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.6293, allocations: 5.5 kB / 0.9167 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6293, allocations: 3.938 kB / 0.9167 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.6293, allocations: 2.797 kB / 0.9167 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6293, allocations: 0.75 kB / 0.9167 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6293, allocations: 4.469 kB / 0.9167 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.6295, allocations: 77.28 kB / 0.9167 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.6295, allocations: 90.06 kB / 0.9168 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.6296, allocations: 5.031 kB / 0.9168 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.762e-05/0.6296, allocations: 2.625 kB / 0.9168 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.6296, allocations: 4.719 kB / 0.9168 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.6296, allocations: 0.875 kB / 0.9168 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.6297, allocations: 83.19 kB / 0.9169 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6297, allocations: 0 / 0.9169 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001815/0.6299, allocations: 9.625 kB / 0.9169 GB, free: 19.16 MB / 0.7325 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.0004089/0.6303, allocations: 0.6245 MB / 0.9175 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.6304, allocations: 23.33 kB / 0.9176 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6304, allocations: 0 / 0.9176 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.6305, allocations: 14.83 kB / 0.9176 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.6307, allocations: 11.2 kB / 0.9176 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.631, allocations: 174.4 kB / 0.9178 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.6312, allocations: 0.6798 MB / 0.9184 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.6313, allocations: 1.578 kB / 0.9184 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.6313, allocations: 12 kB / 0.9184 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.6313, allocations: 0 / 0.9184 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.961/2.592, allocations: 1.147 MB / 0.9195 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/2.592, allocations: 219 kB / 0.9198 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/4.45, allocations: 4 kB / 0.9198 GB, free: 17.3 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)